Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-28
077114601 / March 2019
:BATTery:DIGital:LINE<n>:EDGe
This command selects the edge direction of the level trigger for digital in and digital out.
Type
Affected by
Where saved
Default value
Command and query
Recall settings
Instrument reset
Power cycle
Save settings
RISE
Usage
:BATTery:DIGital:LINE<line_index>:EDGe <edge>
:BATTery:DIGital:LINE<line_index>:EDGe?
<line_index>
The digital I/O line: 1 to 6
<edge>
RISE
|
FALL
Example
:BATT:DIGital:LINE2:EDG FALL
Set the edge direction of line 2 as
FALL
.
Also see
None
:BATTery:DIGital:LINE<n>:MANual:INPut:DATA?
This command queries the manually input data to the digital I/O pin.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:BATTery:DIGital:LINE<line_index>:MANual:INPut:DATA?
<line_index>
The digital I/O line:
1
to
6
Details
If the line is not assigned to a manual input, querying the pin gets no return and error 508, "Querying
manual input data of the line which is not set as Manual Input line" occurs.
Example
:BATT:DIGital:LINE2:MAN:INP:DATA?
Queries the digital line 2.
Also see
None