03-07-2024 05:14 PM
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).
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).
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.
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).
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.
03-08-2024 01:40 AM
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.
03-08-2024 03:03 PM - edited 03-08-2024 03:03 PM
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?
03-08-2024 04:46 PM
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