Using the Computer Interface
Computer Interface Command Set
4
4-39
Table 4-8. Command and Query Reference (cont)
NEXT? Next Scan’s Values
The NEXT? query returns data values for the next scan to complete. If a
scan is in progress when the NEXT? query is processed, the data values
returned are from the scan in progress. If a scan is not presently in
progress, the NEXT? query waits for data to become available. When
scanning is occurring, use the NEXT? query to return data from each scan.
NEXT? returns comma-separated information for the date and
time at the start of the next measurement scan, the values for channels
measured, the state of the Digital I/O lines, and the totalize count.
The time and date are returned in the following order: Hours (0-23), Minutes
(0-59), Seconds (0-59), Month (1-12), Date (1-31), Year (0-99)
Measurement data is returned as a list of scientific notation values. For an
overload (OL), "1E+9" is returned. If an open thermocouple is detected,
"9E+9" is returned.
Alarm output and digital I/O values are returned as integer values. The
Totalizer value is returned as a scientific notation value.
Channels defined as OFF are not included. If all channels are defined as
OFF, an Execution Error is generated.
PRINT Data Logging Enable/Disable (RS-232 only)
Turn data logging on or off.
PRINT <state>
<state> = 1 (on) 0 (off)
An Execution Error is generated if any other value is used or if this
command is used with the IEEE-488 interface.
PRINT? Data Logging Query (RS-232 only)
Return the status of data logging. Returns 0 (OFF) or 1 (ON).
An Execution Error is generated if this query is used with the IEEE-488
interface.
PRINT_TYPE Set Data Logging Type (RS-232 only)
Enable internal Memory Storage or Autoprint and set the type of scan data
logged.
PRINT_TYPE <destination>,<type>
<destination> = 0 (PRINT SCANS)
1 (STORE SCANS)
2 (BOTH)
<type> = 0 (ALL)
1 (channel in ALARM)
2 (channel had alarm TRANSition)
An Execution Error is generated if any other value is used, if this command
is used with a 2620A and you attempt to select STORE SCANS or BOTH.
The Hydra Data Logger can hold 2047 scans, with each scan containing 21
channels of data. Refer to "List Button Functions" in Section 3 for an
example of some printed scans.