NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Log to Database Completed

I need to be able to determine when the logging to the database is complete when utilizing the TS Engine.  In other words, I have an app that controls the engine but the standard UI won't be displayed so the progress bar indicating logging to database progress won't be seen.  I need to know what I can do to find out when that is finished so I can close the app gracefully.  Thanks.
-G-
-G-
0 Kudos
Message 1 of 2
(2,774 Views)
Hi Grasshopper,

One way to accomplish this would be to edit the LogToDatabase sequence in the process model to send a custom UI Message to your application. For instance, if you are using the LabVIEW operator interface (OI), you could add a callback to the Configure Event Callbacks VI that listens to this custom message. If are not using an OI, you will need to use an Application Manger to listen for the UI Messages.

Another option would be to listen to the UI Message that the process model already posts after calling LogToDatabase, namely: UIMsg_ModelState_PostProcessingComplete

This UI message is posted in both the Test UUTs and Single Pass entry points so, unless you are using a custom entry point, you should be safe.

Regards,
0 Kudos
Message 2 of 2
(2,756 Views)