Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USBMTC scope VISA resource

This is my first time using a USBMTC instrument.

 

We purchased a Tektronix TBS1052B.

NI-MAX detected it, and I am able to do a *IDN?  query.

 

I am concerned that the VISA resource that is used now on my development PC will change when the program is eventually installed on another PC.

 

What is the best solution to this?

 

Do I do a scan for all USB resources?

 

0 Kudos
Message 1 of 4
(4,697 Views)

Hi,

 

Mostly I use aliases to be less independent from the target PC. But you still have to add the aliases on the target PC.

I use this not only for USB but for all GPIB, serial, USB connections. 

 

Kees

 

 

btw. for FTDI devices I created a solutions with the unique serial number (or name) you can program into the FTDI device. With the FTDI drivers you locate the USB device and COM port number from your program on any PC. Something like that should be possible with USB instruments.

 

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

The target PC is at a contract manufacturer.

 

0 Kudos
Message 3 of 4
(4,688 Views)

@nyc_(is_out_of_here) wrote:

The target PC is at a contract manufacturer.

 


In this case you may need to use the System API to find the USBTMC device (and reaname its Alias) during intitialization of your app.

 

Those USB scopes are nice but the darn users keep moving them aroundSmiley Frustrated So, its best to be safe and make sure there is one present befor you go off and try to use it.

 

Like So:

Capture.PNG


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(4,663 Views)