Quote Originally Posted by dbasnett View Post

Do you need another thread for taking the picture? It doesn't sound like it, but I can't be certain. It seems that with what you have you know in the existing backgroundworker that the motion has stopped, so just take the picture and then continue on.
I'm not sure I need another thread either. What I do need is a Grab_image function that is going to be stopped while the motion is not finished and that fires when the motion is finished (status=1). In the BCKGND DoWork, can we have another WaitHandle (there is already DataAvailable.WaitOne() ) ? Grab_Image would need to have a Grab_Image.WaitOne() at the start of the function (signaled by the "check_return_string" part) and would need a Send_Command.Set() at the end to specify the Loop of SerialPort.Write() to resume.