Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 200088

I have compiled a Labview dll (Labview 2013) with standard Daqmx functions in it and am calling the dll from Freemat (Matlab). This dll works well writing & reading from a USB-6501 via the Freemat/Matlab program. However when certain Freemat/Matlab sub routines are called (that don't have Daqmx in them) and then returned to the main Freemat/Matlab program the next read/write I get the Error -200088 'task specified or does not exist'. 

NI Daqmx 14.0

Max 14.0

Labview runtime 2013 sp1

Windows 7

 

What non Daqmx event would cause the Daqmx function to do this?

Attached is the Ni i/o trace.

 

 

 

 

 

0 Kudos
Message 1 of 3
(6,243 Views)

Hi Steve,

 

Have you tried calling your dll from LabVIEW? In that way we can isolate whether there is a problem with your dll or with MatLAB.

 

Thanks

 

Ingram

0 Kudos
Message 2 of 3
(6,214 Views)

I have isolated the problem further.

 

 

It would seem that the Matlab code has some code in it that opens & closes ethernet IP sockets (ports). When this occurrs it somehow interupts the Daqmx or Max (server?), which results in the error message 200088 occuring on the next call to a dio via Daqmx.

 

also see:

 

http://forums.ni.com/t5/LabVIEW/error-2147220719/m-p/3098450/highlight/true#M886841

 

Not sure what can be done about this, not sure what the Max (server) does.

0 Kudos
Message 3 of 3
(6,203 Views)