From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-19-2005 10:04 AM
DAQmxCfgOutputBuffer
DAQmxCfgSampClkTiming (taskHandle, "ao/SampleClock", 100, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 10);
DAQmxWriteDigitalLines
DAQmxStartTask -> this is when I get the warning 4294766817. Why?
Any better way to set the sample clock? I need to do it using internal clock in 6221.
Thank You,
Mark.
08-19-2005 11:18 AM
08-19-2005 01:06 PM
Oh yes - with another error/warning telling me not to. Also in an example code that is the sequence - stop, set up, write, start.
Mark
08-19-2005 01:17 PM
08-22-2005 11:48 AM
Hello Metrikos,
I've got a couple things. First, could you be more specific as to where in the DAQmx C Reference Help you are referring to. Secondly, attached is an example of corellated digital input with analog input. I know this isn't exactly what you are trying to do, but it might give you a good reference.
-Alan A.
08-26-2005 05:16 PM
08-29-2005 08:24 AM
That's correct. I should have mentioned this before, but there is no dedicated digital timing engine on M Series devices. So to perform timed digital operations, you have to use another clock source, like analog in or out, a counter, or an external source.
-Alan A.