Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2700 GPIB control on deployment computer

Solved!
Go to solution

I have developed a LabVIEW program to interface with a Keithley 2700 DMM. On the development computer (LV 2022 Q__), the program is able to read data entries and output to a file. We recently bought a deployment computer with a new version of LV (2023 Q__), and I copied all of the files and their sub vi's. When I copied the files, I copied the whole hierarchy into a separate folder. I double checked to make sure that this copied program would work on the development machine: it did. When I transferred this hierarchy to the deployment computer, the program throws an error (more info below).

 

The interesting thing is that Max is able to detect the Keithley machine on both computers and identify the correct address and GPIB interface, but on the development computer the ke27xx drivers show up (even though I thought this machine does not technically have drivers) while they do not on the deployment computer. I have made sure to keep all of the settings the same in Max, but I keep receiving this error after making sure the VISA address is correct. 

 

"The Front/Rear Input selector on the instrument is not in the appropriate state, given the channels in the Scan List."

 

Does anyone have any ideas of what the problem could be and how to fix this?

Download All
0 Kudos
Message 1 of 5
(940 Views)

Correction to the initial post:

 

Development computer is using LV 2020 SP1

Deployment computer is using LV 2023 Q1

0 Kudos
Message 2 of 5
(937 Views)

Did you use the Keithley 2700 instrument driver that gets installed in the LabVIEW /instr.lib/ folder?  You probably didn't copy that to the new machine.   http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1460http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1460

 

It seems to me from that error that someone modified the VI in that code to have a default for Front/Rear selector that doesn't match the current setup.  There's a physical button on the 2700, what happens if you press it then run the code? 

 

Craig

0 Kudos
Message 3 of 5
(878 Views)
Solution
Accepted by topic author snitzerj

I had previously downloaded the driver to the correct location. I found that the default VISA communication did not allow GPIB communication (found through MAX > Software > VISA). After ensuring that box was checked and restarting the computer, the communication worked. Seems weird that the default setting on a fresh install of LabVIEW would disable GPIB communication, but that fixed the problem.

Message 4 of 5
(868 Views)

Were can we find the MAX setting tree in LabView 2023

0 Kudos
Message 5 of 5
(775 Views)