Sigma LBA-300 Digital Camera User Manual


 
Operator’s Manual LBA-PC
Doc. No. 10654-001, Rev 4.10
193
the frame buffer.
FrameNumber=33;
#6124928(DAB)…(DAB)(^END)
The following example describes how the host uploads a data file to frame 25. The replace
parameter is specified so the camera or camera resolution will be changed if the settings in the
file are different than the current configuration. The pixel scale and energy calibration will also
be changed to the file value if different than the current configuration. The file contains 124,928
bytes.
Host sends
FRM
FrameNumber=25;
Replace=1;
#6124928(DAB)…(DAB)(^END)
10.6.2.3 LDD - Read Data File
To read a data file stored on the LBA-PC computer, you must send the LDD command with
optional parameters identifying the frame number, start record, number of records, start frame,
file name, and whether to replace an existing configuration. This command is identical to
selecting the File | Load… menu item, entering the file name, start record, number of records,
and start frame, and clicking OK.
The start record is optional and is numbered from 1 to n. ‘n’ is the number of records in the file.
The number of records is optional and is numbered from 0 to n, where ‘n’ is the number of
records in the file. A value of 0 specifies all of the records from the start record to the end of the
file. The number of records is forced to 1 when the start frame is -1 or 0.
If the start record or number of records is not specified then the value from the last File |
Restore Config, LDC command, File | Load, File | Save, LDD command, or SDD command is used.
The start frame parameter is optional and is numbered from -1 to n. ‘n’ is the number of frames
in the frame buffer. Frame -1 is the Gain Frame, 0 is the Reference frame, and frames 1 to n are
data captured in the frame buffer. If you do not send the frame number parameter then the
current frame is used.
The replace parameter is optional and is a boolean with a value of 0 or 1 (i.e., false or true). The
default for the replace parameter is 0 (i.e., false).
If the replace parameter is true and the camera type or camera resolution of the file
being read is different than the current configuration, then the camera type, resolution,
or both are changed to match the file and the file is stored in the frame buffer. Note
that the frame buffer is cleared when the camera type or camera resolution are changed.
If the replace parameter is false and the camera type or camera resolution does not
match the current LBA settings, then an execution error is reported and the file is
discarded.
If the replace parameter is true and the pixel scale of the file is different than the current
configuration, then the pixel scale is set to the value in the file and the file is stored in