09-14-2009 11:48 PM
Hi
I haveinstalled Cygwin successfully with all the required packages mentioned in thelink below. I have also changed the system variable PATH. However, I am stillunable to see the UNIX console using Lab view embedded module – Targets andDevices. (I have downloaded evaluation software of Labview embedded development module and Lab view 8.5). My intention of installing Lab view embedded module is to embed theunix console and talk to Cygwin through lab view and also execute cygwin commandsfrom lab view. I am open to any method which can do this.
http://zone.ni.com/devzone/cda/tut/p/id/5412
Beforegoing further on this, I would like to know few things.
Please letme know if you need a more detailed explanation on this. Also suggest somealternatives if I am not taking the right path.
Thanks
Shasi
08-13-2010 12:37 AM
For using Cygwin in Lab view the only solution I found was to use "System executable" block in the lab view block diagram.
It is a system call from Lab view to the Cygwin.exe. In the “System executable” block in the block diagram of Lab view you just tell it what 3rd party software you want to call (here in my case is Cygwin) & give the path the Cygwin is installed.
Moreover, you can give the inputs the 3rd party software expects (here in my case for Cygwin it is *.pl scripts). Also, you can see the response of the Cygwin software in the lab view front panel after execution of the Perl script in Cygwin.
This makes the Lab view environment friendly enough to deal with GUI like power meters & fancy stuff in front panel (GUI) & use the Lab view “System executable” block for calling any 3rd party application like Cygwin.
Thanks
Shasi