Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

-1073807195 old visa open

I have an anritsu pulse pattern generator. I downloaded the latest drivers for this instruments from Anritsu website and when I tried to communicate with the instrument using these drivers, I get an error -1073807195 at old visa open. I tried to look for the help file of old visa open but it seems it doesnt exist.
 
I have labview 7.1 and NI visa 3.0.
 
I saw that the latest version of NI Visa is 3.5. Could updating VISA solve the problem?? How can i uninstall the older visa version ?? Do I have to update anything else like LV runtime ?
 
Using NI Automation and measurement explorer I could communicate with this instrument.
 
thanks for the help.
0 Kudos
Message 1 of 9
(5,849 Views)
You just have to replace the Old VISA Open function with the VISA Open that is on the Instrument I/O>VISA>VISA Advanced palette. When you do that, the wire to the string that was used for the resource name will be broken. Delete the string and make the actual VISA Resource Name visible on the front panel. Wire the VISA Resource Name control to the connector pane where the string control was (upper left connection).
0 Kudos
Message 2 of 9
(5,848 Views)
hi dennis,
 
i tried that but then it gives the same error in open visa.
 
anything else i should try?
0 Kudos
Message 3 of 9
(5,839 Views)
That error says that the interface is not configured which doesn't quite make any sense to me since you say you can use MAX to communicate with it. What happens if you create a new VI with just a VISA Open and VISA Reference Name and run that? Were you able to select the instrument from the VISA Resource Name pull-down?
0 Kudos
Message 4 of 9
(5,831 Views)
No, I wasnt able to select the visa resource from the pull down menu. somehow it seems disabled or something. What I did was just insert the GPIB number in it. Could that be the problem?

0 Kudos
Message 5 of 9
(5,826 Views)
Yes, that is a problem. The GPIB number is not the correct syntax. The correct syntax is GPIB0::n::INSTR where n = the GPIB address of the instrument. Check to make sure that you actually have NI-VISA installed. There is a software listing in MAX.
0 Kudos
Message 6 of 9
(5,824 Views)

I do have NI visa 3.0 installed. Is that ok??

And I tried to use the above syntax but it didnt work. Attached is the jpeg with the error. Also could you please tell me how can i remove the old version of visa and install new version??

0 Kudos
Message 7 of 9
(5,813 Views)
The syntax in the picture is not what I said. Try GPIB0::5. If you want the latest version of VISA, then go to NI's support page and download it. I don't think the version of VISA is the problem though. It kind of looks like the control is disabled. Right click on it and check Advanced>Enabled State.
0 Kudos
Message 8 of 9
(5,803 Views)

thanks for your help. I managed to solve the problem! Apprantely there were 2 different VISA version (2 and 3.0) on the computer so I removed them both and upgraded with 3.5 and all the drivers work fine now.
0 Kudos
Message 9 of 9
(5,790 Views)