|
From: Rolf K. <r.k...@hc...> - 2008-03-12 07:44:26
|
Hi > I am new to this community. Need some inputs from the community. Welcome here! > Questions: How can I call python script from Lab View? > (Basically this script calls some other DLL and print some message in my application) Well you will have to make sure the Python engine can find the DLL. There is a directory in Python where you can drop in Python extensions or if that is not what you want you can change a global path variable in Python to tell it where it can find and load additional modules. You'll have to change that path before you run a script that tries to load that Python module. Don't know offhand what name it has but this should be documented in the Python docs. > In how many ways we can call Python scripts from lab view? Hmm, not sure I understand that question! Personally I would say two! Once in the script node, writing (or copy-paste) your script into it and once through the API Vis that allow to give you dynamic script execution. Rolf Kalbermatter CIT Engineering Netherlands Kanaalweg 25-33 Tel: +31 10 442 1701 2903 LR Capelle a/d IJssel Fax: +31 10 442 1712 Netherlands http://www.citengineering.com |