05-11-2017
07:12 AM
- last edited on
06-01-2025
05:36 PM
by
Content Cleaner
I created several express Vi to control devices on a bench test.
These express Vi allow to easy program the device. ( power supply, oscilloscope, generator .... )
When i modify the source code or the config code of the express vi, the modification is not deployed in my Labview program.
My Labview program keep the previous version of the express VI.
In this NI help lavbiew 2016 document :
https://www.ni.com/docs/en-US/bundle/labview/page/locating-express-vi-components.html
We can read :
"When you save a VI that contains an Express VI, LabVIEW saves the Express VI inside the VI. When you open the VI, the Express VIs within it load from the same file as the VI and not from the source VI file of the Express VI. Therefore, you must place all the functionality of the Express VI in a subVI that you can update as necessary."
Do you have an example ?
05-11-2017 07:50 AM
Sigh. I must admit that the Help File, to me, sounds like gibberish. I tend to avoid Express VIs whenever I can, and often use the expression "the Dreaded DAQ Assistant" when offering help for simple DAQmx problems here on the Forums. I'll be interested to see what Wiser Heads have to say about this ...
Bob Schor
05-11-2017 09:26 AM
Forget Express VI's they were written for those LabVIEW sales pitches "programming seminars" to show how easy it is to "just throw something together" in LabVIEW.
Express VI's work but they are far to inflexible for any "real" programs.
05-11-2017 11:54 AM
+1 Forget Express VIs
What really is the point of an express VI? It is basically just a standard VI with a config interface that hides functionality and settings from the programmer. For example, when you look at an Elapsed Time VI, you cannot immediately see how long the timer is set. You have to double click the VI to open up the config just to look at the set value.
05-11-2017 04:43 PM
Wow, I never knew I could create my own Express VI!
Now, why would I ever want to create my own Express VI?
"The LabVIEW Express VI... Like training wheels on a Harley!"