DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: No instance of Module is running. when trying to use Exe and triggering requests through Test Stand Sequence

Hi,
Please find the attached zip of the Demo code.
It a basic DQMH code.
 
The code has the following functionality.
  1. Test Launcher API is the GUI for controlling the Launcher -- Main.vi which is our DQMH module.
  2. All the button controls on the Test Launcher API call Trigger a Event which calls the corresponding Request VIs
  3. The Request VIs Generate User Events which are Registered to the Event Structure in the Event Handle Loop of Launch -- Main.vi
The Request VIs are Present in the Launcher > Launcher.lvlib > Public API > Requests
 
In order to Test you can perform the following Steps:
  1. Run Test Launcher API
  2. Click Start Module which will run Launcher -- Main.vi via the Start Module.vi request
  3. Click Show Panel which will Display the Front panel of the Launcher -- Main.vi via the Show Panel.vi request
  4. Click Launcher LED Status which will turn on the LED indicator on/off the Front Panel of Launcher -- Main.vi via the Launcher LED Status.vi request  
  5. Click Stop Module which will exit the Launcher -- Main.vi via the Stop Module.vi Request.
We intend to design the application as follows:
  1. Compile Launcher -- Main.vi into an Exe.
  2. Run the Launcher -- Main Exe Independently.
  3. Keep the Request VIs in a Test Stand Sequence file.
  4.  Run the Sequence File to perform a series of steps. (In this case just one  or two steps to ON/OFF the LED indicator on Launcher -- Main Front Panel.)
Problem: When we run the Test Stand Sequence we get the error: No instance of module is running
 
Note:
  1. Test Stand Adapter is set to Labview Run-time.
  2. This is not the actual code but the concept is the same.
  3. We are just trying to debug and verify the concept and the issues using this code.

What am I missing here?

Is there a better way to do this?

 

I have already read the artcile:

https://forums.ni.com/t5/DQMH-Consortium-Toolkits/my-DQMH-PPL-and-VILIB-PPL-best-practices/td-p/4155...

 

However I am not sure what changes are to be made to Obtain Broadcast.vi and Obtain Request.vi as mentioned in this posted.

Can someone please explain it in a simplified manner?

 

Sorry for the lengthy post

 

Regards,

Linus Koli

0 Kudos
Message 1 of 1
(1,242 Views)