beautypg.com

Sdd - save data file – SIGMA LBA-708 User Manual

Page 194

background image

Operator’s Manual

LBA-PC

194

number of frames in the frame buffer. A value of 0 specifies all the frames in the frame buffer.

The number of frames is forced to 1 when the start frame is -1, or 0. If no number of frames is

• 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 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.

The file name is optional and is a string describing the drive, directory, file name, and extension.

If no drive or directory is specified then the current Windows drive or directory is used. In

Windows, the current drive and directory can be changed at any time by another program, some

internal operation, or some user action. This is probably not what you want. We very strongly
recommend that you always specify the drive and directory. If the extension is not specified then

.LB3/4/5/7 is used. If the file name is not specified then the current value from the last previous

restore File | Restore Config, LDC command, File | Load, File | Save, LDD command, or SDD

command is used.
Note that the backslash character, “\”, has special meaning known as an escape sequence. To

specify a single backslash you must send two. For example, “c:\\spiricon\\lba300pc\\data.lb3” is
interpreted by the LBA-PC as “c:\spiricon\lba300pc\data.lb3”. Although other escape sequences

are recognized there is no reason to ever use them with the LBA-PC.
The current default values for the start record, number of records, and file name can be retrieved

with the LDD? command.
The following example describes how to read all the records from a file into the frame buffer

starting at frame 7.

Host sends

:LDD
FileName=c:\\spiricon\\lba300pc\\tophat.lb3;
StartRecord=1;
NumberRecords=0;
StartFrame=7(^END)

10.6.2.4 SDD - Save Data File

To write a data file on the LBA-PC computer, you must send the SDD command with optional

parameters identifying the frame number, start frame, number of frames, and file name. This

command is identical to selecting the
File | Save As… menu item, entering the file name, start frame, and number of frames, and

clicking OK.
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 number of frames is optional and is numbered from 0 to n, where ‘n’ is the maximum

This manual is related to the following products: