LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cumulative Counting

Solved!
Go to solution

Hi,

 

I'm controlling a stepper motor using software timed pulses (effectively) to pitch a probe with respect to a flat surface, varying its proximity.  The voltage gradients (for my configuration) are steeper near this flat surface so I have decided to experiment with using an exponential (growth) distribution of pulses.  Going from one pulse per increment (measuring station) near the surface to something like 30 pulses per increment much further away where the gradients are smaller.

 

I've got the control itself working to specification (as in it responds as commanded to the number of pulses sent) but I want to develop an easy way to track the total number of pulses, i.e. after 5 increments of say (1, 2, 3, 4 and then 5 pulses) on the fifth increment I will record 15 cumulative pulses.  Perhaps someone could provide a quick example which demonstrates how to do this.

 

Please note this question is not referring to hardware/digital counting and I'm using labview v8.5.

 

Thank you.

---------------------------------------------------

LabVIEW 8.5 User.
0 Kudos
Message 1 of 3
(2,207 Views)
Solution
Accepted by topic author cevert73

Search LabVIEW help  "shift register".

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 2 of 3
(2,202 Views)

Got it to work as I wanted, thanks for your reply!

---------------------------------------------------

LabVIEW 8.5 User.
0 Kudos
Message 3 of 3
(2,170 Views)