Changeset 271 for tools/FAD/ddd_for_fad
- Timestamp:
- 07/29/10 17:04:36 (14 years ago)
- Location:
- tools/FAD/ddd_for_fad
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/FAD/ddd_for_fad/Functions.cpp
r248 r271 117 117 printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0])); 118 118 } 119 120 else if (strncmp (Buffer, "sclkon\n", 6) == 0) 121 { 122 CMD_Buffer[0] = htons (CMD_SCLK_ON); 123 printf ("# SCLK ENABLED ->\n"); 124 printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0])); 125 } 126 else if (strncmp (Buffer, "sclkoff\n", 7) == 0) 127 { 128 CMD_Buffer[0] = htons (CMD_SCLK_OFF); 129 printf ("# SCLK DISABLED ->\n"); 130 printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0])); 131 } 132 119 133 120 134 // Set ROI value -
tools/FAD/ddd_for_fad/SocketClient.h
r248 r271 23 23 #define CMD_DWRITE_RUN 0x0800 // DWRITE possibly HIGH 24 24 #define CMD_DWRITE_STOP 0x0900 // DWRITE always LOW 25 26 #define CMD_SCLK_ON 0x1000 27 #define CMD_SCLK_OFF 0x1100 28 25 29 #define CMD_Trigger_C 0xB000 // continous trigger 26 30 #define CMD_Trigger_S 0x2000 // stop continous trigger
Note:
See TracChangeset
for help on using the changeset viewer.