Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple instances software - Release unused COM ports

Hello all,

I am working on a project, where the software is built to .exe form.

The .ini file that accompanies the .exe file is setup to allow multiple instances of the software to run simultanously.

A core function of the app is to connect to one device at a time through VISA. In order to do that, the user either chooses a specific COM port or scans to for available ports that match name-alias criteria.

 

The question is:

Is it possible to use VISA and scan for available ports, or choose specific, while there are multiple instances of the software running at the same time?

At the moment, is seems that only the first instance "sees" the COM ports, and the rest instances can't connect to any device, even if I choose a correct COM port.

 

This is my first post, so please feel free to ask you may need more info. Thank you in advance.

0 Kudos
Message 1 of 1
(444 Views)