Changeset 256 for tools/FAD/simple_daq/simple_daq.h
- Timestamp:
- 07/22/10 08:07:51 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/FAD/simple_daq/simple_daq.h
r248 r256 13 13 #define MAX_COM_SIZE 32000 14 14 #define IP_ADDR_LENGTH 16 15 //#define IP_ADDR_DEFAULT "192.33.99.225"16 #define IP_ADDR_DEFAULT "129.217.160.119"17 15 18 16 #define FIRST_DAQPORT 5000 17 #define SOCKETS_PER_FAD 8 19 18 20 19 // Commands for FAD … … 43 42 #define MAX_DACVAL 65535 44 43 44 #define CONFIG_FILE_PATH "config.txt" 45 46 class SimpleDaqConfiguration { 47 public: 48 char FADIPAddress[IP_ADDR_LENGTH]; 49 char outfilepath[200]; 50 char outfilename[50]; 51 char outfileext[10]; 52 }; 53 45 54 void cmd_send (char* Buffer, int Socket); // Send commands to socket 46 55 void int_handler (int sig); // Handle signal SIGINT (CTRL-C) 47 56 void exit_program (int exit_status); // Cleanup and exit 57 SimpleDaqConfiguration *getConfig (char *path, int verbose = 0); 48 58 49 59 #endif /*SOCKETCLIENT_H_*/
Note:
See TracChangeset
for help on using the changeset viewer.