EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - stop_trigger; store_encoder

Scanlab RTC 5 PC Interface Board
622 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...
RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
524
innovators for industry
Ctrl Command stop_trigger
Function resets (to
Busy
= 0) a measurement session’s status that can be queried via
measurement_status.
Call stop_trigger()
Comments This command is only needed if a measurement session was started via set_trigger or
set_trigger4, but not subsequently terminated via set_trigger(
Period
= 0) or
set_trigger4(
Period
= 0). Here, you can reset the measurement session’s status even
when no list is active (see set_trigger comments).
The command is ignored (get_last_error return code:
RTC5_BUSY
) if the addressed
board’s BUSY status is currently set (list is being processed or has been halted via
pause_list) or the board’s INTERNAL-BUSY status is currently set. In contrast, the
command is executed when a list has been paused via set_wait (PAUSED status set).
RTC
®
4
RTC
®
5new command
Version info Available beginning with version DLL 517, OUT 516, RBF 512
References measurement_status, set_trigger, set_trigger4
Undelayed
Short
List Command
store_encoder
Function stores the current counts of the two RTC
®
5 encoder counters in a buffer on the RTC
®
5.
Call
store_encoder( Pos )
Parameters
Pos
Choice of buffer position as an unsigned 32-bit value:
Bit#0 = 0: The counter values will be stored in buffer position 0
Bit#0 = 1: The counter values will be stored in buffer position 1
Comments store_encoder can be used, for instance, to determine the exact number of encoder
increments occurring within a specific list-processing period. Here, you could begin the
command list by storing the counts in buffer position 0 via
store_encoder(0)
. At the
end of the command list, you could store the counts to buffer position 1 via
store_encoder(1)
and subsequently retrieve the stored values via read_encoder.
The used buffer is reserved exclusively for storing encoder values.
Also see "Processing-on-the-fly (Optional)", page 177 and "Synchronization via Encoder
Signals", page 215.
RTC
®
4
RTC
®
5 new command
Version info Available beginning with version DLL 520, OUT 519
References read_encoder, get_encoder, set_fly_x, set_fly_y, set_fly_rot, wait_for_encoder

Table of Contents

Related product manuals