LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ni::dsc::exception::COMError

Hello there,

 

i have a LabView application (exe) using shared variables to communication with a compact rio. Additionally i build a shared library (dll) out of those VI's (from exe) which do some shared variable actions to communicate with compact rio. When I run the exe application everything is ok, i can command the crio. Also if i run a c++ application using my generated labview dll i can command the crio. The requirement however is to run both at same time and here comes trouble. Some times it works but sometimes my c++ application throws an error ni::dsc::exception::COMError which seems to come from nitaglv.dll. It does not throw the error immediatly when i call a function from labview dll but for example if a do a sleep() or return from function. The exception comes from some thread which i have not explicity started and I even cannot catch it.

 

I have no clue what is going wrong and also see no possibility to debug more. Maybe one of you habe some idea or similar problem.

 

regards

Thomas


- Thomas -
0 Kudos
Message 1 of 2
(2,476 Views)

I think the issues can come from a request from C++ and LabVIEW to the cRIO resources at the same time.
I don´t think it is possible.

I see your post is several days old. Have you now a solution?

0 Kudos
Message 2 of 2
(2,321 Views)