EasyManuals Logo
Home>Keithley>Test Equipment>2450

Keithley 2450 User Manual

Keithley 2450
878 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #458 background imageLoading...
Page #458 background image
Model 2450
Interactive SourceMeter® Instrument Reference Manual Section 6:
SCPI command reference
2450-901-01 Rev. B/September 2013 6-141
:TRIGger:BLOCk:DIGital:IO
This command defines a trigger model block that sets the lines on the digital I/O port high or low.
Type Affected by Where saved Default value
Command only
Recall settings
Instrument reset
Power cycle
Save settings
Not applicable
Usage
:TRIGger:BLOCk:DIGital:IO <blockNumber>, <bitPattern>
:TRIGger:BLOCk:DIGital:IO <blockNumber>, <bitPattern>, <bitMask>
<blockNumber>
The sequence of the block in the trigger model
<bitPattern>
Sets the value that specifies the bit pattern
<bitMask>
Specifies the bit mask; if omitted, all lines are driven
Details
To set the lines on the digital I/O port high or low, you can send a bit pattern that is specified as an integer value.
The least significant bit maps to digital I/O line 1 and the most significant bit maps to digital I/O line 6.
The optional bit mask defines the bits in the pattern that are driven high or low. If the bit for a line is set to 1, the
line is driven high. If the bit is set to 0, the line is driven low. A binary 1 in the bit mask indicates that the
corresponding I/O line should be driven according to the bit pattern. To drive all lines, specify all ones (63) or
omit this parameter.
For this command to function as expected, make sure you configure the trigger type and line state of the digital
line for use with the trigger model (use the digital line mode command).
Example
:DIGital:LINE3:MODE DIG,OUT
:DIGital:LINE4:MODE DIG,OUT
:DIGital:LINE5:MODE DIG,OUT
:DIGital:LINE6:MODE DIG,OUT
:TRIG:BLOC:DIG:IO 4, 20, 60
The first four lines of code configures digital I./O
lines 3 through 6 as digital outputs.
Trigger block 4 is then configured with a bit
pattern of 20 (digital I/O lines 3 and 5 high). The
optional bit mask is specified as 60 (lines 3
through 6), so both lines 3 and 5 are driven high.
Also see
:DIGital:LINE<n>:MODE (on page 6-19)
Digital I/O bit weighting (on page 3-67)
Digital I/O port (on page 3-62)

Table of Contents

Other manuals for Keithley 2450

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2450 and is the answer not in the manual?

Keithley 2450 Specifications

General IconGeneral
BrandKeithley
Model2450
CategoryTest Equipment
LanguageEnglish

Related product manuals