I've got a little 8051 project, in C that does very simple things eg wait for Uart read ADC add offset from eeprom load DAC stuff a string into a LCD Nothing complicated. (I'm really an analogue guy at heart, just doing a bit of 8051 C when required) But I'm getting fed up with using windoze terminal or even procomm to set up some eeprom values. 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 port I've googled for at least 3 hours, any advice appreciated, and apologies for mentioning micro$oft in comp.arch.embedded martin
OT, sorry, simple Windoze GUI
Started by ●August 12, 2005
Reply by ●August 12, 20052005-08-12
The MSComm Control is unavailable in the learning edition? I don't know, I have only used Pro. Have you tried: http://www.yes-tele.com/mscomm.html http://msdn.microsoft.com/library/default.asp?url=/library/en-us/comm98/html/vbobjComm.asp If you have to "register" it, use regsrvr32 It will take care of all of the registry stuff to get the ocx properly initialized for the environment. I am not sure how the licensing works as far as developing an app and commercial marketing with MSComm. I have never had to deal with that. JW
Reply by ●August 12, 20052005-08-12
"martin griffith" <martingriffith@XXyahoo.co.uk> wrote in message news:bvapf1h1f9qc2aivcsnhg67oj5b3atc9fm@4ax.com...> I've got a little 8051 project, in C that does very simple things > eg > wait for Uart > read ADC > add offset from eeprom > load DAC > stuff a string into a LCD > > Nothing complicated. (I'm really an analogue guy at heart, just doing > a bit of 8051 C when required) > > But I'm getting fed up with using windoze terminal or even procomm to > set up some eeprom values. > > 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 portHave 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.
Reply by ●August 12, 20052005-08-12
On 12 Aug 2005 07:30:51 -0700, in comp.arch.embedded "cyberzl1@yahoo.com" <cyberzl1@yahoo.com> wrote:>The MSComm Control is unavailable in the learning edition?That's correct>I don't know, I have only used Pro. > >Have you tried: >http://www.yes-tele.com/mscomm.html >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/comm98/html/vbobjComm.asp > >If you have to "register" it, use regsrvr32 >It will take care of all of the registry stuff to get the ocx properly >initialized for the environment. I am not sure how the licensing works >as far as developing an app and commercial marketing with MSComm. I >have never had to deal with that. > >JWThanks for the links martin
Reply by ●August 12, 20052005-08-12
On Fri, 12 Aug 2005 09:32:38 -0500, in comp.arch.embedded "PabloRena ---> AnalProbe" <AnalProbe@mcsurvival.com> wrote:>"martin griffith" <martingriffith@XXyahoo.co.uk> wrote in message >news:bvapf1h1f9qc2aivcsnhg67oj5b3atc9fm@4ax.com... >> I've got a little 8051 project, in C that does very simple things >> eg >> wait for Uart >> read ADC >> add offset from eeprom >> load DAC >> stuff a string into a LCD >> >> Nothing complicated. (I'm really an analogue guy at heart, just doing >> a bit of 8051 C when required) >> >> But I'm getting fed up with using windoze terminal or even procomm to >> set up some eeprom values. >> >> 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 port > >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 martin
Reply by ●August 12, 20052005-08-12
On 2005-08-12, martin griffith <martingriffith@XXyahoo.co.uk> 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 portI recommend Python and the pyserial module (using tkInter or wxPython GUI widget sets -- the former is probably easier for simple apps). -- Grant Edwards grante Yow! Are you mentally here at at Pizza Hut?? visi.com
Reply by ●August 12, 20052005-08-12
On Fri, 12 Aug 2005 14:55:52 -0000, in comp.arch.embedded Grant Edwards <grante@visi.com> wrote:>On 2005-08-12, martin griffith <martingriffith@XXyahoo.co.uk> 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 > >I recommend Python and the pyserial module (using tkInter or >wxPython GUI widget sets -- the former is probably easier for >simple apps).Thanks Grant, Just going through the wiki while I'm downloading Python martin
Reply by ●August 12, 20052005-08-12
Yes.. Use MFC/C++ and one of the many free Serial classes out there. Also LOTs of info on MS site for how to do this. I would think VB can also do it with ease. "martin griffith" <martingriffith@XXyahoo.co.uk> wrote in message news:bvapf1h1f9qc2aivcsnhg67oj5b3atc9fm@4ax.com...> I've got a little 8051 project, in C that does very simple things > eg > wait for Uart > read ADC > add offset from eeprom > load DAC > stuff a string into a LCD > > Nothing complicated. (I'm really an analogue guy at heart, just doing > a bit of 8051 C when required) > > But I'm getting fed up with using windoze terminal or even procomm to > set up some eeprom values. > > 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 port > > I've googled for at least 3 hours, any advice appreciated, and > apologies for mentioning micro$oft in comp.arch.embedded > > > martin
Reply by ●August 12, 20052005-08-12
On Fri, 12 Aug 2005 15:42:57 GMT, in comp.arch.embedded "Jona Vark" <noemail@all.com> wrote:>Yes.. Use MFC/C++ and one of the many free Serial classes out there. Also >LOTs of info on MS site for how to do this. I would think VB can also do it >with ease.Thanks, but I've never ever programmed anything on a PC, apart from one simple demo program in VB, and that was this morning! I just dont think I'd get any satisfaction from PC programming, doing stuff in 8051 land, (and possibly the MSP430 is next) is just so enjoyable ( for an analog guy ) I'll try Grants suggestion of python first, before getting into anything heavy>"martin griffith" <martingriffith@XXyahoo.co.uk> wrote in message >news:bvapf1h1f9qc2aivcsnhg67oj5b3atc9fm@4ax.com... >> I've got a little 8051 project, in C that does very simple things >> eg >> wait for Uart >> read ADC >> add offset from eeprom >> load DAC >> stuff a string into a LCD >> >> Nothing complicated. (I'm really an analogue guy at heart, just doing >> a bit of 8051 C when required) >> >> But I'm getting fed up with using windoze terminal or even procomm to >> set up some eeprom values. >> >> 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 port >> >> I've googled for at least 3 hours, any advice appreciated, and >> apologies for mentioning micro$oft in comp.arch.embedded >> >> >> martin >martin
Reply by ●August 12, 20052005-08-12
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 EUR2630Have 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. Sebastian