Parameter Settings and Acquisition

After loading the applet, you can see the parameter tree and the image acquisition window in microDisplay X. Below, a screenshot of the applet Sobel_Filter.hap loaded in microDisplay X is shown.

Parameter Tree and Image Acquisition Window in microDisplay X

Figure 191. Parameter Tree and Image Acquisition Window in microDisplay X


On the left side, the parameter tree is displayed. These parameters are equivalent to the operator names during design phase in VisualApplets. It is important to use a good naming of the operators, in order to find the correct parameters you want to adjust for acquisition. Dynamic parameters are adjustable during runtime. There are two kinds of dynamic parameters: Those parameters, which are only adjustable before start of acquisition (e.g. DMA dimensions) and those, which can be adjusted even during image acquisition (e.g. threshold values of operator IS_GreaterThan).

In this example, you perform the image acquisition using an image from a simulator source and set the binarization threshold to value 150. If you have integrated the parameters of the Parameters library during design phase in VisualApplets, you can set all relevant dynamic parameters under the hierarchy level Parameters in the parameter tree. Otherwise, you need to step though the different hierarchy levels to find the correct parameters we want to set.

In this example, go to the hierarchy level Parameters and unfold it:

  1. Right mouse-click the Parameter Simulation Image. As a result, you can select the example image you want to use for image acquisition.

  2. Load this image by clicking Load Simulation Image.

  3. Set the parameter ImageSource selector to Simulator and the Binarization Threshold to value 150.

  4. Set the image dimensions to 1024x1024 pixels.

After you have set these parameters (or all parameters relevant for your applet), you can start the acquisition. Here you can select between continuous grabbing, grabbing of a sequence or a single frame. To stop the continuous grabbing, click on the Stop button. For the case of a multi process design, you can start and stop the the acquisition of the single processes separately.

For a detailed description of the applet configuration and acquisition with microDisplay X, see https://docs.baslerweb.com/frame-grabbers/files/en/Tools/mDisplayX/Content/3_Runtime/Tools/microDisplayX/Intro/WhatIsmDisplay.htm.