09-20-2011 09:13 AM
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
12-02-2011 03:40 AM
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?