LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ assistant is not recording data when case structure is false

Solved!
Go to solution
Solution
Accepted by topic author tousif54

Ah.  The simple fix is to wire a TRUE to the AutoReset input on the Elapsed Time.  Sorry, I missed that.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 11 of 30
(1,825 Views)

Thank you soooooooooooooooooooo much my friend. Worked like a charm. Can I marry your brain? rignt now.  Smiley Tongue

0 Kudos
Message 12 of 30
(1,821 Views)

@tousif54 wrote:

Can I marry your brain? rignt now.  Smiley Tongue


Sorry, it is already taken.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 30
(1,786 Views)

Having problem again. Smiley Frustrated 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.

0 Kudos
Message 14 of 30
(1,766 Views)

Post your latest VI.

0 Kudos
Message 15 of 30
(1,762 Views)
0 Kudos
Message 16 of 30
(1,756 Views)

I can't see any reason in your code why it would run 2-3 minutes longer.

0 Kudos
Message 17 of 30
(1,751 Views)

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


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 18 of 30
(1,738 Views)

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.

0 Kudos
Message 19 of 30
(1,732 Views)

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?

0 Kudos
Message 20 of 30
(1,725 Views)