![background image](http://html2.mh-extra.com/html/keithley/sourcemeter-2601/sourcemeter-2601_reference-manual_4018913372.webp)
12-112
Return to
2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library
Series 2600 System SourceMeter® Instruments Reference Manual
tsplink.state
Attribute
TSP-Link on-line state.
Usage
state = tsplink.state
Remarks
•
This attribute stores the TSP-Link status, either
online
or
offline
. The state will
be “offline” after the unit is powered on. After
tsplink.reset
is successful, the
state will be “online”.
•
This attribute is read-only.
Details
See
“System expansion”.
Also see
,
Example
Reads the on-line state of the TSP-Link:
state = tsplink.state
print(state)
Output:
online
tsplink.trigger[N].assert
Replace N with the number of the synchronization line: 1 to 3.
Function
Asserts a trigger on one of the synchronization lines.
Usage
tsplink.trigger[N].assert()
Remarks
The set pulse width determines how long the trigger is asserted.
Details
See
"TSP-Link Synchronization lines"
Also see
Example
-- Asserts trigger on I/O line 2:
tsplink.trigger[2].assert()
tsplink.trigger[N].clear
Replace N with the number of the synchronization line: 1 to 3.
Function
Clears a trigger event on a synchronization line.
Usage
tsplink.trigger[N].clear()
Remarks
•
The Trigger event detection recalls if a trigger event has been detected since the last
tsplink.trigger[N].wait
call.
• This function clears a trigger event detector, discards the previous history of the
trigger line, and clears the
tsplink.trigger[N].overrun
attribute.
Details
See
"TSP-Link Synchronization lines"
Also see
Example
-- Clears trigger event on synchronization line 2:
tsplink.trigger[2].clear()