08-11-2015 06:24 AM
Hi,
I am in the process of programming some image analysis algorithms with the LabVIEW Vision Development Module.
What I don't understand is how I can make changes to the Express VI stick. If I change the script in the Express VI, then save it and quit the Vision Assistant, the code in LabView is unchanged. I verify this by again opening the Vision Assistant and reviewing the script I just changed...or thought I changed.
What am I doing wrong? Thanks!
08-11-2015 07:52 AM
The changes to the code are scripted inside the Express VI (i.e. the code implementing the Vision Assistant script is generated inside the Express VI). You won't see any change in the LabVIEW code unless you specifically add/remove controls to be exposed in the last step of the Vision Assistant Express wizard.
To verify that the changes are indeed been taken into account, you can run the LabVIEW code. It should implement the new functionality that you implemented in the Vision Assistant script.
To see the actual code implementing the Vision Assistant script, you can right click on the Express VI on the LabVIEW diagram and select "Open Front Panel". The Express VI is then converted to a "normal" subVI and double clicking on it won't launch Vision Assistant anymore, but instead open the front panel of the VI. You can click Ctrl+E to view the diagram and the LabVIEW implementation of the Vision Assistant script.
Not that when you select "Open Front Panel", you break the link between the Express VI and Vision Assistant. The only way to then change your vision code will be modifying the actual code in LabVIEW, without some of the ease of use that Vision Assistant has (such as visualizing the image when you change parameters, easily trying the algorithm on new images etc).
All LabVIEW Express VIs work this way.
Hope this helps explain the concept.
Best regards,
Christophe