LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing AND Reading digital values 6224

Hi

I have a problem using the PCI-6224 card, and DAQmx functions .

I'd like to know if it is possible to Write values in a port, and then read the values on the same port?

The problem is that when I try to Read the values, without closing the Write task, a popup says that there is a problem and that the device might be reserved by another task.
And when I close the Write task,  the Function that closes the Write task puts the device to the state it was before I called the Write task. So I cannot read the values that I wrote because they are reset by the close function.

So is it possible to do both, reading and writing  in the same programm wihout reseting the digital values when closing a write task?


Thank You for your responses

Yazid

0 Kudos
Message 1 of 1
(2,814 Views)