Ctrl Command get_value
Example
Querying diverse data types (first scan head connector, x axis):
(C/C++)
a)
XY2-100 status
UINT statusword, powerOK;
control_command
statusword = (get_value(1) & 0x000FFFF0) >> 4;
powerOK = (statusword & 0x00000080);
b) Only with iDRIVE systems: Serial number
UINT SN_low, SN_high, SN;
// the serial number's lower 16 bits are selected for return
// and queried by get_value:
control_command
SN_low = (get_value(1) & 0x000FFFF0)>>4;
// the serial number's upper 16 bits are selected for return
// and queried by get_value:
control_command
SN_high = (get_value(1) & 0x000FFFF0)>>4;
//Complete serial number:
SN = (SN_high << 16) + SN_low;
c) Only with iDRIVE systems: Actual position
long real_position;
control_command
real_position = get_value(1);
RTC4RTC6
Basically unchanged functionality. However:
Even in
transferred to the PC as 32-bit values (see above).
RTC5RTC6
Unchanged functionality.
Version info
Available as of DLL 600, OUT 600, RBF 600.
get_values, set_trigger, get_waveform,
References
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
word, PowerOK status
(1, 1, 0x0500); // only applicable for iDRIVE systems
(1, 1, 0x051E);
(1, 1, 0x051F);
(1, 1, 0x0501);
RTC4 Compatibility
Mode, all returned values are in the RTC6 20-bit range, but are
get_head_status
444
Need help?
Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?