03-22-2016 08:28 PM
Ah. The simple fix is to wire a TRUE to the AutoReset input on the Elapsed Time. Sorry, I missed that.
03-22-2016 08:34 PM
Thank you soooooooooooooooooooo much my friend. Worked like a charm. Can I marry your brain? rignt now.
03-23-2016 04:45 AM
@tousif54 wrote:Can I marry your brain? rignt now.
Sorry, it is already taken.
03-23-2016 01:07 PM
Having problem again. I am setting on-time and off-time value as 900sec (15 min). But, after the experiment it seems that it remains on/off 2-3 mins longer. Do you have any solution to this problem? Thanks.
03-23-2016 01:26 PM
Post your latest VI.
03-23-2016 01:35 PM
There you go.
03-23-2016 01:38 PM
I can't see any reason in your code why it would run 2-3 minutes longer.
03-23-2016 02:52 PM
@tousif54 wrote:But, after the experiment it seems that it remains on/off 2-3 mins longer.
How are you measuring this? Is it just that the VI does not end once the On/Off sequence is done?
03-23-2016 02:54 PM - edited 03-23-2016 02:56 PM
Nope. The progam is running for one and half hours. So, 3 on-off sequences (each on - 15 min and each off- 15 min). And it seems each on and off sequence taking longer that 15 min from the beginning.
03-23-2016 03:00 PM
The code you attached should give you 15 minute intervals as long as you enter 900 into both controls. I can't see why it wouldn't.
You'll need to put some features in your code to log exactly when the changes occur. "It seems" is not quite as definitive as "I know".
If you use shorter times such as 5 minutes, does it "seem" to take 1 minute longer than it should?