Load_Position_Control - Scanlab RTC6 PCIe Board Installation And Operation Manual

Real time control of scan systems and lasers rtc6 software package v1.16.0
Table of Contents

Advertisement

Ctrl Command load_position_control
Function
Loads a table with data points from an ASCII text file and determines – by linear
interpolation – the scaling function for position-dependent laser control
(radial correction, see
NoOfDataPoints = load_position_control( 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.
Value
–1...– 50
–256
1
3
4
5
8
11
13
Comments
• The format requirements for the text file's table entries with data points for
position-dependent laser control are described in
Function", page
for the entire range of control values.
• load_position_control overwrites any previously loaded scaling
function for position-dependent laser control.
• For Name =
Scale(Position)=1.0 is loaded for the complete position range so that no position-
dependent correction takes place.
• Position-dependent laser control only takes effect during subsequent
[*]mark[*]
set_auto_laser_control.
Position-dependent laser control is deactivated by
or by loading Scale(Position)=1.0. See also
Control", page
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
Section "Position-Dependent Laser Control", page
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. The parameter
corresponds to the extension <No> of
beginning of the desired table.
As an unsigned 32-bit value.
Description
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 also
"Notes on Loading a Scaling Function", page
For Name =
NULL
(see also comments).
No valid data points found (though Table No found).
File not found.
DSP
memory error.
BUSY list execution status
INTERNAL-BUSY list execution
return code RTC6_BUSY).
Board is locked by another user program
RTC6_ACCESS_DENIED).
return code RTC6_SEND_ERROR),
PCI error
(get_last_error
verify error
(get_last_error
The specified table number could not been found in the file.
199. When loading the table, the RTC6 determines suitable values
NULL
(as during initialization by load_program_file), the scaling function
Commands or
Arc Commands
199.
[PositionCtrlTable<No>]
199.
error, board is
BUSY list execution status
status, no download
(get_last_error
(get_last_error
return code RTC6_VERIFY_ERROR).
Section "Notes on Loading a Scaling
if it has been initialized by
set_auto_laser_control
Section "Position-Dependent Laser
199).
at the
Section
or
return code
(Ctrl = 0)
507

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?

Related Products for Scanlab RTC6 PCIe Board

This manual is also suitable for:

Rtc6 ethernet board

Table of Contents

Save PDF