ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reconnect without restarting the program

 

Hey guys.
Is it possible to reconnect RS232 and/or USB communication without having to restart the program?

 

Thank you in advance for the suggestions

0 Kudos
Message 1 of 2
(1,083 Views)

Of course, you only have to end the connection if there is an error, wait a bit and reconnect.

It's always useful to use a state machine to access hardware:

 

state-machine.png

Message 2 of 2
(1,061 Views)