Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2000

Im having problem with connecting to Keithley 2000 via GPIB. It keeps giving me this: "VISA:  (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state)." Can somebody help me? I need the most simple code that will read measurements (single and multiple)
Thank yoU!
0 Kudos
Message 1 of 12
(5,195 Views)
Are you using one of the available drivers for this and if so, which one? If you are using a driver, which function is generating the error?
0 Kudos
Message 2 of 12
(5,182 Views)

Im using "Ke2000 DMM" for LabView 8.0.

I want to get the readingsfrom the circuit that I have.  I want to be able to measure DC and AC Voltage and curents, resistances etc. Pretty much, just basic multi meter functions.

Below is what I have. Im guiding my self by some feedback that I got from the forum. But its not happening.

Thank you!

0 Kudos
Message 3 of 12
(5,180 Views)
There are 3 distinctly different LabVIEW 8.0 drivers for the instrument and I was hoping you could provide the exact one you downloaded. It would also help if you would answer the question as to which VI is throwing the error. There are 5 VIs in your example plus whatever subVIs might be below these.
0 Kudos
Message 4 of 12
(5,176 Views)
here's the actual driver that Im using. There is a problem with every VI. I dont know why.
0 Kudos
Message 5 of 12
(5,174 Views)
Do you mean that you open each VI individually and get the same error when you run it? Or do you get this error when you run the VI you posted and are unsure where the error occurs? If it's just when you run the VI you wrote, then the first thing to check is your VISA Resource Name. Did you leave it as the default or did you actually select it by clicking on the little arrow on the right side of the control? You should always select it from the list that is available. You can also confirm that you cancommunicate with the instrument in MAX. After having doen a scan for instruments, right click on the instrument in the list and select Communicate with Instrument. Sending the *IDN? query is enough.
0 Kudos
Message 6 of 12
(5,163 Views)
Hi

did you specify GPIB::16::Instr
or even better select the addres from the list of available addresses when clciking on the visa resource name triangle.

and make sure you have the switch module installed in the back of your k2000 otherwise leave out the select routing vi.

greetings from the Netherlands
0 Kudos
Message 7 of 12
(5,158 Views)
VISA resurce names are good...but still none of them works and this is the big error I get. "Possible reason(s):
VISA:  (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state)."...
I just want something simple that will do basic measurements.
I dotn get when the same procedure on different instruments work.
0 Kudos
Message 8 of 12
(5,159 Views)
What do you mean that 'none of them work'. There should only be one for this instrument. Did you actually do a scan for instruments in MAX and does this instrument show up there? What is the exact resource name you are using? Instead of making things complicated, just open ke2000 Initialize and run that all by itself. DO NOT leave the VISA Resource Name as the default. Also, if you have multiple instruments on the bus, make sure that each has a unique address. Better yet, make the Keithley the only one connected and try the VI.
0 Kudos
Message 9 of 12
(5,144 Views)
Still doesnt work. This is the error I get. Thank you for your help, as always!
0 Kudos
Message 10 of 12
(5,140 Views)