External I/O; Setting Up The External I/O - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Using TSP commands:
-- Configure all six digital I/O lines as digital inputs.
-- You can also use a for loop.
digio.line[1].mode = digio.MODE_DIGITAL_IN
digio.line[2].mode = digio.MODE_DIGITAL_IN
digio.line[3].mode = digio.MODE_DIGITAL_IN
digio.line[4].mode = digio.MODE_DIGITAL_IN
digio.line[5].mode = digio.MODE_DIGITAL_IN
digio.line[6].mode = digio.MODE_DIGITAL_IN
-- Read and then print the state of Line 2 (bit 2).
b2 = digio.line[2].state
print(b2)
The value returned is digio.STATE_HIGH.
-- Print the state of Line 3 (bit 3).
print(digio.line[3].state)
The value returned is digio.STATE_HIGH.
-- Read and then print the value applied to the entire port.
port = digio.readport()
print(port)
The value returned is 63, which is the decimal equivalent of the binary bit pattern.

External I/O

The external I/O (EXT TRIG IN/OUT) connector on the rear panel of the instrument is a TTL-
compatible input/output line with a 0 to 5 V logic signal. You can use this line for triggering by using
the transition of the line state to initiate an action. The instrument can generate output trigger pulses
and detect input trigger pulses on this line.
Triggering is used for applications such as synchronizing the operations of the Model DMM7510 with
the operations of other instruments.

Setting up the external I/O

You cannot configure or directly control the external I/O lines from the front panel. To configure and
control the external I/O line, you need to send commands to the Model DMM7510 over a remote
interface. You can use either the SCPI or TSP command set. See Remote communications interfaces
for information about setting up a remote interface and choosing a command set.
The options to set up the external I/O are stimulus, edge, and logic.
The stimulus selects the event that causes a trigger to be asserted on the external output line. You
can use any of the standard trigger events with the external I/O. See
for a list of the available trigger events.
DMM7510-901-01 Rev. B / May 2015
Section 3: Functions and features
Trigger events
(on page 3-99)
3-59

Advertisement

Table of Contents
loading

Table of Contents