Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Change "Acquire Image" parameters with front panel control ISC-1781 and VBAI

I have a new ISC-1781 Windows version camera. I only have the vision software tools that come with the camera and everything is installed locally on the camera’s Windows 10 PC. I have Vision Builder AI 2018.

 

Is it possible to change the “Acquire Image” parameters (exposure, light intensity etc.) using a front panel control on the Inspection Interface?

I am not using LabView only VBAI.

 

Thanks

Brian

0 Kudos
Message 1 of 9
(3,179 Views)

When you have Custom UI front panel controls, you can use the values of those controls to set camera acquisition parameters. Go to the last tab of the Smart Camera Acquisition step and at the bottom is a pull down that allows you to use previous values for the camera acquisition:

Brad_0-1576076564589.png

I made a front panel control in the Custom UI called "Exposure Time (ms)", so that's what shows up in the pull down.

 

Hope this helps,

Brad

Message 2 of 9
(3,164 Views)

Yes. Select the Advanced tab in the Acquire Image (Smart Camera) step. Select the parameter you want to set using the control on your custom UI.

Then use the down arrow on the control and select the custom UI control you want to use to set this parameter.

Any custom UI control can be used in step parameters or even transition conditions.

Let me know if you can get it to work or if you still have difficulties and I can send you an example.

 

Best regards,

 

Christophe

Message 3 of 9
(3,159 Views)

Many thanks Brad and Christophe.

 

This is what I was looking for. I will give it a try.

 

Brian

 

0 Kudos
Message 4 of 9
(3,109 Views)

Thanks everyone, I was able to create 2 controls to adjust the camera parameters.

 

Is there a way I can make variables for these controls? 

 

Thanks

Brian

 

0 Kudos
Message 5 of 9
(2,873 Views)

To make variables, go to Tools>>Variable Manager.  What are you trying to do? Since you can access the value of the Custom UI controls from any state, what do you need variables for?

0 Kudos
Message 6 of 9
(2,868 Views)

I have tried the variable manager and I don't see the controls I made that are on the inspection interface.

 

I want to save the control values (if changed) to an INI file so when the system is started I can set the controls values to their last used setting.

 

Thanks

Brian

 

 

 

0 Kudos
Message 7 of 9
(2,862 Views)

The variable manager only lets you create variables. The different types of variables correspond to their scope. A system variable is available across different inspections, while an inspection variable is only available in the current inspection.

To set the value of the variables. Use the Set Variable step located in the last tab (Use additional tools). This step lists the variables you created and will let you assign them to the controls on your custom UI.

 

Hope this helps,

 

Christophe

 

Message 8 of 9
(2,855 Views)

Thank you Christophe I have it working now per your instructions.

 

Brian

 

0 Kudos
Message 9 of 9
(2,850 Views)