06-21-2022 07:40 AM
I'm using the code attached in the following link successfully:
https://forums.ni.com/t5/Example-Code/GPS-gather/ta-p/3494576
However, it stuck when using as Sub VI in my program. Any suggestions???
Solved! Go to Solution.
06-21-2022 07:54 AM
Hi Omda,
@Omda2022 wrote:
However, it stuck when using as Sub VI in my program. Any suggestions???
You can copy it's funcitonality, but you need to remove all UI handling stuff including all outer loops…
06-21-2022 08:07 AM
This vi is structured as a main vi, not a subvi. If you want to show its UI in your program, however, you need to edit its properties, Window Appearance, Customize..., the set the following:
also preferably change the Behaviour to Modal.
06-21-2022 08:31 AM - edited 06-21-2022 08:34 AM
For illustration, I need to load some output variable from the GPS.VI (sub VI attached in the previous link) to my VI, not the front panel itself.
Kindly, download my VI attached below for more declaration.
06-21-2022 08:56 AM
I cannot open your vi because currently I have only LabVIEW 2017 on my machine.
If you want to use the vi functionalities, as per GerdW's advice, you need to copy part of the example code (which is not top quality I fear) in your own vi. Especially the subvi's, as the main vi structure is quite bad in my opinion.
06-21-2022 09:47 AM - edited 06-21-2022 09:49 AM