I have one PC with LabView installed, for creating executables/applications.
These applications run on a different machine without full labview, but with labview runtime engine.
I have several serial ports (RS232) via USB to serial converters.
The problem is:
The options for serial forts available on the main PC do not match the ones on the machine running the executable.
E.g. when creating the application, I have options of com11, com12, com13;
on the target machine running the executable, only com1, com3, com4, com5;
How can I build an application that automatically accesses the right serial port?
It seems that the application does recognise the ports available on the machine it is running on, so I can choose the correct port once the labview application is running.
Unfortunately, this is not an option in my case - I need the application running as a scheduled task at computer startup, so the correct serial port needs to be set from the beginning.
It is data acquisition at a remote site, and the system needs to start up automatically after power failure, without manual setting of any parameters.
I appriciate any help on this.
Thanks,
Regards,
Stepan Leinert