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 #575 background imageLoading...
Page #575 background image
Section
8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
Reference Manual
8-44 2450-901-01 Rev. B/September 2013
digio.line[N].reset()
This function resets digital I/O line values to their factory defaults.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
digio.line[N].reset()
N
Digital I/O trigger line (1 to 6)
Details
This function resets the following attributes to their default values:
digio.line[N].mode
trigger.digin[N].edge
trigger.digout[N].logic
trigger.digout[N].pulsewidth
trigger.digout[N].stimulus
It also clears trigger.digin[N].overrun.
Example
-- Set the digital I/O trigger line 3 for a falling edge
digio.line[3].mode = digio.MODE_TRIGGER_OUT
trigger.digout[3].logic = trigger.LOGIC_NEGATIVE
-- Set the digital I/O trigger line 3 to have a pulsewidth of 50 microseconds.
trigger.digout[3].pulsewidth = 50e-6
-- Use digital I/O line 5 to trigger the event on line 3.
trigger.digout[3].stimulus = trigger.EVENT_DIGIO5
-- Print configuration (before reset).
print(digio.line[3].mode, trigger.digout[3].pulsewidth,
trigger.digout[3].stimulus)
-- Reset the line back to factory default values.
digio.line[3].reset()
-- Print configuration (after reset).
print(digio.line[3].mode, trigger.digout[3].pulsewidth,
trigger.digout[3].stimulus)
Output before reset:
digio.MODE_TRIGGER_OUT 5e-05 trigger.EVENT_DIGIO5
Output after reset:
digio.MODE_TRIGGER_IN 1e-05 trigger.EVENT_NONE
Also see
digio.line[N].mode (on page 8-43)
trigger.digin[N].overrun (on page 8-172)
trigger.digout[N].pulsewidth (on page 8-174)
trigger.digout[N].stimulus (on page 8-175)
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