On Sun, Dec 16, 2007 at 08:57:01PM +0100, Dan H wrote: > On Sun, 16 Dec 2007 12:47:44 -0500 > Patrick <[EMAIL PROTECTED]> wrote: > > > With so many aspects to this does anyone think that using Bash > > would be useful? For example if we designed all the smaller > > programs to read and write from/to standard input and output, they > > could be interlinked with other Bash commands such as ftp, netcat, > > ssh, mailx and so on.. > > > > Lets say a customer had a detector and a pump to pump a sample > > through it. We could write a Bash script that works something like > > this: > > > > -icon launches Bash script > > -sends variable " 2" to pump command to pump 2 ml per minute > > -pump command sends signal to serial port or GPIB bus, etc > > -bash sends variable "230" to set the detector to wavelength 230 nm > > -bash autozeros detector > > -launches plot command > > -after that launches data process command > > -then launches database storage command > > - emails whoever, turns your coffee maker on or whatever....etc..etc > > > > It's a terrible over simplification but hopefully illustrates the > > idea. > > I got the idea but I don't think the Bourne shell (bash) would be a > particular wise choice to implement it, owing to weird programming > paradigms and an almost complete absence of arithmetics. I'm a big fan > of C (and shell scripting as well), but it seems that Python has been > gaining lots of popularity in the past years.
Hello! Or you could do as us and implement control in Ruby. Ruby of Python is quite as good. Then you have a modern scripting language to do control with. And now for wom Gtk promotion. We have been developing a SCADA system in Gtk, C and Ruby with a SQL database as central storage. http://www.freescada.com A tip for you is to "be in the buissines of selling source code". We have had quite a success with this. Most of our competitors have closed code and the customers are locked in. Since we provide our customers with souce code they can expand the application and for them selves check the quality. In this way we have developed an application for the swedish defence. http://www.raditex.se/~gh/bilder/RadarBildPulser.png -- Göran Hasse ---------------------------------------------------------------- Göran Hasse email: [EMAIL PROTECTED] Tel: 08-6949270 Raditex AB http://www.raditex.se Planiavägen 15, 1tr Mob: 070-5530148 131 34 NACKA, SWEDEN OrgNr: 556240-0589 VAT: SE556240058901 ------------------------------------------------------------------ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list