EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Page 444

Scanlab RTC6 PCIe Board
1004 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
444
innovators for industry
Example
(C/C++)
Querying diverse data types (first scan head connector, x axis):
a) XY2-100 status word, PowerOK status
UINT statusword, powerOK;
control_command (1, 1, 0x0500); // only applicable for iDRIVE systems
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 (1, 1, 0x051E);
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 (1, 1, 0x051F);
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 (1, 1, 0x0501);
real_position = get_value(1);
RTC4RTC6 Basically unchanged functionality. However:
Even in RTC4 Compatibility Mode, all returned values are in the RTC6 20-bit range, but are
transferred to the PC as 32-bit values (see above).
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_values, set_trigger, get_waveform, get_head_status
Ctrl Command get_value

Table of Contents