Configuring the Digital Control Port
Series N6700 User’s Guide
149
After you have configured pin 3 as the remote inhibit input, you must
also configure the operating mode of the Inhibit signal. The inhibit
signal can be latched or live. When latched, the outputs will remain
disabled after an inhibit signal is received. When live, the outputs will
follow the state of the Inhibit input. The Inhibit operating mode is
stored in non-volatile memory.
Front Panel:
SCPI Command:
Select
Protection/Inhibit
.
Select either Latching or Live.
To disable Inhibit, select Off
To latch the Inhibit signal:
OUTP:INH:MODE LATC
To set the Inhibit signal live:
OUTP:INH:MODE LIVE
To disable the Inhibit signal:
OUTP:INH:MODE OFF
Digital I/O
Each of the three pins can be configured as general-purpose digital
inputs and outputs. The polarity of the pins can also be configured.
Front Panel:
SCPI Command:
Select
System\DigPort
, then either
Pin 1, Pin2, or Pin 3.
Select Function and configure the
pin as DigIO.
Go back one level, select Polarity,
then either Positive or Negative.
To send digital data to the pins,
select
System\DigPort\Data
.
Select DataOut and enter the data.
To configure the pin function:
DIG:PIN<#>:FUNC DIO
To configure pin polarity:
DIG:PIN<#>:POL <pol>
To send data to the pins:
DIG:OUTP:DATA <data>
Digital Input
Each of the three pins can be configured as digital input only. The
polarity of the pins can also be configured.
Front Panel:
SCPI Command:
Select
System\DigPort
, then either
Pin 1, Pin2, or Pin 3.
Select Function and configure the
pin as DigIn.
Go back one level, select Polarity,
then either Positive or Negative.
To read the data from the pins,
select
System\DigPort\Data
.
Select DataIn and read the data.
To configure the pin function:
DIG:PIN<#>:FUNC DINP
To configure pin polarity:
DIG:PIN<#>:POL <pol>
To read the pin data:
DIG:INP:DATA?