Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

same Read from 2 threads

Hi People!

   I'm developing an application dealing with digital I/O. I have two tasks, one for Input channels, one for outputs.  In my application I've also 2 threads

   my question is: can I perform a DAQmxReadDigitalU8() function, associated with the same task, (say, taskHanlder_1) form the 2 different thread? Can this cause collisions? I mean, if the 2 threads runs "simultaneously" (it is actually impossible, of course on a single processor system), and both perform Read function, what does it happen?

   I'm asking this because I've poor means to test this behaviour...

   Thanks!

graziano
0 Kudos
Message 1 of 1
(3,087 Views)