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
dumas_brian
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: 1263
Joined: October 15th, 2010, 10:35 am
Country: United States
Contact:

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(status.measurement.condition)
or
print(bit.bitand(status.measurement.condition, 2048)) -- logical AND with 2048
or
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 3 guests