LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a VISA resource without "VISA FIND" or Serial Poll

I'm very new to LabVIEW and my experience so far with GPIB/VISA is to pass a GPIB address (from user control) to a C# function I created.  The function will build the correct VISA resource string, and try to connect using a message-based session one at a time to each board address. 

I'm trying to do a similar action in Labview but so far, the only method I have seen is to use the drop-down Visa Resource.  When I use this, it scans the bus to find all the physically connected devices on the bus but the unfortunate side effect is that all the listeners go into remote mode which typically resets the devices to their default remote connection settings.

ie: This can turn off a the power o/p of a power supply that I didn't want to control at  that moment etc.

 

Can anyone tell me the proper or recommended method?  If I had a user control that allowed the user to enter in a GPIB address, would I just create the resource string myself on the block diagram and feed this into a VISA -OPEN .vi?

 

0 Kudos
Message 1 of 2
(2,476 Views)
Connect a string control to the VISA Open VI
0 Kudos
Message 2 of 2
(2,474 Views)