LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When PC System timing hits 0000hrs Loops back to start and runs again using Loop function?

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?

0 Kudos
Message 41 of 57
(1,162 Views)

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?

 

0 Kudos
Message 42 of 57
(1,159 Views)

@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!

 


 

0 Kudos
Message 43 of 57
(1,152 Views)

hmmm... alriteSmiley Indifferent

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.

 

Smiley Surprised

0 Kudos
Message 44 of 57
(1,148 Views)

These the pictures of the project how it works and the error occurs.

 

 

regards.

Download All
0 Kudos
Message 45 of 57
(1,118 Views)

These the pictures of the project how it works and the error occurs.

 continues

 

regards.

Download All
0 Kudos
Message 46 of 57
(1,117 Views)

You need to post your latest VI's so we can see.

0 Kudos
Message 47 of 57
(1,102 Views)

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 HELPSmiley Sad

 

regards

0 Kudos
Message 48 of 57
(1,100 Views)

Don't ever use the run continuous mode. Before posing any code, fix that.

0 Kudos
Message 49 of 57
(1,091 Views)

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?

0 Kudos
Message 50 of 57
(1,088 Views)