Ignore:
Timestamp:
08/30/10 11:27:07 (14 years ago)
Author:
neise
Message:
new commands supported by 'simple_daq':
	variable phase shift commands: ps, psup, psdn, psreset
	SRCLK enable/disable: srclkon, srclkoff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/FAD/simple_daq/simple_daq.h

    r261 r9905  
    2929#define CMD_SCLK_OFF 0x1100
    3030
     31#define CMD_PS_DIRINC 0x1200
     32#define CMD_PS_DIRDEC 0x1300
     33#define CMD_PS_DO 0x1400
     34#define CMD_PS_RESET 0x1700
     35
     36
     37#define CMD_SRCLK_ON 0x1500
     38#define CMD_SRCLK_OFF 0x1600
     39
    3140#define CMD_Trigger_C 0xB000    // continous trigger
    3241#define CMD_Trigger_S 0x2000    // stop continous trigger
     
    5665};
    5766
    58 void cmd_send (char* Buffer, int Socket); // Send commands to socket
     67void cmd_send (const char* Buffer, int Socket); // Send commands to socket
    5968void int_handler (int sig); // Handle signal SIGINT (CTRL-C)
    6069void exit_program (int exit_status); // Cleanup and exit
Note: See TracChangeset for help on using the changeset viewer.