Section 3: Functions and features
Series 2600B System SourceMeter® Instrument Reference Manual
3-90
2600BS-901-01 Rev. C / August 2016
Programming example
The programming example below illustrates how to set bit B1 of the TSP-Link digital I/O port high,
and then read the entire port value:
tsplink.trigger[1].mode = tsplink.TRIG_BYPASS
-- Set bit B1 high.
tsplink.writebit(1, 1)
-- Read I/O port.
data = tsplink.readport()