Ctrl Command load_fly_2d_table
Function
Loads a 2D table from an ASCII text file for a set_fly_2d-Processing-on-the-fly application
with 2D encoder compensation for xy positioning stages, see
Compensation for xy Positioning Stages", page
NoOfDataPoints = load_fly_2d_table( Name, No )
Call
Name
Parameters
No
Result
A positive error code in case of an error. The negative number of found data points in case
of success. As a signed 32-bit value.
< 0
0
1
2
3
4
5
8
11
13
• No = <No> loads table number 1;
Comments
No = <No> + 65.536 loads table number 2.
• The text file's data format requirements for reference points of the 2D encoder
compensation table are described in
following rules apply:", page
exceed the range
–524,288...+524,287 (otherwise precision may be lost). During runtime, the current
encoder values (including reference values) must not exceed the largest values
specified in the table. Otherwise, clipping occurs.
• load_fly_2d_table overwrites a previously loaded table for 2D encoder compensation.
• If Name = NULL, then a 0-correction table for 2D encoder compensation is loaded and
the table is marked as invalid (see init_fly_2d).
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
Name of the text file or NULL. The text file may contain one or more tables.
As a pointer to a \0-terminated ANSI string.
Determines which table in the text file is to be loaded.
No corresponds to the extension <No> of
the desired table.
As an unsigned 32-bit value.
Success. The absolute value of the return value is equal to the number of valid
data points found in the table. Invalid entries are ignored, see
2D compensation tables, the following rules apply:", page
For Name =
NULL
(see comments).
No valid data points found (though Table No found).
Out of Memory (not enough Windows system memory).
File not found.
DSP
memory error.
BUSY list execution status
INTERNAL-BUSY list execution
return code RTC6_BUSY).
(get_last_error
Board is locked by another user program
return code RTC6_ACCESS_DENIED).
(get_last_error
return code RTC6_SEND_ERROR),
PCI error
(get_last_error
verify error
(get_last_error
The specified table number could not be found in the file.
250. The largest of these reference points should not
Section "2D Encoder
249.
[Fly2DTable<No>]
error, board is
BUSY list execution status
status, no download
return code RTC6_VERIFY_ERROR).
Section "For the 2D compensation tables, the
at the beginning of
Section "For the
250.
or
501
Need help?
Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?