LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the vi to wait for the user to select a COM port?

Solved!
Go to solution

Hi David 49,

here it is.

 

Mike

0 Kudos
Message 11 of 12
(488 Views)

Thank you.

 

With this method, we have to select obligatory ther COM port.

 

I've made a sequence to have the possibility to choose a new port if th default port is not availbale. In fact, I'va made my project with a computer, and the compiled soft is used on another, wich have not the same port name. The first one is "COM1, COM2, etc..." and the second one is "ASRL1, ASRL2, etc...". During my search on the forum, I've mixed all I found to make this.

If you find that I could optimize this small code, don't hesitate in helping me.

 

In the joined vi, my main code is naturally before the serial close connection, but I didn't put it in this code...

 

Thanks for your help.

 

David.

0 Kudos
Message 12 of 12
(470 Views)