05-10-2017 12:35 PM
Hi All,
I have an odd DAQmx problem that only happens in the runtime environment and only happens on the first time I run the executable. After the executable finishes, I can click the run arrow again and everything works as expected. Judging by the error explanation, it looks like I'm trying to get N Samples but the hardware is configured for single point. Has anyone seen this before? The full error text is:
Error -200996 occurred at DAQmx Write (Analog 1D Wfm NChan NSamp).vi:2
Possible reason(s):
Data Transfer Mechanism is not set to Programmed I/O, which is the only value supported when the Sample Mode is Hardware Timed Single Point.
Set your Data Transfer Mechanism to Programmed I/O or change the Sample Mode.
Property: AO.DataXferMech
Corresponding Value: DMA
Property: SampQuant.SampMode
Corresponding Value: Hardware Timed Single Point
Task Name: _unnamedTask<0>
05-10-2017 04:57 PM
Did you expect this to be cloned? Don't know if it makes a difference, just checking.
DAQmx Write (Analog 1D Wfm NChan NSamp).vi:2
05-10-2017 04:59 PM
I call it asynchronously because I want it to run in the background, but I only meant to make one instance at a time.