LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a Terminal Variable

Solved!
Go to solution

Hello,

 

I want to count the number of times an event occurs, and using that count I will derive the data I need. That is, the counter serves as an 'intermediary' variable.

 

How do I add and intialize a variable without having to add a front-panel item?

 

Thank you

MCU

0 Kudos
Message 1 of 3
(3,393 Views)
Solution
Accepted by topic author MCU

Don't think in terms of variables.  Think in terms of wires.  The wire is the variable.

 

The wire will feed from on side of your while loop to the other.  Shift registers allow the updated value to be carried to the next loop iteration.

Message Edited by Ravens Fan on 02-05-2009 05:22 PM
Message 2 of 3
(3,392 Views)

Hello

 

Thank you very much for the reply.

 

Regards

MCU

0 Kudos
Message 3 of 3
(3,353 Views)