Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple plots on Waveform chart - Vision Builder

I am struggling with placing multiple plots on a Vision Builder Custom Inspection Interface.

 

This is trivial in Labview of course.  In Vision Builder you can only add one datapoint to the chart in the Update UI step.

I have tried to run a Labview VI in Vision Builder, but cannot utilize the multi-signal group or working chart from the VI.

 

Can this be done?

 

Help is appreciated,

JC

0 Kudos
Message 1 of 4
(4,606 Views)

Yes, you can add code to the diagram of the custom UI (LabVIEW primitives only), and request Vision Builder to run that code.

0 Kudos
Message 2 of 4
(4,600 Views)

When creating a new Custom UI, I see the option to run a Labview VI.

However, I have an existing Custom UI that has quite a bit of time invested in it.

 

How do I add a VI to an existing Custion Inspection Interface?

Is the solution then:

     1. export my existing UI as a Labview VI

     2. Add the function blocks and capabilities to the exported VI

     3. Re-import the modified VI into Vision Builder

     4. I assume that the 'Update UI' steps will need to be relinked to the new UI.

           

A time consuming endeavour in this case, but if that is the only solution...

Any other insight?  Am I on the right track?

 

JC

0 Kudos
Message 3 of 4
(4,589 Views)

If you defined your custom UI using the Inspection Interface Editor, then yes, you have the solution and steps right.

If you're not changing the names of the controls on your UI, you should not have to relink the controls in the Update Inspection UI step. It should just work.

You just need to edit the step to enable the checkbox "Run theVI after updating indicator".

 

Christophe

0 Kudos
Message 4 of 4
(4,584 Views)