Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Operator Interface in VBAI 3?

This qustion has two parts:
1) In VIsion Builder 3, is there any option to reflect parameters to the user?, For example, in Count Pixel tool, (look for grey setting), i want that the user will be able to change Lower Value from the running interface of VBAI.
 
2) The second option (im using it for now) is to migrate to labview the inspection steps that i created. But then it alsoq a problem to change the settings. If i add to 'Inspect Main.vi'  a numeric control that suppose to change the 'Lower Value' setting in 'Count Pixel' tool, I cant find a normal way to access to the parameter itself. Because VBAI convert the 'Lower Value' setting to be in inside a typedef in global vi and i dont know how to access this parameter from the 'Inspect Main vi'.
 
Tnx for Help,
HaD
0 Kudos
Message 1 of 3
(3,106 Views)

Hi HaD,
I've the same problem (I posted it some weeks ago, find something like "parameters sheet") and as I know, it is not possible with VBAI.
Don't know how to do in labview (I'm a newbie). Also I thought to let the user modify global variables
in the configuration interface, but in this way he have to stop the execution and unfortunately not all values in
VBAI tools are parametrizable (as the minimum/maximum area of a defect).

Please if you find a good solution let me know (the best would be to have a "parameters tab"  in the main view,  with  a  "Supervisor  password" protecting it).

Bye,

Simone.

Message Edited by simonerom on 12-08-2006 02:32 PM

--
Simone
0 Kudos
Message 2 of 3
(3,091 Views)

If anyone is interested, here is a link to the other thread mentioned by Simone:
http://forums.ni.com/ni/board/message?board.id=60&message.id=5156&query.id=100266#M5156

In this case, I would recommend using LabVIEW to change parameters through a user interface while the inspection is running.  If you are having trouble accessing a parameter from the top level VI, then you could use a global variable to communicate between your top level and the lower level VI where parameters are being read.

Chris M.
Applications Engineer
National Instruments

0 Kudos
Message 3 of 3
(3,068 Views)