08-05-2009 11:49 AM
I try to modify labview code for HP34970A EZ Temperature.vi
What should I write in for VISA resource name when I use GPIB-USB? Normally I use command "GPIB0::9::INSTR" for GPIB-PCI is working fine but when I install GPIB-USB-HS and use command "GPIB1::9::INSTR " in same PC but it show error at labview(When I change back to GPIB-PCI is still working fine)
Any advise?
PS.Error is -1073807343
Regards
Ong
08-05-2009 01:34 PM
Don't write anything in. Just click on the little arrow on the right side of the VISA Resource Name control and select it from the list that is shown.
If your instrument is not shown, then you've got a problem. After connecting the instrument to the USB controller, be sure to do a scan for instruments.
08-05-2009 05:56 PM - edited 08-05-2009 05:57 PM
It show 2 cards GPIB0 for PCI and GPIB1 for USB but still show error when I chooses GPIB1,,
on the other hand I use measurenent and automation explorer to talk with instument both pci and usb GPIB are get respons from istrument, but show error when use labview..
any advise
thanks
08-05-2009 06:38 PM
What shows two cards? MAX? The resource control? Where are you choosing the instrument and how? Are you still typing the resource name manually?
Go into MAX and expand devices and interfaces. Click on both cards and select Scan for Instruments on each. Take a screen shot that shows the results of both scans. Post the screen shot as a png file.
08-05-2009 06:53 PM
I choos instrument from click from visa resourse small arrow. and attached of screen
Thanks
08-05-2009 09:39 PM - edited 08-05-2009 09:46 PM
I'm still a little confused. The no error image - does that mean that the instrument is connected to the GPIB-USB and you use GPIB0::9:INSTR with no error?
The image with the error - is GPIB1::9:INSTR available in the resource name pulldown?
I have not had multiple GPIB controllers in while but I don't remember having any problems like this. Have you tried removing the pci controller or reinstalling NI-488.2 and NI-VISA? What versions of both are you using?
I just thought of something that you can try. If you've been connecting the instrument from one controller to the other, perhaps the visaconf.ini file is corrupt. Delete it and then go into MAX and do a refresh/scan for instruments. This will recreate the visaconf.ini file. Try the LabVIEW program or VISA interactive.