SOURce:DIGital:HANDshake:LEVel
Syntax
SOURce:DIGital:HANDshake:LEVel {<voltage>|MIN|MAX|DEF}, (@<ch_list>)
SOURce:DIGital:HANDshake:LEVel? [{MIN|MAX},] (@<ch_list>)
Description
This command sets the logic "1" voltage level for the H0 and H1 handshake lines on the specified bank on the 34950A Digital I/O Module. Since handshaking is used only for transfers involving the first channel on a bank, this command must be directed to the first channel (i.e., channel 101 or 201 only), and extends to all channels involved in the channel width (see CONFigure:DIGital:WIDTh command).
This command also sets the output voltage level for the INTR (interrupt) line on the specified bank. The INTR line is an output when the specified channels are configured for buffered memory input operations (see [SENSe:]DIGital:MEMory:ENABle command).
Used With:
34950A Digital I/O Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<voltage> |
Numeric |
Desired voltage level between 1.66V and 5V, with 20 mV resolution. MIN = 1.66V, MAX = 5V |
1.66V |
<ch_list> |
Numeric |
The first channel on a bank in the form (@sccc).
|
This is a required parameter |
Remarks
-
The behavior of the three handshake lines depends on whether buffered memory input operations are enabled (see [SENSe:]DIGital:MEMory:ENABle command).
H0 Line
H1 Line
H2 Line
Unbuffered Transfers
I/O Direction (output)
Strobe (output)
Not Used (Hi-Z)
Buffered Transfers
Start/Stop (output)
Strobe (output)
Input Strobe (input)
If desired, you can use the CONFigure:DIGital:HANDshake command to select all of the handshake line parameters with one command. Use this command to select the input threshold voltage, output logic "1" voltage level, and logic polarity.
The selected voltage level is stored in volatile memory and will be set to 1.66V when power is turned off or after a Factory Reset (*RST command).
Return Format
The query command returns the voltage level in the form "+1.00000000E+00" for each channel specified. Multiple responses are separated by commas.
Examples
The following program segment sets the voltage level to 2.4V on channels 101 and 201 on the module in slot 3.
CONF:DIG:WIDTH WORD,(@3101,3201)
!Width
= 16 bits
DIG:MEM:ENAB ON,(@3101,3201) !Enable
buffered read
SOUR:DIG:HAND:LEVEL 2.4,(@3101,3201) !Set
voltage level
The following query returns the voltage level settings on channels 101 and 201 on the module in slot 3.
SOUR:DIG:HAND:LEVEL? (@3101,3201)
Typical Response: +2.40000000E+00,+2.40000000E+00