User | Kudos |
---|---|
6 | |
5 | |
3 | |
3 | |
2 |
The concept is to have a project level #define or variable where a value of your type can be set. This is to allow the user to change constants across multiple targets. Wherever this is called in code it will be set when the run button is clicked and then be static until it is run again. The same would happen when a build is run that the value is set then and never again.
This would allow multi target configuration quite simply and make for some more readable code when you a constant referred to at multiple levels or across large chunks of code. Instead of having a wire to span these sections or being passed down multiple subVIs it would just refer to one point, much as a #define in C
Project
Then calling code for targets
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.