Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DIO state after clearing task - 6229pci

Hello,

i'm using a NI 6229 Multifunction DAQ card for digital input/output functionality. My questions are:

1.  Whats the state of the input/output after clearing the task?

For example, i create a task, create a digital output channel (DAQmxCreateDOChan), start the task and write a value that sets all of the used lines high. After that i stop the task and clear it. Whats the state of the used lines now? Are they still set as output and high? Problem is, if i connect a uC-Pin after clearing the task and the state high still is set errors could occur. Is the state defined or is it fortuity more or less?

And by the way a second question:

2. How could i push/pull the written/read line-data immediately without buffering - its very important for testing timing. (Using DAQmxCreateDI/DOChan)

Thank you forward
Andreas


NIDAQmx-Version: 8.7.1f3
0 Kudos
Message 1 of 3
(3,147 Views)

Hi Andreas,

To your Questions:

 


1. The lines stay high, "Clear DAQmx" don't delete the values

2. There is no way to write the Data direct to the lines, you only can write just one sample, but thats buffert to.

Regards,


Jakob

0 Kudos
Message 2 of 3
(3,135 Views)
Hello Jakob,

Thank you very much for your answer.

Greetings
Andreas
0 Kudos
Message 3 of 3
(3,132 Views)