Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Check if Serial port is connected

$
0
0
Im resurrecting this thread because I am having the exact same issue and was wondering if maybe now here is a workaround.
 
my sketch interacts with two com ports on my pc.  I need to let the user know that there is a USB cable unplugged in a user friendly way rather than having them deal with the RED exception text at the bottom of the processing window.
Ultimately I want to be able to make an executable out of this so Id rather handle the error "inhouse" and have the sketch notify them of the unplugged cable and wait for them to connect it or even just tell them to connect it and start the application over again.
 
Any Idea how to do this????

Viewing all articles
Browse latest Browse all 1768

Trending Articles