LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embedded IronPython 2.02 in LV 8.6.1 via .net

Hello,

 

Has anybody already successfully embedded IronPython 2.02 in LV?

I have found an example on this web page.

 

Unfortunately this example works with IronPython v. 1.0 but I need the current version 2.02.

 

The current version 2.02 has changed the .NET API. So I modified the code but if I run the VI  I get the error message  System.Reflection.AmbiguousMatchExceptionhas anybody an idea?

 

P.S.: The attached example works with the .NET dllIronPython.dlllocated in

c😕Programme\IronPython 2.0.2\” , after installing IronPhython.

0 Kudos
Message 1 of 4
(4,034 Views)

Hi,

 

I ran this this example without any problems with LV 861 and LV 9, and I do only have IronPyton 2.02 on my WinXP.

Can you try it please?

 

Marco Brauner NIG

0 Kudos
Message 2 of 4
(3,989 Views)

Hi,

 

 

you are absolutely right

This example works fine, but it is using the older Version of IronPython.

The IronPython dll for it, is located parallel to the example VI in the same Folder, but it's the Version 1.0.2258....

 

I would like to use the newer Version 2.0.2 which is located in the program Folder.

 

Best regards,

Norbert

 

 

 

 

Message Edited by NorbertF on 07-31-2009 08:23 AM
0 Kudos
Message 3 of 4
(3,977 Views)

Hi,

 

I am trying to add search paths and dll's for executing a python script. So for this I am using the SetSearchPath method.

For this not i am unable to input the path by adding the path into a IList(since the paths input is of ICollection .net refnum).

 

Can you please help me with this. Also i have attached the VI.

 

 

Thanks and regards,

Yogesh 

0 Kudos
Message 4 of 4
(3,843 Views)