LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a numeric constant that can be for exampe multiples of 10 etc.

I need to reset a elapsed timer when the while loop iterations reach for example 10 then 20, 30 etc. I am measuring cycle time of a moulding process within the loop. Any ideas??
0 Kudos
Message 1 of 8
(3,860 Views)
Is this what you mean?  I'm guessing you could then use the boolean output to reset the timer.


Never say "Oops." Always say "Ah, interesting!"

Message 2 of 8
(3,854 Views)
See if the attached VI helps. It is basically measuring the time taken to run every 10 iterations and creating an array out of all such 'Time Taken' values.
0 Kudos
Message 3 of 8
(3,842 Views)

Run you iteration count into a "Quotient & Remainer", divied by "10" and check it the remainder is "0" to trigger the reset.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 8
(3,825 Views)

Ben wrote:

Run you iteration count into a "Quotient & Remainer", divied by "10" and check it the remainder is "0" to trigger the reset.

 

Ben


...isn't that kinda like what i've done?



Never say "Oops." Always say "Ah, interesting!"

0 Kudos
Message 5 of 8
(3,821 Views)

James Mamakos wrote:

Ben wrote:

Run you iteration count into a "Quotient & Remainer", divied by "10" and check it the remainder is "0" to trigger the reset.

 

Ben


...isn't that kinda like what i've done?


 

Maybe. Not all of have LV on the machines we use to answer questions. But even if I did, there is value in spelling out what the answer is.

 

If you go back to some of the earliest posting in this forum you will find answer that read like "try this" and they posted a LV 5.0 example. Now that time has passed and modern version of LV can't open those examples those replies have lost their value or worse are burried forever.

 

In order to enusre that answers survive the test of time, I like to include text that outlines the solution and if I have time, an image of the block diagram.

 

On that note Smiley Wink I ask you to please standby for future enhancements.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 8
(3,816 Views)

Ben wrote:

James Mamakos wrote:

Ben wrote:

Run you iteration count into a "Quotient & Remainer", divied by "10" and check it the remainder is "0" to trigger the reset.

 

Ben


...isn't that kinda like what i've done?


 

Maybe. Not all of have LV on the machines we use to answer questions. But even if I did, there is value in spelling out what the answer is.

 

If you go back to some of the earliest posting in this forum you will find answer that read like "try this" and they posted a LV 5.0 example. Now that time has passed and modern version of LV can't open those examples those replies have lost their value or worse are burried forever.

 

In order to enusre that answers survive the test of time, I like to include text that outlines the solution and if I have time, an image of the block diagram.

 

On that note Smiley Wink I ask you to please standby for future enhancements.

 

Ben


Fair point.  I enclose a picture of my VI for posterity!  Smiley Tongue



Never say "Oops." Always say "Ah, interesting!"

Message 7 of 8
(3,811 Views)

 

Thank you James!

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 8
(3,803 Views)