Computer Operations
Computer Interface Commands and Operation
4
4-33
Table 4-5. Command and Query Reference (cont)
FILE_OPEN Data File Open
Opens a data file for measurement logging.
FILE_OPEN <file>
<file> = DAT00.HYD, DAT01.HYD, DAT99.HYD
All scans are appended to this file until a file close is performed. The
special name ’*’ opens the next available file in sequence. If no higher
numbered file can be found, the algorithm "wraps" to zero and keeps
searching. If no more file names are available, an Execution Error is
generated. If the given file already exists, the file name does not match the
convention, or scanning is already active, an Execution Error is generated.
Logging is turned on and the card destination activated if this command is
successfully executed.
Example: FILE_OPEN DAT31.HYD [Open data file DAT31.HYD for data
logging.]
FILE_OPEN? Data File Open Query.
Returns the name of the data file to be used for logging, or an Execution
Error if no file is open.
Example: FILE_OPEN? returns DAT05.HYD [The file DAT05.HYD
is open for data logging.]
FILE_REMOVE File Remove
Remove the given file from the memory card.
FILE_REMOVE
<file>
<file> = DAT00.HYD, DAT01.HYD, ... DAT99.HYD
or-
<file> = SET00.HYD, SET01.HYD, ... SET99.HYD
Removing the currently open data file will cause any scan data stored in
internal memory waiting to be written to the file to be lost.
An Execution Error is generated if the file does not exist, the card is write-
protected, the file name is invalid, card is not installed or the card is not
formatted. The file name convention is not checked.
Example: FILE_REMOVE DAT00.HYD [Remove the DAT00.HYD file.]