Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: KatzYaakov on May 31, 2019, 12:30:03 PM
-
when i run mach from external app c# i run the program and when finish this program i want get respone(event) that tell
me to the c# app that this file finish and i can start run the next file
thanks
-
Poll the state of the control using mcCntlGetState().
Start the first file running. Poll for the state to change from idle to running (wait on the file to start). Once it is started, poll for the state to change from running to idle.
Steve
-
is there any event that rise when state change?
to use signal ?
-
No. Just poll it every 100ms or so.