07-29-2008 11:32 AM
07-30-2008 03:23 AM
07-30-2008 04:02 AM
DAQmx Error: Measurements: Requested value is not a supported value for this property.
Property: DAQmx_SampTimingType
You Have Requested: DAQmx_Val_Implicit
You Can Select: DAQmx_Val_SampClk, DAQmx_Val_OnDemand
Task Name: ReadDiffAnalogueChannel
Status Code: -200077
07-30-2008 04:22 AM
07-30-2008 06:06 AM
07-30-2008 07:41 AM
Hi Richard,
Thanks for that, although sadly I am unable to run your program on my machine (VS 2005/08) as it won't up convert correctly. I am in the process of verfying this at a lower level (granted under a different language) just to ensure this is do-able etc. I will let you know what I find,
Kind Regards,
07-30-2008 08:00 AM
Hi Richard,
The AI channel will not do the implicit timing you require, this is due to it being a timing type for a counter source and is normally used in this manner, I would suggest just using this function to get the finite samples in from your system:
DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",rate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,sampsPerChan));
Here are some KB's of use regarding this:
Implicit Meaning for DAQmx Timing
All the best,
07-30-2008 08:45 AM