LBA-PC sends
FRM
FrameNumber=10;
#532768(DAB)…(DAB)
10.6.2.2 FRM - Upload Data Frame
To upload an LBA-PC data frame, you must send the FRM command with optional parameters
that identify the frame number and whether to replace an existing configuration.
The 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 uploaded 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
is 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 uploaded 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 the frame buffer.
• If the replace parameter is false and the pixel scale is different, then the pixel scale is not
changed and the file is stored in the frame buffer.
• If the replace parameter is true and the energy calibration of the uploaded file is
different than the current configuration, then the energy calibration is set to the value in
the file and the file is stored in the frame buffer.
If the replace parameter is false and the energy calibration is different, then the energy
calibration is not changed and the file is stored in the frame buffer.
NOTE: You must send exactly the binary data received in a previous FRM? command or exactly the binary data
read from a .LB3/4/5 file written by LBA-PC.
The following example describes how the host uploads a data file to frame 33. Because the
replace parameter is not specified the file will be stored only if the camera and camera resolution
match the current configuration. The pixel scale will not be changed. The file contains 124,928
bytes.
Operator’s Manual LBA-PC
192
Host sends
FRM