ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Distinguishing Between Multiple Serial Devices of the Same Model

Can you elaborate on programming the serial number to the devices? I am able to ID the serial numbers for the US232R cables using some of the VIs in the FTDI.zip that you provided in a later post in this thread. There is still a disconnect somewhere between the cables and the devices that are plugged into them. I have ID'd the COM ports of the cables, and know which device they correspond to, but when I try to obtain the serial numbers of my devices in a separate VI (a VI that already existed for the set-up I am working on) I am experiencing an error. Does the name of the COM port need to be changed in NI MAX to the serial number I am getting for the cables?

0 Kudos
Message 11 of 12
(574 Views)

Hi,

 

The name in MAX is just an alias. This also something I use when I know what is connected (USB ports) to the computer. This way you need the COM port number to connect  to it. But it is not necessary.

In your case finding a port number according the serial number and use that com port should work. Can you post the VI here ?

 

Kees

0 Kudos
Message 12 of 12
(550 Views)