Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

delete all tasks

Hi !
My problem is the following, i developped a program which can be pilot from TestStand, when my program get the command Initialize, it creates tasks for all boards using csv files... And when it get the command stop appli, it clear all tasks created before... To do this, i created an array of created tasks, and sometimes (because i didn't clear all task created) , i try to create a task that already exist an i get an error...

Is it possible to delete all tasks created in an application even if i don't know their names ?? For the moment i reboot the PXI controller, but i think that's not the good way... Does someone knows a better solution (ideally by software) !

Thanks a lot !
0 Kudos
Message 1 of 1
(3,325 Views)