These commands and queries are associated with the IEEE 488.2 standard.
The following table describes the Standard Event Register.
|
|
|
|
---|---|---|---|
0 |
Operation Complete |
1 |
All commands prior to and including *OPC have been executed. |
1 |
|
2 |
|
2 |
Query Error |
4 |
The instrument tried to read the output buffer but it was empty. Or, a new command line was received before a previous query has been read. Or, both the input and output buffers are full. |
3 |
Device-Specific Error |
8 |
A device-specific error, including a self-test error or calibration error, occurred (an error in the -300 range or any positive error has been generated). |
4 |
Execution Error |
16 |
An execution error occurred (an error in the -200 range has been generated). |
5 |
Command Error |
32 |
A command syntax error occurred (an error in the -100 range has been generated). |
6 |
|
64 |
|
7 |
Power On |
128 |
Power has been cycled since the last time the event register was read or cleared. |
The following table describes the Status Byte Register.
|
|
|
|
---|---|---|---|
0 |
|
1 |
|
1 |
|
2 |
|
2 |
|
4 |
One or more errors have been stored in the |
3 |
Questionable Data Summary |
8 |
One or more bits are set in the Questionable Data Register (bits must be enabled, see STATus:QUEStionable:ENABle). |
4 |
Message Available |
16 |
Data is available in the instrument's output buffer. |
5 |
Standard Event Summary |
32 |
One or more bits are set in the Standard Event Register (bits must be enabled, see *ESE). |
6 |
Master Summary |
64 |
One or more bits are set in the Status Byte Register and may generate a Request for Service (RQS). Bits must be enabled using *SRE. |
7 |
Standard Operation Summary |
128 |
One or more bits are set in the Standard Operation Register (bits must be enabled, see STATus:OPERation:ENABle). |
Calibration Query. Peforms autocalibration (autocal) and returns the result.
|
|
---|---|
|
+0 (no error) +1 (cal error) |
Perform autocalibration, return result: *CAL? |
Clear Status Command. Clears the event registers in all register groups. Also clears the error queue.
|
|
---|---|
|
|
Clear event register bits and error queue: |
Event Status Enable Command and Query. Enables bits in the enable register for the Standard Event Register group. The selected bits are then reported to bit 5 of the Status Byte Register.
|
|
|
---|---|
|
+48 |
|
Standard Event Status Register Query. Queries the event register for the Standard Event Register group.
|
|
---|---|
|
+24 |
Read the event register (bits 3 and 4 are set): |
Identification Query. Returns the instrument’s identification string.
|
|
---|---|
|
|
Return the instrument's identification string: |
Returns an ASCII string of all of the commands required to put the instrument into its current state.
|
|
---|---|
|
An ASCII string of SCPI commands, delimited with semicolons (";") between commands. |
Return the learn string: |
Sets "Operation Complete" (bit 0) in the Standard Event register at the completion of the current operation.
|
|
---|---|
|
|
|
Returns 1 to the output buffer after all pending commands complete. Other commands cannot be executed until this command completes.
|
|
---|---|
|
1 |
Configure 100 DC voltage measurements and return "1" when the measurements complete: |
Returns a string identifying any installed options.
|
|
---|---|
|
|
Return the installed options: |
The *PSC command does not affect the clearing of the condition or event registers, just the enable registers. |
|
|
---|---|
|
0 or 1 |
Disable power-on clearing of affected registers: |
Stores the current instrument state to, or recalls the instrument state from, the state file STATE_<n>.sta in the root folder of the internal flash file system, where <n> is the number specified.
|
|
---|---|
|
|
Store the instrument state to the state file STATE_1.sta in the root folder of the internal flash file system: |
Resets instrument to factory default state. This is similar to SYSTem:PRESet.
|
|
---|---|
|
|
Reset the instrument: |
Service Request Enable. Enables bits in the enable register for the Status Byte Register group.
|
|
---|---|
|
+24 |
Enable bits 3 and 4 in the enable register: |
Read Status Byte Query. Queries the condition register for the Status Byte Register group and returns a decimal value equal to the binary-weighted sum of all bits set in the register.
|
|
---|---|
|
+40 |
Read condition register (with bits 3 and 5 set): |
Triggers the instrument if TRIGger:SOURce BUS is selected.
|
|
---|---|
|
|
|
Performs a basic self-test of the instrument and returns a pass/fail indication.
|
|
---|---|
|
|
Perform self-test: |
Configures the instrument's output buffer to wait for all pending operations to complete before executing any additional commands over the interface.
|
|
---|---|
|
|
Wait until all pending operations complete: |