Ctrl Command write_abc_to_file_20b
Function
Writes the ABC values directly into a specified correction file on the PC.
For a focus length value l in the RTC6 20-bit range [–524,288...+524,287].
ErrorNo = write_abc_to_file_20b( Name, A, B, C )
Call
Name
Parameters
A
B
C
ErrorNo
Result
0
1
2
4
8
16
32
3
12
Comments
• write_abc_to_file_20b is available even without explicit access rights to a specific
RTC6 board.
• write_abc_to_file_20b is not available as a multi-board command.
• The board-specific error variables
Handling", page
• ABC values are not outputted with error code
• write_abc_to_file_20b( A, B, C ) is synonymous with
write_abc_to_file(
RTC4RTC6
New command.
RTC5RTC6
New command.
Version info
Available as of DLL 631, OUT 632.
read_abc_from_file_20b
References
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
Name of the correction file.
As a pointer to a \0-terminated ANSI string.
Coefficient A of the parabolic function z
calculating the Z output values
(focus length value l in the RTC6 20-bit range [–524,288...+524,287]).
As a 64-bit IEEE floating point value.
Allowed value range: see load_z_table_20b.
Like A (analogously).
Like A (analogously).
Error code.
As an unsigned 32-bit value.
No error.
A exceeded the maximum allowed value.
A undercut the minimum allowed value.
B exceeded the maximum allowed value.
B undercut the minimum allowed value.
C exceeded the maximum allowed value.
C undercut the minimum allowed value.
File-open error (empty string, file not found etc.).
File error (checksum could not be determined, file corrupt).
LastError
130) are neither generated nor altered by write_abc_to_file_20b.
A
× 1/16, B,
C
= A + Bl +Cl
out
AccError
and
(see
0
or
12.
× 16 ) .
2
which is used for
Chapter 6.8 "Error
853
Need help?
Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?