Load_Auto_Laser_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_auto_laser_control
Function
Loads a table with data points from an ASCII text file. Determines – by linear interpolation
– the nonlinearity curve (see
page
204) for "Automatic Laser Control" (except
Chapter 7.4.9 ""Automatic Laser Control"", page
Call
NoOfDataPoints = load_auto_laser_control( Name, No )
Parameters
Name
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
–1024
1
3
4
5
8
11
13
Comments
• The format requirements for the text file's table entries with data points for the
nonlinearity curve are described in
Curve", page
entire range of percent values.
• load_auto_laser_control overwrites any previously loaded nonlinearity curve.
• For Name =
Scale(Percent)=1.0 is loaded for the complete percent range (no nonlinearity).
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
Section "Loading and Determining the Nonlinearity Curve",
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
"Loading and Determining the Nonlinearity Curve", 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.
204. When loading the table, the RTC6 determines suitable values for the
NULL
(as during initialization by load_program_file), the function
Vector-Defined Laser
197.
[AutoLaserCtrlTable<No>]
error, board has been
BUSY list execution status
status, no download
(get_last_error
return code RTC6_VERIFY_ERROR).
Section "Loading and Determining the Nonlinearity
Control), see
at the
Section
204.
or
(get_last_error
return code
491

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