FRM FrameNumber=10; #532768(DAB)…(DAB)
10.6.2.2 FRM - Upload Data Frame
To upload an
The frame parameter is optional and is numbered from
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
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 |
|