LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't able to measure any values (voltage, resistance, current) from Keithley 2400

Hi eveyone, this is the first time I ever used LabVIEW 2017, and I'm using the same code from my previous labmate, and I'm using Keithley 2400 to measure the values (voltage, resistance, current) from LabVIEW. I have adjusted Keithley 2400 instrument with the same values (from Baud rate to Data Bits as the first picture showed) in the Keithley icon inside the LabVIEW, also use the right driver for the software and the connector (GPIB-USB-B using NI-488.2 version 17.6). 

 

bi018_1-1709851200924.png

 

Previously, when I used the original setup in my labmates laptop, although I can't measure any data, but I can run the code with 3 ports of selection, and (LPT1 is the Keithley port) it has value of 0 (I know this is not normal). 

bi018_5-1709851658086.png

bi018_6-1709851712757.png

 

But when I copy the files to my laptop, which I have the same setup (laptop using the same software, all the cables are connected correctly), but I can't find any Keithley related ports in this VISA class.

bi018_11-1709852816781.png

 

So after I changed a VISA Class to BPIB BoardInterface, I can see a new port that is more similar to Keithley port that I saw before (as the first picture showed), but after I select it, the block diagram appeared a new problem says wire class conflict which I never faced before (as the second picture showed).

bi018_9-1709852220467.png

 

 

bi018_0-1709851037395.png

 

What would you recommend me to modify? How can I detect the Keithley port in the Instr VISA class (like the original setting), or what should I do avoid wire class conflict once I changed to BPIB BoardInterface VISA class? Because I tried to reconnect the wires in the block diagram, it didn't work. But I don't know if I reset the Keithley subVI will it fixed the problem based on this support page (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019XS0SAM&l=en-US).

 

You can see my attached file in the attachments, the first file is the direct file that I used in the Front Panel's Path section, and the second file is my VI file.

 

Thank you in advance that is willing to help.

 

 

Download All
0 Kudos
Message 1 of 4
(414 Views)

If you use GPIB there is no need to configure serial communication. GPIB is a 8 bit parallel bus and hardware timed 😉

 

If you have the GPIB adapter and the 2400 connected, you should be able to find, test and communicate with it via MAX.

If you can't find it there, LabVIEW usually will have trouble too.

 

If the 2400 answer to *IDN? MAX should find it.

 

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 4
(364 Views)

Hi Henrik,
I think it's the communication problem between the Keithley 2400 and my laptop, because I can detect the GPIB-USB-B in MAX, but I couldn't detect the GPIB-USB-B in Instr VISA class, so it's not VI's problem right? And what should I do to help me fix this connection problem?

bi018_0-1709929140304.png

 

0 Kudos
Message 3 of 4
(344 Views)

I beleive the USB-GPIB-B support eneded in ~2020 with LabVIEW v17.6.  See - https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/GPIB-USB-B-Windows-10-Drivers/td-p/3974030

 

You will need a different USB GPIB adaptor for use with Windows 10 or 11.

 

Hope that helps.

Craig

Message 4 of 4
(336 Views)