Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

old visa open

Hi All,

I've a problem connecting an HP Agilent 6033A, running the "HP6xxxA initialize.vi" it tells me: error out: code:-1073807194 source: "Old VISA Open in HP6xxxA Initialize.vi". What kind of error it is?

 

I have "instrument descriptor: GPIB::5"  (default)     "VISA session (for class): (3 choices) COM1 , GPIB0::0::INSTR , LPT1"      

 

I tried to change them and run again but it seems doesn't work

The HP power supply is connected via GPIB-USB-B to the PC and gives power to a flexible heater;

Waiting a prompt reply

thank you very much

 

 

0 Kudos
Message 1 of 12
(5,188 Views)

You should replace the Old VISA Open with the VISA Open that is on the VISA>VVISA Advanced palette. Delete the instrument descriptor string control. Then you can click on the VISA Session control to select the actual VISA resource from the pull down menu.

 

The other option is to install the current driver which is a project style driver. This does not use the old VISA Open. A project style driver can be used with any version of LabVIEW from 8.0 or higher. If you had used the Help>Find Instrument Drivers, this is the driver that would have been installed.

0 Kudos
Message 2 of 12
(5,180 Views)

OK now the HP6033A talks with the PC, (RMT led is on, and LST, TLK leds are flashing), but every some secs it has a loss of voltage, and the signal falls down to rise up instantly, could be caused by this change of communication?

Thank you Dennis!

0 Kudos
Message 3 of 12
(5,160 Views)

I don't quite understand. The output changes after you have programmed it? Other than the initialize function, what else did you change? Is the VI stopped when you see the output change?

0 Kudos
Message 4 of 12
(5,158 Views)

I've used your first solution, so replaced "old visa open" with "visa open" in the HP6xxxA initialize deleted the instrument descriptor and used the GPIB--INSTR choice in the visa session menu; I changed nothing apart GPIB initialize; the VI doesn't stop, it continues but the HP6033A has voltage falling to zero and raise to the correct one every about 3s; thanks for your patience

0 Kudos
Message 5 of 12
(5,150 Views)

sorry I mean "HP6xxxA initialize" 🙂

0 Kudos
Message 6 of 12
(5,149 Views)

You are going to have to post your VI or at least attach an image of what you have in your while loop.

0 Kudos
Message 7 of 12
(5,147 Views)
0 Kudos
Message 8 of 12
(5,139 Views)

I don't have the obsolete driver installed - just the project style driver so I don't know what some of the subVIs are doing. Step through it and see where the output voltage is dropping.

0 Kudos
Message 9 of 12
(5,129 Views)

Ok, I think I've found when I've the voltage drop: In my VI I have 2 thermocouples working on the same device, a NI 4351PCI. I've seen that at the same time of the voltage drop, the 2nd thermocouple stops to acquire. If I use only one of them ( sacrifying one channel) the drop doesn't appear; how I can work with two thermocouples without having a stop of the acquisition? Maybe changing some NI4351 parameter? Ty

0 Kudos
Message 10 of 12
(5,106 Views)