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>