NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to call termination monitor from labwindows/cvi

I am looking to release all my threads and discard all asynchronous timers within labwindows upon closing of teststand. 

 

I am struggling to find much documentations on this topic. Can I please request assistance with this?

 

 

How do I call the termination monitor from labwindows? And which header file should I include?

0 Kudos
Message 1 of 2
(2,805 Views)

Hi J001;

 

You will need to load the tsapicvi.fp function panel into CVI.  This will give you access to all fo the termination monitor functions.  The best place to get more information about these functions is the help.  For instance, the help for the TS_ExecutionInitTerminatonMonitor and the TS_ExecutionGetTerminationMonitorStatus functions will be good functions to look at the help for.  To use these functions you will need to include the tsapicvi.h header.

 

Additionally, this Developer Zone article discusses using Termination Monitor and may be of some use to you.

Cheers,
Kelly R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,779 Views)