QUOTE(i2dx @ Aug 7 2007, 01:37 AM)
I wish it were that simple. The Reset NI-DAQmx Configuration appears in MAX at Tool > NI-DAQmx Configuration > Reset DI-DAQmx Configuration, completely clears out all tasks and global channels.
My goal is give my users an interface that will give them choices between loading a set of Default Tasks, use the current tasks or loading a previously saved Configuration of Tasks. The DAQmx Import function merges the incoming tasks with any that currently exist. I can't rely on them to delete the unneeded tasks.
So I'm looking for a way to delete all the tasks and global channels for the instance when the user wants to load the default or previously saved settings.
Thanks,
Dave