11-23-2018 08:36 AM
Hello,
after switch on of an embedded PC*) my compiled Labview 2017 program start by a shortcut in an autostart folder.
And it 'hang' about 10-20s and after this period an error is raised:
Error -200324 occurred at DAQmx Create Channel (AI-Sound Pressure-Microphone).vi:6950001
Possible reason(s):
NI-DAQmx is unable to communicate with the device. Make sure the device is present in and accessible to the system, and is not currently being reset.
Device: M2
Task Name: myTask
After the error the measuring program log the error and restart the measurement loop. Then is all ok.
But the long waiting time possible caused by an timeout in the daqmx driver is not nice.
Possible the daqmx driver is not ready after reboot?
How can I avoid this error? Or can I set the timeout to a lower value, so I can wait in a loop until the DAQmx device is ready?
Peter
*) System config:
Windows 10 ltsb x64 with enabled Unified Write Filter to protect the system against sudden power loss.
cDAQ9174 with 2x 9250, 1x 9234, 1x 9201
Device: M2 is the second 9250.
11-23-2018 08:54 AM - edited 11-23-2018 08:54 AM
11-23-2018 09:06 AM
Hi Gerd,
the daqmx config is:
And the task is valid. The error orrur only once direct after reboot. Possible if I wait 10 ... 30? seconds before start the program no error occur.
Best regards,
Peter
11-23-2018 09:39 AM