08-12-2005 07:20 AM
08-12-2005 07:26 AM
08-12-2005 07:30 AM
You really shouldn't open a new thread. If you don't understand something, ask and we will explain it.
Like I said in the other thread, you can check if you are running in LV or an EXE by using the Application>>Kind property. To get it, place a property node (from the Application Control palette) on the diagram, click it and find the property.
To set the properties for the VI, place another property node, right click it and select Select Class>>VI Server>>VI. You should have the properties you want under Front Panel Window.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. 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). I believe chapter 17 of the user manual explains about programmatic control of VIs.
03-01-2019 07:28 PM
LabVIEW Core 2 Exercise 4-2, Figure 4-8, Step 3 is similar to what you've said, that I should be able to "Right-click on the Property Node and choose Select Class>>VI Server>>VI>>VI." However, when I do this, the pop-up list for Select Class is dimmed. After reading your answer below, I thought maybe just the Property Node I had chosen had the problem, so I created one from the Stop button, but it also had a dimmed list.
03-01-2019 11:19 PM
Here's a series of images that might help:
Application Property Node
Here's the application property node that has been mentioned. Highlighted is the "Kind" property.
Unlinked Node - changing class
Here you can see me able to change the class to that of VI, if I wanted.
Stop Button Node
In this image, I chose to create a Property Node from a Stop button, as you mentioned. The Class selections are greyed out because the Property Node is directly linked to the Control. If I want to be able to change it, I need to select "Disconnect From Control" in the first menu. Then, it will have the ability to change the class, and inputs for the Reference (sort of blue-green wire at the top, above the error in/out terminals).