EasyManuals Logo

Keithley DMM7510 Reference Manual

Keithley DMM7510
1036 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 #930 background imageLoading...
Page #930 background image
Model DMM7510
7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
TSP command reference
DMM7510-901-01 Rev. B / May 2015 8-317
trigger.model.setblock() — trigger.BLOCK_DIGITAL_IO
This function defines a trigger model block that sets the lines on the digital I/O port high or low.
Type TSP-Link accessible Affected by Where saved Default value
Function
Yes
Restore configuration
Instrument reset
Power cycle
Configuration script
Not applicable
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_DIGITAL_IO, bitPattern, bitMask)
blockNumber
The sequence of the block in the trigger model
bitPattern
Sets the value that specifies the output line bit pattern (0 to 63)
bitMask
Specifies the bit mask; if omitted, all lines are driven (0 to 63)
Details
To set the lines on the digital I/O port high or low, you can send a bit pattern. The pattern can be
specified as a six-bit binary, hexadecimal, or 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 bit mask defines the bits in the pattern that are driven high or 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, 0x3F, 0b111111) or omit this parameter. If the bit for a line in the bit pattern
is set to 1, the line is driven high. If the bit is set to 0 in the bit pattern, the line is driven low.
For this block to work 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
for x = 3,6 do digio.line[x].mode = digio.MODE_DIGITAL_OUT end
trigger.model.setblock(4, trigger.BLOCK_DIGITAL_IO, 20, 60)
The for loop 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
digio.line[N].mode (on page 8-52)

Table of Contents

Other manuals for Keithley DMM7510

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley DMM7510 Specifications

General IconGeneral
Resolution7.5 digits
DC Voltage Range100 mV to 1000 V
AC Voltage Range100 mV to 750 V
DC Current Range10 µA to 10 A
Resistance Range10 Ω to 1 GΩ
Sampling Rate1 MS/s
Memory27.5 million readings
Display5 inch capacitive touchscreen
AC Voltage Accuracy±0.06% of reading
AC Current Range10 A
ConnectivityUSB, LAN, GPIB

Related product manuals