Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset digital DAQmx

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.

0 Kudos
Message 1 of 2
(3,992 Views)

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

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,976 Views)