11-03-2025 04:07 AM
Here is what i want, when i run the main.vi i want the data to be there in the background in data.vi (without pressing the data.vi button), even if i open the data.vi file from background (please referto the images at top)
11-03-2025 04:17 AM
Hi LaxTe,
@LaxTe wrote:
when i run the main.vi i want the data to be there in the background in data.vi (without pressing the data.vi button),
So you want to read some data file at the very beginning of your main.vi to fill the "data to be here"!?
Did you implement your requirement in some code?
(Or do you need just some "fixed" default data? Did you set those default values in your controls?)
11-03-2025 04:25 AM
actually i want to display the data i am having in data.vi in main.vi display but when i run the main.vi the data.vi's data is not available until and unless i press the data.vi button
11-03-2025 04:36 AM
Hi LaxTe,
@LaxTe wrote:
actually i want to display the data i am having in data.vi in main.vi display but when i run the main.vi the data.vi's data is not available until and unless i press the data.vi button
So you implemented my suggestion from message #16 and still you cannot show the "data.vi's data" in main.vi?
Unfortunately there is no new code supplied by you since message #16…
11-03-2025 04:53 AM
The problem witth "data.vi" is that it has a open front panel and a foreground function.
And it has an while loop that runs until a button is pressed.
11-03-2025 05:26 AM
If you want to run your data.vi in parallel to you main.vi, the you need to start you data.vi asynchron from the main.vi.
Look at the examples in LabVIEW on "Start Asynchronous Call".
11-05-2025 01:21 AM
Yes, you are right that i haven't shared the code after implementing it as it didn't worked.
11-05-2025 01:22 AM
Okay, let me see how this works out.