12
SOURce Subsystem
130
U2300A Series USB DAQ Programming Guide
SOURce:DIGital:DATA
:
BIT
Syntax
SOURce:DIGital:DATA:BIT <value>, <bit>, (@<ch_list>)
This command sets or clears individual bits on the specified digital output
channels. The specified channels have to be configured as
OUTPut
, prior
to sourcing any digital data. Please note that once a channel is
configured as
OUTPut
, all bits within that channel are set as output.
SOURce:DIGital:DATA:BIT? <bit>, (@<ch_list>)
The query returns a value of
1
(logic High) or
0
(logic Low) for the
specified bit within the specified channel.
Supported Model
U2351A, U2352A, U2353A, U2354A, U2355A, U2356A, U2331A
Parameters
Remarks
•
Prior to using this command, the DIO channel/port has to be configured
as
OUTPut
; else a system error will be generated.
•
Using this command or query right after
will also generate a
system error. This is because after a system reset, the DIO channel/port
is set to
INPut
.
Item
Type
Range of Values
Default Value
<value>
Integer
0 or 1
0
<bit>
Integer
Counter Channel 501 and 502: 0 through 7
Counter Channel 503 and 504: 0 through 3
0
<ch_list>
Numeric
U2351A/U2353A/U2355A/U2356A/U2331A: 501 through 504
Port A: Channel 501
Port B: Channel 502
Port C: Channel 503
Port D: Channel 504
N/A
Summary of Contents for U2300A Series
Page 8: ...VIII U2300A Series USB DAQ Programming Guide Contents ...
Page 18: ...1 Introduction to Programming 10 U2300A Series USB DAQ Programming Guide ...
Page 40: ...5 CONFigure Subsystem 32 U2300A Series USB DAQ Programming Guide ...
Page 60: ...6 IEEE 488 Common Command 52 U2300A Series USB DAQ Programming Guide ...
Page 70: ...7 MEASure Subsystem 62 U2300A Series USB DAQ Programming Guide ...
Page 84: ...8 OUTPut Subsystem 76 U2300A Series USB DAQ Programming Guide ...
Page 92: ...9 Root Commands 84 U2300A Series USB DAQ Programming Guide ...
Page 104: ...10 ROUTe Subsystem 96 U2300A Series USB DAQ Programming Guide See Also ROUTe CHANnel RSouRCe ...
Page 130: ...11 SENSe Subsystem 122 U2300A Series USB DAQ ...
Page 162: ...15 WAVeform Subsystem 154 U2300A Series USB DAQ Programming Guide ...
Page 168: ...16 Error Messages 160 U2300A Series USB DAQ Programming Guide ...