EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Load_Varpolydelay

Scanlab RTC6 PCIe Board
1004 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...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
516
innovators for industry
Ctrl Command load_varpolydelay
Function Loads a table with data points from an ASCII text file for the scaling function of the user-
defined “Variable Mark Delay”, see Section ”User-defined “Variable Polygon Delays””,
page 153.
Call
NoOfDataPoints = load_varpolydelay( Name, No )
Parameters
Name
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.
No
Table in the text file which is to be loaded.
The parameter corresponds to the extension
<No>
of
[VarPolyTable<No>]
at the
beginning of the desired table.
As an unsigned 32-bit value.
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.
Value Description
–1…– 50 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 Section ”User-
defined “Variable Polygon Delays””, page 153.
–1024 For
Name
= NULL: the table initialized according to 1 cos() has been
internally loaded (as with program start), see Figure 40.
1 No valid data points found (though Table
No
found).
3 File not found.
4 DSP memory error.
5 BUSY list execution status error, board is BUSY list execution status or
INTERNAL-BUSY list execution status, no download (get_last_error
return code
RTC6_BUSY
).
8 The board is locked by another user program
(get_last_error return code
RTC6_ACCESS_DENIED
).
11 PCI error (get_last_error return code
RTC6_SEND_ERROR
),
verify error (get_last_error return code
RTC6_VERIFY_ERROR
).
13 The specified table number could not been found in the file.
Comments The format requirements for text file’s table entries with data points for the user-
defined “Variable Mark Delay” are described in Section ”User-defined “Variable
Polygon Delays””, page 153. When loading the table, the RTC6 determines suitable
values for the entire range of angles by linear interpolation.
load_varpolydelay overwrites any previously loaded table for the “Variable
Mark Delay”.
For
Name
= NULL (as during initialization by load_program_file), the internal (default)
table for the “Variable Mark Delay” (1 cos(), see Figure 40) is loaded.

Table of Contents