Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

reading interlock

Model 2657A
Post Reply
Posts: 3
Joined: August 2nd, 2016, 12:17 pm
Country: United States

reading interlock

Post by dumas_brian » September 15th, 2016, 3:49 pm

Quick question. It appears that f I want to read the status of the interlock, I can either 1) connect pin 24 of the digio to one of the first 14 pins (to read the pin if it is high) or look at the error message. Is this correct?

Thanks, Brian

Andrea C
Keithley Applications
Keithley Applications
Posts: 1323
Joined: October 15th, 2010, 10:35 am
Country: United States

Re: reading interlock

Post by Andrea C » September 20th, 2016, 5:31 am

You can also interrogate the state of status.measurement register set.

Bit11 will reveal the interlock state.
Bit11 = logic 0 state = interlock not asserted; source output prevented
Bit11 = logic 1 state = interlock asserted; source output permitted

If you just want to read the present state of the interlock, read the condition register of this register set:
print(bit.bitand(status.measurement.condition, 2048)) -- logical AND with 2048
print(bit.test(status.measurement.condition, 12)) --one based bit position

Post Reply

Return to “2657A High Voltage SourceMeter”

Who is online

Users browsing this forum: No registered users and 1 guest