RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
335
innovators for industry
Control
Command
load_jump_table_offset
Function
loads a value table with jump delay data points from an ASCII text file (or alternatively
performs automatic determination on the attached scan system) and uses linear
interpolation to create the internal jump delay table for 2D jumps executable in jump
mode.
Call
NoOfDataPoints = load_jump_table_offset( Name, No, PosAck, Offset, MinDelay,
MaxDelay, ListPos )
Parameters
Name
Name of the text file as a pointer to a null-terminated ANSI string
(the text file can contain one or several tables) or NULL for automatic
determination.
No
This parameter (unsigned 32-bit value) specifies
• If
Name
= Filename, which table of the text file should be loaded (the
parameter corresponds to the suffix
<No>
of the statement
[JumpTable<No>]
at the beginning of the desired table)
• If
Name
= 0, which scan system (or which scan head connector) should be
used for automatic determination
(allowable values: [1, 2]).
PosAck
Position tolerance value in [bits] as an unsigned 32-bit number
(only relevant for automatic determination)
Offset
Offset in [10
µ
s] as a signed 32-bit number, which will be added to all
automatically determined delay values
(only relevant for automatic determination)
MinDelay
Minimum jump delay in [10
µ
s] as an unsigned 32-bit value
(only relevant for automatic determination)
MaxDelay
Maximum jump delay in [10
µ
s] as an unsigned 32-bit value
(only relevant for automatic determination)
ListPos
List position (in the area of list 1 or 2) for six list commands that can be
overwritten (only relevant for automatic determination)
Return
Error code as an unsigned 32-bit value:
– 1 to – 50
Success for
Name
= filename:
The absolute value of the return value equals the number of valid data points found in the table.
Invalid entry values are ignored (also see
).
–1024
Success for
Name
= 0: Table was automatically determined
1
No valid data points found (but Table
No
found)
3
File not found
4
Verify error: DSP memory error
5
Busy error, board is BUSY or INTERNAL BUSY, no download (
return code
RTC5_BUSY
)
8
Access error: board reserved for another application (
return code:
RTC5_ACCESS_DENIED)
10
only if
Name
= 0: Param error: HeadNo or ListPos invalid
11
PCI error during download (
return code
RTC5_SEND_ERROR
)
13
The supplied table number couldn’t be found in the file