LabVIEW: Initialization

Started by
1 comment, last by temo 22 years, 9 months ago
Hello, I have this LabVIEW program that generates numbers through measurements and such. I want to initialize the indicators at the beginning of each run of the program back to 0 so the user does not become confused with the old values vs. the new ones. How do I initialize the values back to 0?
Advertisement
You have to have a frame that writes constant zero to the values, then have the next frame run your program logic. I forget the Labview name for that, but it''s the thing that looks like a roll of movie film. I generally had 3 frames for every program: setup, run, teardown.
Ahh I think it''s Sequence, you need a create a local variable (right click the indicator) and wire it in the first frame of the sequence as Stoffel said.

(I was just on my way here to ask an NI question )

Magmai Kai Holmlor
- The disgruntled & disillusioned
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement