08-22-2013 12:19 PM
08-22-2013 11:38 PM
Not sure what you mean by "tasks". If you open an Application Reference and wire it to a Property Node, you can specify the AllVIs property that will tell you all of the VIs in memory for that application instance. With this array of names, you could wire (in a For loop, processing each name) to an Open VI Reference, use the reference to open an Exec.State Property Node, and if the state is Run Top Level, you could abort the VI. You might want to test that you are not "committing suicide" by aborting yourself ...
08-22-2013 11:40 PM
Oops, I answered the wrong question. If you only want the list of open tasks, you just need to output those VIs that are noted as Top Level (without worrying about aborting them, since that's not what you asked ...).
08-23-2013 01:09 AM
Hi
If you mean DAQmx tasks, then use the property node for DAQ System (place a property node on the block diagram, right click and go to Select Class -> DAQmx-> DAQmx System)
in the properties of a DAQmx system, you can get list of tasks open.
if you need more help, be clear about what TASKS you mean