LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with invoke node using Acrobat 7.0

Hello,
 
I am using in my LabVIEW 7.0 code an invoke node to open pdf files.
I have installed Acrobat 7.0 (I was using 6.0 before) and the vi is now broken.
When I try to Insert an Active X object in the invoke node, I do not see any adobe/acrobat control.
If I choose insert document in the invoke node, there is acrobat document option, but it doesn't work either.
Does someone knows how to handle this issue ?
 
Thank you,
Laurent.
0 Kudos
Message 1 of 16
(3,828 Views)
I believe that the equivalent ActiveX control for Acrobat 7 is IAcroAXDocShim in the Adobe ACrobat 7.0 Browser Control Type Library 1.0 Version 1.0.

See if that works for you.

Kenny
Kenny

0 Kudos
Message 2 of 16
(3,814 Views)

Hi Kenny,

thanks for your very prompt reply. I have looked into "Select activeX Control --> Create Control" window: there is no IAcroAXDocShim.

Do I look into the appropriate window ?

Thanks,

Laurent.

0 Kudos
Message 3 of 16
(3,809 Views)

In your VI, delete the green reference wire that connects to one of the invoke nodes (the easiest one if probably the one that you have wired in the error/no error case).  Then right click on the reference terminal go to Select Class > ActiveX > Browse ....  Then go to the Adobe ... that is stated earlier.

 

Kenny

0 Kudos
Message 4 of 16
(3,807 Views)

Kenny,

I did it , but I have still the error messages:

invoke node: invalid method

invoke node: invalid refnumclass

 

Laurent.

0 Kudos
Message 5 of 16
(3,801 Views)

You will ahve to go through and relink all the other invoke nodes.  You can do this by right clicking the invoke node and selecting Relink..

 

Once you do this to all the invoke nodes (i think you had like 20 of them), the VI will work, I tried it.

Kenny

0 Kudos
Message 6 of 16
(3,799 Views)

Sorry to bother you again and again Kenny, I wasn't able to find the relink by right clicking on the invoke node.

 

0 Kudos
Message 7 of 16
(3,793 Views)
I attached a pic of relinking and the your VI with all the invoke nodes changed.  It is saved in LV 8
Kenny

Download All
0 Kudos
Message 8 of 16
(3,788 Views)

Thanks a lot Kenny,

I am still in LV 7.0. I do not see the relink option like you.

0 Kudos
Message 9 of 16
(3,786 Views)
Maybe this is the problem.  Once you get the Invoke node to be the new class (Iacro....), did you create a new control for it?  You need to right click the reference terminal again and select create control.  That should create the green reference box.  You will need to replace the reference that you have on the far left of the Block diagram (it has a blank label, see pics).  Then wire the new control and all the invoke nodes should change to the new invoke node, but grayed (they need to be relinked).
Kenny

Download All
0 Kudos
Message 10 of 16
(3,782 Views)