05-23-2003 04:22 AM
05-27-2003 08:59 AM
05-30-2011 10:36 AM
Hello!
I´m having the same problem, but i´m using simulink/matlab (the data adquisition toolbox) to read and write simultaneously from PCI-6036E. What can i do to solve the error and change the mode transmission from DMA to IRQ?
Thank you for your attention.
ArquiB.
05-31-2011 09:33 AM
I'm not sure about how to access it in the Data Acqusition Toolbox, but perhaps this might help to point you in the right direction.
In the DAQmx C API, the corresponding DAQmx channel attribute is DAQmx_YY_DataXferMech (where YY is the channel type: AI, AO, DI, DO, CI, or CO). To set it to use interrupt-based transfers, you would set the attribute to DAQmx_Val_Interrupts with something like the following:
DAQmxSetChanAttribute(myTaskHandle, NULL, DAQmx_AI_DataXferMech, DAQmx_Val_Interrupts);
I would expect the approach to be similar in Data Acqusition Toolbox.