Hi all, I have an Agilent82357 GPIB/USB interface that I use to connect to my machines. Right now I am trying to use it with a Tektronix PS2510G Programmable Power Supply.
I have it connected and it (both the Agilent GPIB/USB and the Tektronix) is recognized in NI MAX. I can open the VISA test panel for the device and query *IDN?, to which it returns an ID string. I can also send it commands in its syntax (like "volt 5") and it correctly sets the voltage to what I ask. So I KNOW it's connecting to the machine correctly.
On the machine, two words are lit up, RMT and TLK. The GPIB address, as seen in the side panel of NI MAX, is GPIB0::11::INSTR.
Okay, now I want to control it from a Labview program. So I make a really simple one like this:
And in the front panel I set the resource name to GPIB0::11::INSTR. The command works perfectly in NI MAX.
When I run it, I get this fun error:
Okay, I see the "reason" but that doesn't really tell me much, to be honest.
Googling for a solution gives me the following top results, which don't help:
This thread http://forums.ni.com/t5/LabVIEW/Error-1073807265/td-p/758030 results in the guy installing LV on another machine. Someone in the thread suggests this http://digital.ni.com/public.nsf/allkb/49817A4A58B78843862574730051962F?OpenDocument solution, which clearly isn't applicable to me because I'm using the right GPIB address.
This thread http://forums.ni.com/t5/LabVIEW/Error-1073807264/td-p/1974109 doesn't help either. The guy isn't sure of his solution and it doesn't apply to me anyway.
This thread http://forums.ni.com/t5/LabVIEW/Losing-connection-to-Agilent-6672A-with-GPIB-while-running-a-VI/td-p/1613798 also shows the issue as never solved.
I really can't find what to do. It's so strange to me that I can communicate with the machine in NI MAX, but not in LabVIEW. Can anyone give me any tips? thank you!