E4990A Help
306
Signal direction (input/output) can be changed for the ports C, D, and E as
shown in I/O ports and control signal lines. Thus, before the ports are
used, the directions should be determined according to their usage.
To specify the signal direction for the ports C and D, use the following
command. Direction for the port E depends on the setting for the ports C
and D.
Port Name
Command
Port C
:CONT:HAND:C:MODE
Port D
:CONT:HAND:D:MODE
Reading Data Input into Port
When the ports C, D, or E are configured to input ports, binary data
represented by High(0)/Low(1) of each bit of the port is read as decimal
data.
To retrieve the data, use the following command as query:
Port Name
Command
Port C
:CONT:HAND:C
Port D
:CONT:HAND:D
Port E
:CONT:HAND:E
Data Output to Port
To ports A through F (the ports C, D, and E should be configured to output
ports), binary data (decimal data when output data is specified with a
command) represented by High(0)/Low(1) of each bit of the port can be
output.
To output data, use the following command:
Port Name
Command
Port A
:CONT:HAND:A
Port B
:CONT:HAND:B