Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

temo

LabVIEW: Initialization

This topic is 6333 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!