Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Get all VISA-USB Addresses

I currently use,

Try
       myInstr.IO = IoMgr.Open("USB0::0x05E6::0x2636::4351628::INSTR")

End Try

 

to open communication with my device. This can only talk to a particular device with a particular serial number. Is it possible to scan for devices from VB.NET so I can select one from a menu.

0 Kudos
Message 1 of 4
(2,278 Views)

Hi,

 

The manual below describes how to find resources using the .NET API. Page 40 provides code in C# and page 135 provides code in VB.NET.

 

Regards,

 

B. Poteet

Applications Engineer

National Instruments

0 Kudos
Message 2 of 4
(2,243 Views)

Sorry for being such a bore, but I don't see the manual you speak of.

0 Kudos
Message 3 of 4
(2,234 Views)

I apologize, I forgot to include the link:

 

http://www.ni.com/pdf/manuals/370423a.pdf

0 Kudos
Message 4 of 4
(2,232 Views)