05-03-2007 04:38 AM
05-03-2007 09:41 AM
Can you attach a simple example to show us what you mean? I am not sure I understand the issue, so it is hard to suggest answers.
As far as calling a subVI multiple times, of course you can within a loop. If you want to have it start with specific values I would suggest having constants on the diagram you use to initialize the controls. Another option is for the main VI to pass the values to the subVI.
05-04-2007 04:46 AM
Hello,
Mirroring what Evan said can you attach your code so I can see what you are trying to do.
Cheers,
Tom
NIUK
05-04-2007
05:14 AM
- last edited on
12-03-2025
03:37 PM
by
Content Cleaner
You might want a state machine, which is a programming device which allows you to go to different points in your code. You could have a "configure" state which will pop-up the VIs for the user. Then, you can just call that state when you want. You can find an example by clicking File>>New and looking in the design templates section for a state machine template.
Also, if the user has to configure all of these, you might wish to create a simpler interface by putting all these screens in a single VI. You can create a wizard interface by putting the controls inside a tab control, hiding the tabs and controlling the displayed page of tab yourself.
In general, to find examples, you should use the example finder (Help>>Find Examples).
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
05-08-2007 03:32 AM
Following is an example of what i mean.. (need to run Program called Main, and Loadngconstants). Essentially i am trying to run Main, and in doing so I need to call Loadngconstants, and that i can do, but during my run i need a user to just be able to call forexample Loadngconstants without rentring all the value again, make sence?
Hope you all can be of help
Mansoor
05-09-2007 04:29 AM