10-05-2010 10:41 PM
State 1 can actually run quickly. I only put a delay in there to let you see that the code is stepping through. I don't know what you really want to in state 2, but I put a delay in there also so you can see the code stepping through. Likewise in step 3. I don't know what other code you want to have there as well.
You can put local variables of the stop button in the other cases and have them take the state machine directly to the stop case. But is that a valid path that you want your program to run?
10-05-2010 10:46 PM
thanks.. able to see the running state well n understand
on the Front Diagram "STOP" i observed that only click on the "STOP" button then allow the state to return to State 1 after State 3.
is it possible to let it auto "STOP" after 10 secs of wait example and allow the state to return from State 3 to State 1?
10-05-2010 10:57 PM - edited 10-05-2010 11:00 PM
@ADXING wrote:
thanks.. able to see the running state well n understand
on the Front Diagram "STOP" i observed that only click on the "STOP" button then allow the state to return to State 1 after State 3.
??? The program doesn't do this. If you click on the stop button, it goes from State 3 to the Stop State at which point the VI ends.
is it possible to let it auto "STOP" after 10 secs of wait example and allow the state to return from State 3 to State 1?
Why? You said you wanted it to go to state 1 only if the date changes. Now you want to do it after 10 seconds? You seem to keep changing your requirements!
10-05-2010 11:00 PM
hmmm... alrite
sorry about that...
its my task require...
i'll figure it out through on your reference done so far...
any doubt will ask though here again...
many thanks so far...
sorry for any inconvenience caused.
10-10-2010 09:21 PM
These the pictures of the project how it works and the error occurs.
regards.
10-10-2010 09:22 PM
These the pictures of the project how it works and the error occurs.
continues
regards.
10-10-2010 09:39 PM
You need to post your latest VI's so we can see.
10-10-2010 09:41 PM
Ravens Fan,
my latest VI all compound into a folder that takes up 40MB.
is it possible i forward you through email?
thanks...
Badly need HELP
regards
10-10-2010 09:43 PM
Don't ever use the run continuous mode. Before posing any code, fix that.
10-10-2010 09:47 PM
No. My e-mail could never handle a file that big.
You may have to do your own troubleshooting on that. Put some probes and indicators in the state where the folder gets created and see if there is any reason it is not creating the folder you need. Is somehow the calculation of the new folder name falling apart? Is there an error created by the Create folder function?