Specifications

Chapter 2 Command System RIGOL
M300 Programming Guide 2-139
[SENSe:]DIGital:TYPE
Syntax [SENSe:]DIGital:TYPE {USER|TTL|CMOS5|CMOS3.3|CMOS2.5},[(@<ch_list>)]
[SENSe:]DIGital:TYPE? [(@<ch_list>)]
Description
Set the level type of the digital input and output of the specified channels.
Parameters
Name
Type
Range
Default
TYPE
Discrete
{USER|TTL|CMOS5|CMOS3.3|CMOS2.5}
TTL
<ch_list>
Channel
List
One or more channels (only for the channel 01
through 04 of the multifunction module), the
rules are as follows:
(@101): channel 01 on the module in Slot1;
(@101:103): channel 01 through 03 on the
module in Slot1;
(@101:103,301): channel 01 through 03 on the
module in Slot1 and channel 01 on the module in
Slot3.
None
Explanation The digital channels are numbered "S01" to "S04"; wherein, S is the number of the
slot.
This command is valid for both the level types of the digital input and output.
If the specified channels are configured as 32-bit digital input (send the
CONFigure:DIGital:DWORd, MEASure:DIGital:DWORd? or
[SENSe:]DIGital:DATA:DWORd? command) or output (send the
SOURce:DIGital:DATA:DWORd command), <ch_list> can only be S01, wherein S is the
number of the slot of the multifunction module.
If the specified channels are configured as 16-bit digital input (send the
CONFigure:DIGital:WORD, MEASure:DIGital:WORD? or
[SENSe:]DIGital:DATA:WORD? command) or output (send the
SOURce:DIGital:DATA:WORD command), <ch_list> can only be S01 or S03, wherein S
is the number of the slot of the multifunction module.
If the specified channels are configured as 8-bit digital input (send the
CONFigure:DIGital:BYTE, MEASure:DIGital:BYTE? or [SENSe:]DIGital:DATA[:BYTE]?
command) or output (send the
SOURce:DIGital:DATA[:BYTE] command), <ch_list>
can be S01, S02, S03 or S04, wherein S is the number of the slot of the multifunction
module.
The instrument sets the level type to TTL after a Factory Reset (send the
*RST
command). An Instrument Preset (send the
SYSTem:PRESet command) or Card Reset
(send the SYSTem:CPON command) does not affect the current level type.
Return
Format
The query returns USER, TTL, CMOS5, CMOS3.3or CMOS2.5.
Example
DIG:TYPE TTL,(@201)
DIG:TYPE? (@201)
The query returnsTTL.
Related
commands
[SENSe:]DIGital:LEVel
[SENSe:]DIGital:THReshold