LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error number -2147024882 with ActiveX

I have a piece of LabVIEW code that runs in a timed loop. It passes through the loop once per minute. There are two sub-vis, each of which use ActiveX automation, that get called, first one and then the other, each time through this loop... The machine this is running on has Windows XP installed and I am running the code not under LabVIEW but as a compiled version under the LabVIEW run-time engine, version 7.1. This piece of code runs fine for right at about 60 hours of data collection (give or take say one hour) when both of these two sub-vi's post the following error message,

-2147024882 Not enough storage is available to complete this operation.

And then it provides the path for the particular sub-vi that just reported the error...

From that point forth, the data that was piping over from another application ceases to come over... I ran this same code on my office machine (different computer of course and Windows 2000 instead of Windows XP.

What does this mean??? Any suggestions as to how I resolve this error such that my code can continue to run and collect data indefinitely???

thanks... bob...
0 Kudos
Message 1 of 2
(3,083 Views)
hi there

sounds like you got some memory leakage. check that you close all references (activex, controls or vis) you opened, especially all references you got from property nodes.

best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 2
(3,077 Views)