01-25-2006 12:01 PM
01-26-2006 11:45 AM
DAQmxCreateDIChan(taskHandle,"Dev1/port0","",DAQmx_Val_ChanForAllLines);
DAQmxStartTask(taskHandle);
DAQmxReadDigitalU32(taskHandle,1,10.0,DAQmx_Val_GroupByChannel,&data,1,&read,NULL);
DAQmxStopTask(taskHandle);
DAQmxClearTask(taskHandle);
Also, you cannot read and write in the same task. You need to make two separate tasks to do that. I hope this helps!
01-27-2006 04:29 AM
Thank you for the reply. My code is exactly the same as you wrote (only I used the DAQmxReadDigitalU8 command). However, neither DAQmxReadDigitalU32 nor DAQmxReadDigitalU8 is working. The values at &data and &read remain unchanged after executing these commands. It is strange as the DAQmxWriteDigitalU8 command works without problems. In Measurment & Automatization Test panel, read and write work. Please, advise me what to do, I do not have any idea.
Is it possible that the highest output frequency is quite exactly 1 kSa/s? I used the DAQmxWriteDigitalU8 command called continually within one task.
Thanks a lot!
David
01-27-2006 09:48 AM
01-27-2006 10:18 AM
OK. But it strange when one function is working and another not. I think it has nothing to do with the program environment - I am calling the library directly.
And is it possible that the highest output frequency is quite exactly 1 kSa/s? I used the DAQmxWriteDigitalU8 command called continually within one task.
01-27-2006 04:39 PM
01-27-2006 06:27 PM
01-30-2006 10:29 AM
David,
Take a look at this KnowledgeBase article: USB-6501 Benchmarks with NI-DAQmx. As it states, the data transfer rates of the NI 6501 are software timed, also called unstrobed or nonlatched, and do not require status and control signals so the transfer speeds are completely software/computer dependant
01-27-2011 02:21 PM
Hello,
I was wondering where I can find the DLL for the Windows 7 64bit version. I was going to installed the latest driver, but am not sure if the DLL will be included. I might look for it in the system32 directory. I have written my own driver that works for WinXP, but now that I am running it on Win 7, it fails. I belive it is a DLL problem. Any help would be greatly appreciated...
Thanks,
Steve
01-29-2011 06:25 PM
Click on the 'Support' link at the top of the page. You will be taken to a page with a DAQmx link which will take you to the download page with the latest driver.