12-20-2011 04:21 PM
Hello.
How to clear or reset all digital output tasks all at once using one single command even though if I open and reserve tasks separately (I'm using E-NET DIO module with 4 DIO pins) via 4 DAQmx create channel.vis. I am aware of opening all 4 tasks at once using single create channel.vi icon and close all 4 at once. But for my specific task I need to have abilty to open 4 separately so I can close one of them anytime without shutting entire tasks down that way. Currently, I have to use 4 clear tasks.vis for 4 opened, separate create channels. Is there any short cut to write a single command in LabVIEW (handy command for emergency shut-down) to E-NET DIO module to reset and force them back to "off" default without using MAX?
Thanks.
12-21-2011 05:23 PM
Hey William,
You can not 'collectively' close out individual DAQmx tasks with a single clear task.vi. Each individual task must be cleared by its own clear task.vi.
Hope This Helps,
Doug B