Using the Tester VI to Troubleshoot an Application while the Application is Running
The Tester VI can be used as a ``sniffer'' that displays thebroadcastevents fired by theDQMH Module Main.vi, and it can also send _request_events.
The following video describes how to use the DQMH API tester as a sniffer. The video is called ``DQMH API Testers As Sniffers'' and it can be found at : bit.ly/DelacorQMH.
Using Tester VI as sniffer video Follow these steps:
-
Run Application.lvlib:Main.vi.
-
On the Application.lvlib:Main.vi that is running and is titled ``Application'', click the Start My Singleton Module button once, a My Singleton panel will show. Then go back to the Application window and click the Start New Instance button several times. Several My Cloneable module panels should appear.
-
Click the front panel controls in Application.lvlib:Main.vi and observe the behavior of the DQMH Module Main VIs depending on the actions you performed.
-
Choose different module instances to communicate with by selecting different options in the Select Cloneable Module Instance ring.
-
Run the Test My Singleton Module API.vi under the Testers virtual folder.
-
Click the Start Module button (at this point, this is only needed to get the correct state on the Module Running? indicator).
-
See how actions on the Application.lvlib:Main.vi are reported in the tester. Also, actions can be initiated from the tester.
-
Repeat steps 5-7 by running Test My Cloneable Module API.vi under the Testers virtual folder.
-
Click the Refresh button to update the list of clones currently running.
-
See how actions on the Application.lvlib:Main.vi are reported in the tester. Also, actions can be initiated from the tester.