LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ActiveX: ErrorCode -2147467259

Hello,

 

I have a problem with a ActiveX-Automation Open.

 

I adapt a VI that has been provided with the measurement device. In this VI there are two ActiveX Automation Opens and they have some Invoke Nodes. These Automation Opens are the drivers for the measurement device. These two Automation Opens and there Invoke Nodes work porper. The VI does what it should do.

Now i add a aditional Automation Open, because i need to invole Nodes of other ActiveX-classes. So i open the libaries. This is somehow curious, because there is this ".1" behind the libraries names.(see the attached file "activexdb") Does this affect in any way? Anway i do it this way, because there is no other option.

 

So i run the VI and watch what its doing. And as you can see in the file "DB__load_OK" it seems that the Automation Opens works porper. But then when i start some measurment on the  VI, with a new invoke of my added Automation Open, there occures this Error Message (see file errormsg).

The errorcode is 2147467259.

 

What could the solution to this problem be?

 

Thanks for Help!

Stefan

 

Download All
0 Kudos
Message 1 of 5
(3,912 Views)

Did a quick search for 2147467259 (no - sign) and found the following :

 

http://digital.ni.com/public.nsf/allkb/6F0A918BEA7C895686256EA900737F59 

 

other solutions did come up as well. I would guess your db is access and as the link says its not quiet fully sql compliant

 

Hope it helps 

Please remember to accept any solutions and give kudos, Thanks


LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7
Message 2 of 5
(3,910 Views)

Thanks Akiel for your reply. I did this search too.

But i guess this drivers in the ActiveX-class are not databases...

0 Kudos
Message 3 of 5
(3,896 Views)

no problem, its bit out of my skill set im afraid

 

hope your problem is solved soon 

Please remember to accept any solutions and give kudos, Thanks


LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7
0 Kudos
Message 4 of 5
(3,894 Views)

It does look like all our references are opening correctly, but it is hard to advise further without seeing your overall code. Also, why are you writing the references to local variables? Try making the connection with wires.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 5
(3,887 Views)