RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
270
innovators for industry
Control
Command
get_jump_table
Function
retrieves the board’s currently stored jump delay table and copies the 1024 corresponding
unsigned 16-bit values to the supplied PC address.
Call
ErrorCode = get_jump_table( Addr )
Parameters
Addr
PC Address of a 2048-byte area of PC main memory
Return
Error code as unsigned 32-bit value:
0
no error
11
driver error
Notes
• Do not call this command during processing of a list.
• The data format is “1024 16-bit values“ representing the delay values for a piecewise
linear interpolation at the sampling points (=jump lengths) N · 1024 with 0
N <
1024. The values can thus also be directly generated or modified by the user.
RTC
®
4
RTC
®
5 new command
Version info
Available beginning with version DLL 525
Reference
,
Ctrl Command get_laser_pin_in
Function
returns the current status of the two digital inputs at the laser connector
Call
LaserPinIn = get_laser_pin_in()
Result
unsigned 32-bit value:
Bit #0 (LSB)
DIGITAL IN1
Bit #1
DIGITAL IN2
Bits #2-31
reserved
Comments
• Both inputs can be used as desired by the user.
RTC
®
4
RTC
®
5 new command
References
Ctrl Command get_last_error
Function
returns an error code listing any errors which occurred during execution of the most recent
command
Call
LastError = get_last_error()
Result
error code as an unsigned 32-bit value
If multiple errors occurred simultaneously, then multiple bits will be set.
The meanings of bit numbers, error types and error constants is identical to those for the
command
.
Comments
• For error handling see
• The commands
get_last_error
and
n_get_last_error
are also available without explicit
access rights to a specific RTC
®
5 board.
• The board-specific error variables
LastError
and
AccError
(see
) are neither generated nor altered by
get_last_error
.
RTC
®
4
RTC
®
5 new command
References