Keysight E5260/E5270 Programming Guide, Edition 4 4- 57
Command Reference
Command Reference
ERS?
The ERS? command returns the status of the digital I/O port (16 paths).
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)
Example
Statements
OUTPUT @E5270;"ERS?"
ENTER @E5270;A
PRINT "Port Status=";A
For example, 255 (0000000011111111) is returned when the port 0 to 7 have been
set to the TTL low level and the port 8 to 15 have been set to the TTL high level.
See Also “ERM”