LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa Find resource vi does not find GPIB0 board

Thanks though but my question is still the same that I dont know what my visa alias is? what I understand is it is a communication port that I have used to connect my GPIB cable??

Please help me with that. I am very new to labview.

Thanks !

0 Kudos
Message 11 of 15
(846 Views)

I also gives me error 'old visa open in CC initialize.vi' whenever I am trying to run the vi file..what does it mean? help please

Thanks

0 Kudos
Message 12 of 15
(842 Views)

An alias is just a name that you assign to a VISA Resource. For example, the actual VISA Resource name for a GPIB instrument might be GPIB0::3::INSTR. This means that a GPIB instrument with the address of 3 was found connected to the GPIB0 controller. The resource name is visible when you right click on the GPIB board in MAX, select Scan for Instruments, and then highlight the instrument(s) that the scan finds. You can assign a more meaningful name to that instrument; i.e. DMM. The more meaningful name is the alias. You don't need to assign an alias.

It sounds like your problem has nothing to do with a VISA alias. You are using an instrument driver? For which instrument? Very old instrument drivers used a different VISA Open. The 'Old' VISA Open needs to be replaced with the current version of VISA Open. You just right click on the function in your initialize VI and select replace. Browse to the VISA>VISA Advanced palette and select the VISA Open that is there. Doing this will create some broken wires. Delete the string control. Often, the VISA reference on the front panel was made invisible so on the diagram, right click on the VISA reference and select 'Show Control'. Make sure that this VISA reference is wired to the VISA resource name input of VISA Open. Go to the front panel of the initialize function and wire the VISA reference to the upper left point of the connector pane. Now, you can just click on the little arrow on the right side of the VISA reference control and get a list of all VISA resources on the system. This will include things like your com ports and GPIB instruments.

If you have any problems, you might want to go ahead and post the VI you are using. It actually takes an experienced LabVIEW programmer less time to make the fix than I just spent typing it all.

0 Kudos
Message 13 of 15
(834 Views)

This is my labview file and my device is Cryogen temperature controller 32B is connected to the computer using GPIB interface. I am using labview 8.2.

Thanks a bunch, I appreciate your time.

0 Kudos
Message 14 of 15
(826 Views)
Something very basic you need to understand. Each VI is a separate file. When you attach a file to the forum, you don't attach any subVIs. Post just the VI that is throwing the error, make an application distribution, attach the llb or lvlib that contains the driver alone, or at least point me to the place where you got the driver
0 Kudos
Message 15 of 15
(823 Views)