I have not been able to come up with a good solution for the problem I have faced in more than one application that I built.
My application is to communicate with an instrument via RS-232 port. When I make executable and installer for the application, I choose some default com port (eg. COM1) to use at start of VISA configure.vi. Unfortunately, many of the target computers that I deploy the application to, have different com port names (eg. COM2, COM4, etc.) and my application does not run on them. So, either I individually change the COM port names on every machine I install to or I built series of executable and installers (one for COM1, one for COM2, one for COM3, etc..).
I believe there shall be a better way to deal with this situation, some dll which will give me the com port name on the machine and tell me something about it. So, if you know anything like that, please reply here.
Thank you.