04-07-2005 02:25 AM
04-07-2005 02:19 PM
@Gallus wrote:
Unfortunately both the NIDAQmx and NIDAQmxBase allow no asynchronous reads.
04-07-2005 03:08 PM
@JoeSavage wrote:
@Gallus wrote:
Unfortunately both the NIDAQmx and NIDAQmxBase allow no asynchronous reads.
NI-DAQmx certainly does support asynchronous reads and has equivalent or better functionality of Traditional DAQ in this regard (I don't know enough about NIDAQmxBase to know if it has this functionality, but DAQmx does for sure).
Here are the equivalent DAQmx functions:
SCAN_Start == DAQmxStartTask (after calling DAQmxCfgSampClkTiming)
DAQ_Check == get the DAQmx_Read_AvailSampPerChan attribute using the DAQmxGetReadAttribute function
DAQ_Clear == DAQmxStopTask or DAQmxClearTask
04-08-2005 10:12 AM
04-08-2005 01:33 PM - edited 04-08-2005 01:33 PM
Message Edited by JoeSavage on 04-08-2005 01:37 PM
04-08-2005 03:44 PM
04-08-2005 04:20 PM
04-08-2005 05:05 PM
@JoeSavage wrote:
To be clear about it, the only undocumented function that I referred to is the DAQmxGetReadAttribute() function. The other properties that I mentioned have documented accessor functions, so there isn't a need for you to use the DAQmxGetReadAttribute() function. I'm sorry I brought it up in the first place. Most likely, the reason that function is not documented is to avoid customers getting confused with multiple ways of accessing properties. Now, I've up and confused everybody.
So, use the properly documented read property accessor functions, and forget that I mentioned the DAQmxGetReadAttribute() function (as well as all of the DAQmxGet[x]Attribute and DAQmxSet[x]Attribute functions).
04-08-2005 05:23 PM
04-08-2005 05:29 PM