Sigma LBA-710, LBA-714PC, LBA-300, LBA-712, LBA-708, LBA-500PC, LBA-700 FRM Upload Data Frame, Frm

Models: LBA-500PC LBA-708 LBA-710 LBA-700 LBA-712 LBA-714PC LBA-400 LBA-300

1 281
Download 281 pages 14.04 Kb
Page 192
Image 192

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.

Host sends

FRM

Operator’s Manual

192

LBA-PC

Page 192
Image 192
Sigma LBA-710, LBA-714PC, LBA-300, LBA-712, LBA-708, LBA-500PC, LBA-700, LBA-400 manual FRM Upload Data Frame, Frm