03-07-2012 06:04 AM
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
03-07-2012 06:13 AM
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
03-07-2012 07:32 AM
Thanks Akiel for your reply. I did this search too.
But i guess this drivers in the ActiveX-class are not databases...
03-07-2012 07:35 AM
no problem, its bit out of my skill set im afraid
hope your problem is solved soon
03-07-2012 08:41 AM
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...