Go to the documentation of this file.
30 #ifndef __QUDIS_PROTOCOL_H
31 #define __QUDIS_PROTOCOL_H
44 #define QDS_NUM_AXES 3
50 #define QDS_NUM_CHANNELS 16
56 #define QDS_TCP_PORT 2101
62 #define QDS_HWTYPE_0_1 0x8300
63 #define QDS_HWTYPE_1_0 0x8500
76 #define ID_QDS_NUM_AXES_AV 0x0753
81 #define ID_QDS_CAP_ABSOLUTE_AV 0x0751
86 #define ID_QDS_CAP_PILOT_AV 0x0757
104 #define ID_GET_HW_TYPE 0x0167
110 #define ID_GET_HW_ID 0x0168
116 #define ID_SET_HW_ID 0x016A
123 #define ID_PROGRAM_ID 0x016F
139 #define ID_QDS_TCTL_STATE 0x0776
142 #define QDS_TCTL_OK 0
143 #define QDS_TCTL_FAIL 1
144 #define QDS_TCTL_INI 2
157 #define ID_QDS_PILOT_ON 0x07EA
175 #define ID_ASYNC_EN 0x0145
183 #define ID_DATA_EN 0x0146
203 #define ID_CHAN_TRIGGER 0x0030
204 #define ID_CHAN_SOURCE 0x0031
205 #define ID_QDS_DSIZE_EVEN 0x0696
212 #define ID_CHAN_BASE 0x0F00
215 #define QDS_TRG_DISABLED 0
216 #define QDS_TRG_POS 2
217 #define QDS_TRG_SWEEP 5
221 #define QDS_SRC_INTERFRG_1 9
222 #define QDS_SRC_INTERFRG_2 10
223 #define QDS_SRC_INTERFRG_3 11
224 #define QDS_SRC_REL_1 1
225 #define QDS_SRC_REL_2 3
226 #define QDS_SRC_REL_3 5
227 #define QDS_SRC_ABS_1 2
228 #define QDS_SRC_ABS_2 4
229 #define QDS_SRC_ABS_3 6
246 #define ID_QDS_POS_AVG 0x0771
256 #define ID_QDS_RESET 0x060D
264 #define ID_QDS_INDEX_RESET 0x0770
282 #define ID_QDS_TRG_ENABLE 0x07EB
289 #define ID_QDS_TRG_RESET 0x07EC
297 #define ID_QDS_TRG_AUTORESET 0x07ED