Updating controls with an action engine
A complex application could consist of SubVIs that are multiple layers deep. It would be difficult for such a SubVI to update an indicator of the main VI. In this recipe, we will demonstrate an example to update controls of a main VI from a SubVI through an action engine.
Let's create the action engine. We will start with the Initialize command.
- Create the action engine as shown in the following screenshot. The first command is Initialize. It obtains the reference of the VI with controls which we would like to update, obtains its panel reference, and the references of all the controls on the front panel of the VI.
- Create the next command "Update Value" of the action engine, as shown in the following ...