Ni.com is currently experiencing issues that may cause some pages to fail.

Support teams are actively working on the resolution.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Digital Output task works with DAQmx Read

Solved!
Go to solution

Can someone explain why this snippet works?

A digital output task is created and a DAQmx Read works with it, shouldn't the output task only work with DAQmx Write?


weird stuff.png

 

Thanks in advance

CLD

0 Kudos
Message 1 of 2
(2,343 Views)
Solution
Accepted by topic author ArAmM

Hi ArAmM,

 

It is intentional.  Here's a KB with a similar code snippet explaining that this is supported.  It works because the read is returning the current value being output--it does not change the line direction.  You are still driving the line(s) in your task.

 

Message 2 of 2
(2,310 Views)