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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DAQmx -223788 Error Solutions?

Solved!
Go to solution

Has anyone else encountered this DAQmx error before and if so what was the cause?

 

MIO error.PNG



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
0 Kudos
Message 1 of 3
(2,491 Views)

Hi blackburnite,

 

The error code displayed appears to be a custom error code, and therefore I have not been able to identify any documentation on the cause. Based on the details it seems that the error may be related to the location of your DAQmx Start Task, so the following link may be a helpful reference.

 

When to Use DAQmx Start Task and Stop Task VIs in LabVIEW: http://digital.ni.com/public.nsf/allkb/0622DCB1E143EB7F86256D270078B07F

 

Chris B.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 3
(2,406 Views)
Solution
Accepted by topic author blackburnite

Yes the info on this particular code is vague.  I think it’s a low level DAQmx driver error which TestStand flagged as a custom user error.

 

In any case, though I don’t yet fully understand the root cause as to why, but the issue was due to a piece of inherited legacy code which was manually allocating a buffer of 1 million samp/ch creating what I suspect was some memory issues creating and destroying multiple tasks, each with many channels all with that high buffer allocation.

 

Removing this and using the dynamic buffer allocation built in to DAQmx seems to have solved the issue.



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
0 Kudos
Message 3 of 3
(2,404 Views)