06-26-2014 12:31 AM
i am making an application to connect my PC serially to a microcontroller serially with a usb to RS232 cable. how should i code in my application to ensure that my serial connection always gets the same com port whenever the applivcation is running on an other PC? it is important to get the same com port on every machine every time else my labview coding for serial communication will fail. OR is there a better to do this. Can we code in labview so that it uses any free com port available on the PC? the user of the application must not be prompted to enter a free com port.
thanks for any help.
06-26-2014 12:48 AM
06-26-2014 12:54 AM
06-26-2014 06:33 AM
06-26-2014 08:28 AM - edited 06-26-2014 08:33 AM
No need to shout or ring my PM box... We are all volunteers here and sometimes we sleep or eat. besides its a rather simple problem that a search on the forums would have gotten you here
My Tag cloud would have gotten you the this same example snippet :RenameAlias
Just use the system API to find all available serial devices. figure out which one is your uC (how depends on the connected device) and set the MAX Alias to "MyMicroController" or something meaningful
06-26-2014 08:58 AM
Please stick to a single thread. Now that you have got great advices in both the thread choose one and close another