‎10-05-2011 07:21 PM
I have written a program that logs data via a coms port. As the software can be used on different machines so the com port being used may be different than the default value. The program only initializes the com port once at the beginning. Therefore if the com port needs to be altered the application has to be stopped com port selected then restarted. Is there a way to stream line this such the comport is selected before the application is launched and where the Visa is initialize only once? Any suggestions would be greatly appreciated
‎10-06-2011 12:27 AM
‎10-06-2011 06:43 AM - edited ‎10-06-2011 06:43 AM
You may also want to consider adding fuctionality to store the COM port selection in an .ini file on program exit. That way the program will default to the COM port used the last time the program was run.