Removing an Existing DQMH Event
To remove an existing event:
-
Videos demonstrating the following steps and other examples are available at: bit.ly/DelacorQMH
-
Go to Tools>DQMH Consortium>DQMH>Event>Remove DQMH Event….
-
Select the DQMH Module containing the event you wish to remove. This drop down menu will only list valid DQMH modules found within the project.
-
Specify the event you wish to remove. This drop down menu will let you select between all the request and broadcast events in the module.
-
* Note that several requests and broadcasts are considered part of the DQMH core, and cannot be removed: * Core Requests: * Show Module Panel.vi Hide Module Panel.vi Get Module Execution Status.vi Stop Module.vi Core Broadcasts: ** Module Did Init Status Updated Error Reported Module Did Stop Update Module Execution Status Note that if the selected event is the request part of a round trip pair, both events will be removed.
-
Click OK and the specified event will be removed.
-
The error window will be displayed. The developer needs to complete the following actions:
*
In the case of a Request:
* In the Tester VI:
* Open the block diagram and find the event frame configured to test calling this request.
Right-click the event structure and select *Delete This Event Case. This action should also remove the control added to test this request.
If prompted to save the request VI and its argument, select Don’t Save.
* In theDQMH Module Main.vi:
* Open the block diagram and find the event frame configured for this request (It might no longer be listed and instead say something like Unknown Event (0x0)'').
Right-click the event structure and select *Delete This Event Case.
Find the associated <request name> in the MHL
case structure, right-click on the case structure, and select Delete This Case.
If prompted to save the request VI and its argument, select Don’t Save.
In the case of a Broadcast:
* In the Tester VI:
Open the block diagram and find the event frame configured for this broadcast. (It might no longer be listed and instead say something like Unknown Event (0x0)''.)
Right-click the event structure and select Delete This Event Case.
If prompted to save the broadcast VI and its argument, select Don’t Save.
* In the Module Main VI:
* Open the block diagram and find the places where the broadcast VI is called and remove it.
* If prompted to save the broadcast VI and its argument, select Don’t Save.