User`s manual

62 Agilent E1330B Digital I/O Module Command Reference
Chapter 5
:MONitor:PORT?
DISPlay:MONitor:PORT? [<MAX|MIN|DEF>], with no parameter, returns a
decimal number indicating the port being monitored. If
AUTO was selected as the
port parameter in the
DISP:MON:PORT AUTO command, the query returns a -1.
If DEF is specified, the query always returns -1. If MAX is specified, the query
returns the maximum port (always 3). If MIN is specified, the query returns the
minimum port (always
0).
Parameters
Comments Related Commands: DISPlay:MONitor:PORT, DISPlay:MONitor[:STATe]
*RST Condition: Not applicable.
Example DISP:MON:PORT? identifies the port being monitored.
:MONitor[:STATe]
DISPlay:MONitor[:STATe] <mode> turns the monitor mode ON or OFF.
Parameters
Comments DISPlay:MONitor ON or DISPlay:MONitor 1 enables the terminal display of
port parameters. The parameters are updated to the terminal following each
new command accessing a port.
DISPlay:MONitor OFF or
DISPlay:MONitor 0 turns the monitor mode OFF.
A keyboard entry at the terminal will set DISP:MON OFF.
This command does not perform an actual readback of the port data lines.
It returns the last programmed state of the data lines.
Related Commands: DISPlay:MONitor:PORT, DISPlay:MONitor:PORT?
*RST Condition: DISPlay:MONitor[:STATe] OFF|0
Example DISP:MON ON displays the state of the last port programmed.
Parameter Name Parameter Type Range of Values Default
MAX|MIN|DEF Optional
or
Discrete
None
MAX, MIN, or DEF
None
Parameter Name Parameter Type Range of Values Default
<
mode>
Boolean 0|1|ON|OFF 0|OFF