From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

periodic saving

I have been having trouble creating a way to save at intervals of time.  I want to try using the loop iteration instead.  How do I define a variable (n) to be equal to all integers?  If I multiplied a numeric constant by n and connected this to the loop count, and set a case structure to happen when n*constant=loop count,and had my saving functions inside the case structure, would it save at intervals?
0 Kudos
Message 1 of 3
(2,155 Views)

Please stick to your original post.

 

Please be patient. This forum is made up of volunteers, and most of us have full-time jobs.

Message Edited by smercurio_fc on 02-04-2010 04:48 PM
0 Kudos
Message 2 of 3
(2,151 Views)
Use the "Quotient and Remainder" VI. Select your interval and divide the loop count by your interval. Whenever your remainder equals zero do your stuff.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 3 of 3
(2,149 Views)