On Fri, 12 Aug 2005 20:26:26 +0200, in comp.arch.embedded Sebastian He� <seb@hessware.de> wrote:>martin griffith wrote: > >Hi, > >>>Have you checked into Qt? I don't know if there is a windoze version of >>>this or not, but I've tinkered with it and the learning curve is minimal. >>>I never used this package to do I/O with a serial port, but how tough >>>could it >>>be? Try googling "Qt" or "Qt toolkit" and look for a windoze package. >>> >> Looks impressive, but with the amount of software I write, a bit OTT >> >> Qt License Pricing >> License Pricing (per developer) >> Console Light Desktop >> One Platform EUR1420 EUR1590 EUR2630 > >Have you looked at http://www.trolltech.com/download/qt/windows.html ? >Qt is released as GPL for Windows too, so if you don't want to hide your >source code this maybe an alternative. > >SebastianI missed that, I've looked at some many sites and example today, my head is spinning martin
OT, sorry, simple Windoze GUI
Started by ●August 12, 2005
Reply by ●August 12, 20052005-08-12
Reply by ●August 12, 20052005-08-12
martin griffith wrote:> > Is there a simple way to make a elementary GUI on a XP machine that > doesnt have a steep learning curve and can talk to the serial port >Martin, there is another easy to learn scripting language Tcl/Tk. With only some lines it is possible to build GUIs. Serial stuff is integrated. It works cross platform Windows, Linux, Mac. A first link to the Wiki: http://mini.net/tcl/ and a news group as well: comp.lang.tcl Regards Heinz Ende der eingebetteten Nachricht
Reply by ●August 12, 20052005-08-12
martin griffith wrote:>I've just loaded microsoft VB6 learning edition, (which I bought 4 >years ago, thankfully unused until now) > >I tried to make a little 5 button VB program to chat down the serial >port, but its seems I need "the professional VB package" to talk to >the comms port > >Is there a simple way to make a elementary GUI on a XP machine that >doesnt have a steep learning curve and can talk to the serial portIn my opinion, the PowerBASIC Command Compiler is the perfect tool for this sort of job. See http://www.powerbasic.com/ Other good choices are Python and Qt. They cost less but they are not quite as easy to set up and use as PowerBASIC. This is not to say that either language is hard to use or flawed; it's just that PowerBASIC sets the bar so high that it is hard to beat. :)
Reply by ●August 13, 20052005-08-13
Hi Martin, The trick is noting that opening a comport under windows is to use the 'CREATEFILE()' function with READFILE() anfd WRITEFILE() to receive and transmit respectively. It is really simple if you use non-overlapped mode and just use a timer (50milliesec) to poll usinf the ReadFile() function. Robert
Reply by ●August 13, 20052005-08-13
On 13 Aug 2005 08:57:44 -0700, in comp.arch.embedded robert@suesound.co.za wrote:>Hi Martin, > >The trick is noting that opening a comport under windows is to use the >'CREATEFILE()' function with READFILE() anfd WRITEFILE() to receive and >transmit respectively. It is really simple if you use non-overlapped >mode and just use a timer (50milliesec) to poll usinf the ReadFile() >function. > >RobertThanks, sounds good, just attempting to read the python stuff with notepad++, I'll take a breather later and dig out VB again martin
Reply by ●August 13, 20052005-08-13
On 2005-08-13, robert@suesound.co.za <robert@suesound.co.za> wrote:> The trick is noting that opening a comport under windows is to use the > 'CREATEFILE()' function with READFILE() anfd WRITEFILE() to receive and > transmit respectively. It is really simple if you use non-overlapped > mode and just use a timer (50milliesec) to poll usinf the ReadFile() > function.The Win32 com port API is a horrible mess (even when using Python). Python and pyserial is far simpler. :) -- Grant Edwards grante Yow! I'm encased in the at lining of a pure pork visi.com sausage!!
Reply by ●August 15, 20052005-08-15
martin griffith wrote:> I tried to make a little 5 button VB program to chat down the serial > port, but its seems I need "the professional VB package" to talk to > the comms port > > Is there a simple way to make a elementary GUI on a XP machine that > doesnt have a steep learning curve and can talk to the serial portIf you want a programming language on which you can expand and write other applications I can heartily recommend PowerBasic. There are plenty of example programs on their forums that are close to what you need too. -- Gary Peek mailto:mylastname@mycompanyname.com Industrologic, Inc. http://www.industrologic.com Phone: (636) 723-4000 Fax: (636) 724-2288
Reply by ●August 15, 20052005-08-15
On Mon, 15 Aug 2005 09:35:56 -0500, in comp.arch.embedded Gary Peek <mylastname@mycompanyname.com> wrote:>martin griffith wrote: >> I tried to make a little 5 button VB program to chat down the serial >> port, but its seems I need "the professional VB package" to talk to >> the comms port >> >> Is there a simple way to make a elementary GUI on a XP machine that >> doesnt have a steep learning curve and can talk to the serial port > >If you want a programming language on which you can expand >and write other applications I can heartily recommend PowerBasic. > >There are plenty of example programs on their forums that are >close to what you need too.Thanks Gary, Guy Macon recommended that as well. I'll look into it, but I'll see how far I get with Python first martin
Reply by ●August 15, 20052005-08-15
On Mon, 15 Aug 2005 09:35:56 -0500, Gary Peek <mylastname@mycompanyname.com> wrote:>martin griffith wrote: >> I tried to make a little 5 button VB program to chat down the serial >> port, but its seems I need "the professional VB package" to talk to >> the comms port >> >> Is there a simple way to make a elementary GUI on a XP machine that >> doesnt have a steep learning curve and can talk to the serial port > >If you want a programming language on which you can expand >and write other applications I can heartily recommend PowerBasic. > >There are plenty of example programs on their forums that are >close to what you need too.If you want a really simple programming language have a look at www.libertybasic.com I have used it over serial ports for "configuration" programmes to set up embedded systems. Really easy to use and cheap. Alan -- ++++++++++++++++++++++++++++++++++++++++++ Jenal Communications Manufacturers and Suppliers of HF Selcall P O Box 1108, Morley, Western Australia Tel: +61 8 9370 5533 Fax +61 8 9467 6146 Web Site: http://www.jenal.com Contact: http://www.jenal.com/?p=1 ++++++++++++++++++++++++++++++++++++++++++
Reply by ●August 16, 20052005-08-16
martin griffith wrote:> Is there a simple way to make a elementary GUI on a XP machine that > doesnt have a steep learning curve and can talk to the serial portIf you know C++, I'd recommend FLTK over Qt for a Graphical User Interface library, simply because there is no licensing involved, even for commercial projects (www.fltk.org). It is cross platform (Windows, Unix, Mac), easy to learn, and comes with about 100 sample programms. You still have to find a way to do the serial communication though.