04-02-2015 09:28 AM
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?
04-02-2015 09:40 AM - edited 04-02-2015 09:45 AM
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.
04-02-2015 10:15 AM
The target PC is at a contract manufacturer.
04-03-2015 03:43 PM - edited 04-03-2015 03:59 PM
@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 around So, its best to be safe and make sure there is one present befor you go off and try to use it.
Like So: