Scanlab RTC 4 Installation And Operation Manual page 117

Interface board for real time control of scan heads and lasers
Table of Contents

Advertisement

List Command set_trigger
Function
starts measurement and storage of the specified signals
Parameters
sample-
period
signal1,
signal2
Integration
Pascal:
C:
Basic:
Comments
• The
set_trigger
channel to be measured and stored onto the RTC
command can be used to transfer the measured values to the PC for evaluation.
• The current status of a measurement session can be queried via the
measurement_status
• Once started, a measurement session can only be canceled by again calling the
set_trigger
• The type of scan system being used determines which status signals will be generated
and returned via the status channels. Specific information can be found in your scan
system's operating manual.
• For scan systems with only one status channel, the status signals are only readable if
signal1,2 = 1 or signal1,2 = 4.
• Coordinate transformations defined by set_matrix, set_matrix_list,
set_offset_list
output values.
• The SampleAX_Corr..SampleBZ_Corr output values are the (digital) output values actu-
ally transmitted from the RTC
while taking into account the SampleX, SampleY and SampleZ output values as well as
the selected correction file.
References
get_waveform, measurement_status,
®
RTC
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
measurement period [(1..65535) · 10 µs] as an unsigned 16-bit value
The following signals (each represented by an unsigned 16-bit value) are
specifiable for measurement channels 1 and 2:
= 0:
LASERON signal (1 = laser on, 0 = laser off)
= 1:
StatusAX (X-axis status channel of head A)
= 2:
StatusAY (Y-axis status channel of head A)
= 3:
StatusAZ (Z-axis status channel of head A)
= 4:
StatusBX (X-axis status channel of head B)
= 5:
StatusBY (Y-axis status channel of head B)
= 6:
StatusBZ (Z-axis status channel of head B)
= 7:
SampleX (X-axis cartesian output value)
= 8:
SampleY (Y-axis cartesian output value)
= 9:
SampleZ (Z-axis cartesian output value)
= 10:
SampleAX_Corr (X-axis output value of head A)
= 11:
SampleAY_Corr (Y-axis output value of head A)
= 12:
SampleAZ_Corr (Z-axis output value of head A)
= 13:
SampleBX_Corr (X-axis output value of head B)
= 14:
SampleBY_Corr (Y-axis output value of head B)
= 15:
SampleBZ_Corr (Z-axis output value of head B)
procedure set_trigger(sampleperiod, signal1, signal2: word);
void set_trigger(unsigned short sampleperiod, unsigned short signal1,
unsigned short signal2);
sub set_trigger(ByVal sampleperiod As Integer, ByVal signal1 As
Integer, ByVal signal2 As Integer)
command will always cause exactly 32768 values per measurement
command.
command. Previously measured values are thereby lost.
are already reflected in the SampleX, SampleY and SampleZ cartesian
®
4 to the scan system. The RTC
®
4. Afterward, the
®
4 computes these values
control_command
get_waveform
set_offset
or
117

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC 4 and is the answer not in the manual?

Table of Contents

Save PDF