Search the Community
Showing results for tags 'subvi'.
Good Evening I'm new in LabVIEW, please be patient with me I was working in a User Interface for my application. My plan is to use a main.vi file and load a subvi in each of the four splitters. But there are two problems that I cannnot solve: 1) I want transform the part of the code that change the mouse icon into a subvi. But the option Edit > Create SubVI isn't working well because of the boolean value change in the Event Structure 2) When I load a subvi into a sub panel, I want the "mouse icon change" code work inside the subvi. How can I do that without copying the code into the subvi?
I am trying to read the value of some data in a while loop from a sub-vi (attached as FTP WPF UDP below) into the top-level vi (attached as Proportional Controller VI) but I find that the data is timing out in my top-level vi whereas it runs smoothly withing the subvi. I have used the while loop and the timing in the subvi is synchronized to the external code that sends data via udp to the subvi. Is there a way you think this can be fixed? Below is my attached code. Thank you! Proportional Controller.vi FTB WPF UDP - Original.vi
Hello everyone, Welcome to my first post with which I hope to not embarrass myself I'm currently working on an application in which my main-VI produces a pop-up on startup. It is implemented such, that the main-VI simply calls a SubVI in which I use according invoke- and property-nodes to make sure that the frontpanel is shown in the correct size/postion/etc. - you konw the drill. The pop-up contains a list of checkboxes that the user has to check manually - it is a checklist in that sense. Once he completed checking the appropriate boxes the user can close the subVI frontpanel and continue with the actual application. I have set the "window behavior" (VI Properties>Window Appearance>Customize) to "modal" since I want the frontpanel to be frontmost and obligatory to complete before he can continue on the main-VI. However, here is my problem: After building the application/installer, when I run the application the pop-up does show up, but the window is not showing modal behavior, i.e. without even completing the checklist I can already use the application in the main-VI. I assume, when the application is built/run, only the VI properties of the main-VI are considered relevant for the execution and the VI-properties of the subVI are not even registered. So how can I make sure, that the subVI frontplanel behaves as intended in the final application? Cheers, and I hope I provided the necessary information to give you an idea of the issue. Vinz