
Agilent B1500A/B1505A Programming Guide, Edition 11 4-101
Command Reference
ERS?
1: Returns the error code only.
Query response error_code,message<CR/LF^EOI>
or
error_code<CR/LF^EOI>
message contains an error message similar to the EMG? response and a custom
message containing additional information such as the slot number. They are
separated by a semicolon (;). For example, if the error 305 occurs on the slot 1, this
command returns the following response.
305,"Excess current in HPSMU.; SLOT1"
If no error occurred, this command returns 0,"No Error."
See Chapter 5, “Error Messages” for the error codes and error messages.
Remarks This command uses the error queue which can store 30 error codes. This error queue
is cleared by executing the ERR? command.
Example OUTPUT @B1500;"ERRX?"
ENTER @B1500;A,B$
OUTPUT @B1500;"ERRX? 1"
ENTER @B1500;A
See Also “EMG?”, “ERR?”
ERS?
The ERS? command returns the status of the digital I/O port (16 paths).
Execution
Conditions
The digital I/O control mode must be the direct control (ERMOD 0).
Syntax ERS?
Query Response pattern<CR/LF^EOI>
pattern returns the decimal value of the port status.
The status of each port is designated by 0 or 1 that has the following meaning:
0: TTL high level (approx. 2.4 V)
1: TTL low level (approx. 0.8 V)
Komentarze do niniejszej Instrukcji