Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

READ / WRITE Problems on 6501 with Delphi

Hello. I wonder if you can help me. I'm using the National 6501 card and DAQmxbase driver ver. 2.1 (the most recent version I could find) and the function in Delphi language on Windows XP. My application basically needs to read inputs with a timer component at 300 msec rate and write outputs when the operator press buttons. But when I try to write, the system crashes. I tried to use semaphores, mutex and other software implementations, but still, when I try to write, seven times out of 10, the system crashes and does not respond and it is necessary to kill the process. I don't know exactly what's happening but it is as if the call to the DAQmxWriteDigitalU8 does not return or the function DAQmxBaseIsTaskDone does not finish. Has anyone ever had problems with  reading and writing at the same time  when the application needs using at a high rate?
I would very much appreciate your help.
Thanks
0 Kudos
Message 1 of 2
(2,836 Views)
Please see your identical post here
 
Jordan Randall
National Instruments Italy
0 Kudos
Message 2 of 2
(2,818 Views)