Sigma LBA-714PC Digital Camera User Manual


 
FRM? - Download data file (remote to host)
FRM - Upload data file (host to remote)
LDD - File | Load… data file (loaded @ remote)
SDD - File | Save As… data file (saved @ remote)
The FRM command is used to download and upload LBA-PC data files. The transmitted data is in an
internal binary form that is identical to a .LB3/4/5 data file. The format of this data is not
documented. To use this command you must save and restore exactly what was received from the
LBA-PC. Data downloaded with the FRM? command should be written to a file on disk with the
extension .LB3/4/5. This data file can then be read by LBA-PC using the File | Load… dialog box. To
upload a data file, 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 LBA-PC may also be configured to send a FRM? response each time a new frame of data is
acquired (see A.5.4.6 FRM).
The LDD and SDD commands are used to tell the LBA-PC to read and write data files on the remote
computer, (the PC where the LBA-PC application is running).
10.6.2.1 FRM? - Download Data Frame
To download an LBA-PC data frame, you must send the FRM? command with an optional
parameter that identifies which frame you are requesting to transfer.
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 LBA-PC responds by repeating FRM followed by a parameter specifying the frame number.
Next comes the definite length specification that has the form:
#nd..d(DAB)…(DAB)
Where:
# = ASCII pound character (0x23)
n = ASCII decimal digit ranging from 1 to 9. This value specifies the
number of digit elements, d..d, that follow.
d..d = ASCII decimal integer that specifies the number of data words that
follow.
(DAB) = 8-bit data byte.
The following example describes how the host controller requests and receives a data file
containing frame 10. The data file contains 32,768 bytes.
Host Sends
Operator’s Manual LBA-PC
Doc. No. 10654-001, Rev 4.10
191
:FRM?
FrameNumber=10(^END)