Programmatically Change Preset Parameters in Pattern Matching After Generating VI

Updated Apr 10, 2019

Reported In

Software

  • Vision Assistant
  • Vision Development Module

Issue Details

I am using Vision Assistant to create a Pattern Matching step.  How can I change the Preset Parameters in the setup wizard after I convert the Vision Assistant Express VI into the component vision VIs?  I want to eventually build the VI into an EXE and need to be able to change these settings at run-time. 

Solution

You can use the IMAQ Set Preset Match Options VI to change these settings even when your VI is built into an EXE.  Below is an example of how you can use the IMAQ Set Preset Match Options VI.


Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW block diagram.

Additional Information

If you connect anything to the advanced option input of the Match VI, it will override the preset parameters.

WAS THIS ARTICLE HELPFUL?

Not Helpful