The configuration of the Initialization, Main, and Cleanup procedure are similar. The configuration is described in the following using the example of the Main procedure.

Click on the Main node to configure the Main procedure.

General tab

Procedure

Select the procedure to be used as Main procedure from the dropdown list. The description of the procedure is displayed in the Description textbox provided the procedure contains a description.

With the procedure, all configured iconic input, control input, iconic output and control output variables associated with the procedure will be loaded. The variables are displayed in their respective tabs.

Iconic input tab

The Iconic input tab shows the iconic inputs configured in the selected procedure. All input variables need to be connected to a source. The tab contains the following columns:

Name, Semantics, Multi value, Description

Display of the appropriate property if defined in the script.

Source

Select the source for the value of this variable.

A click in a Source field opens a dialog where the source can be configured. First select the type, 3 types are available:

  • Image



Enter the path manually to the image file or use the file browser with the button. Note that an image file is loaded only once, at the start of the ibaVision program. If the content of the image file changes during execution of the ibaVision program, the updated content will not be considered.

  • ibaCapture input



The dropdown list under ibaCapture video input lists all configured Video input modules. Select the desired module.

  • Iconic output



Select the desired variable from the dropdown list. The available iconic output variables are listed in a tree structure grouped by procedure type. If necessary, an initial value can be configured for the variable. This will be the case, e.g. when the iconic output from the Main procedure is used in the Main procedure as iconic input. An initial value is not necessary, when the iconic output from the Initialization procedure is used in the Main procedure as iconic input.

Control input tab

The Control input tab shows the control inputs configured in the selected procedure. The input variables need to be connected to a source here. The tab contains the following columns:

Name, Semantics, Multi value, Description

Display of the appropriate property if defined in the script.

Source

Select the source for the value of this variable.

A click in the source field opens a dialog where the source can be configured. First select the type, these types are available:

  • Fixed value



Select the data type from the dropdown list and enter the value in the textfield.

  • ibaPDA input



Select a signal from the dropdown list with all configured ibaPDA input signals.

  • Control output



Select the desired variable from the dropdown list. The available control output variables are listed in a tree structure grouped by procedure type. If necessary, an initial value can be configured for the variable. This will be the case, e.g. when the control output from the Main procedure is used in the Main procedure as control input. An initial value is not necessary when its control input was a control output of a previously executed procedure.

  • DAT file info field input



Select the desired info field. DAT file signal input is only allowed in the Main procedure.

  • DAT file signal input



Select the desired signal.

  • Image time stamp



Select an iconic input that is fed by an ibaCapture input. The program will receive a tuple/array with the timestamp of the current image with these indices:

0 - year 1 - month 2 - day 3 - hour 4 - minute 5 - second 6 - millisecond

Iconic output tab

The Iconic output tab shows the iconic output variables configured in the selected procedure. The tab contains the following columns:

Name, Semantics, Multi value, Description

Display of the appropriate property defined in the script.

Control output tab

The Control output tab shows the control output variables configured in the selected procedure. The tab contains the following columns:

Name, Semantics, Multi value, Description

Display of the appropriate property defined in the script.