LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cancel or abort invoke node that hangs up

Hello,
i use an invoke node to grab an image from firewire camera. camera in trigger mode.
application hangs up when trigger signal fails. running VI in highlight execution mode shows that "IICImangingControl, MemorySnapImage" (upside left) hangs up.
VI cannot be cancel with abort execution button.

target: abort invoke node in case of timeout (error handling)
question: how can i abort hanged up invoke node?

timon
0 Kudos
Message 1 of 2
(3,568 Views)
The camera code is an ActiveX/COM DLL that you are calling out to. Unfortunately, when a thread leaves LabVIEW and calls external code, we have no control over it anymore. When you abort the VI, we'll stop the code execution, but we have to wait for the COM DLL to release the thread.

Being able to do this is outside our control, unfortunately. You should look at the camera API, or talk to the vendor, about a method that either has a timeout or is asynchronous in nature.
Message 2 of 2
(3,555 Views)