LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I store a number in Labview?

This is a simple question so please bear with me.
I have a control where I can enter a number. I then push a button and
this number should be stored. When the user enters a new value and
again pushes the button, the store value is updated with the sum of the
first and second values entered.

Do I need to use a while loop with a shift register to implement this or
is there a better way? Thanks.
0 Kudos
Message 1 of 2
(4,672 Views)
Hi Jeff,
      It sounds to me like a while-loop w/shift-register is the way to go.
 
      You might be interested in looking at a simple calculator example posted by SandmanUK here. Smiley Happy
 
Cheers.
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 2
(4,667 Views)