07-30-2009 10:07 AM
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.AmbiguousMatchException” has anybody an idea?
P.S.: The attached example works with the .NET dll “IronPython.dll” located in
“c😕Programme\IronPython 2.0.2\” , after installing IronPhython.
07-31-2009 07:47 AM
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
07-31-2009 08:23 AM - edited 07-31-2009 08:23 AM
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
03-17-2010 01:24 AM
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