Shop OBEX P1 Docs P2 Docs Learn Events
Control Panel Stuff — Parallax Forums

Control Panel Stuff

steprogsteprog Posts: 227
edited 2009-10-08 19:55 in Propeller 1
Ive been digging around for a professional way to make a control panel that would interface with the prop.· I looked
Robotbasic - Seems to have a neat interface, but not really professional looking
LabView - looks good and the interface has been worked out here in the discussions, but kinda pricy
Viewport - Has a good interface well documented and has that cool OpenCV·but seems tough for me to make a unique control panel look for my project. Trying but not much luck

Have I looked at everything? am I wrong here? Is there something Im missing.

Having a good interface has seemed to plague me for my products.
Thanks for any suggestions

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-10-08 00:30
    You can use pretty much any modern general purpose programming language (Java, C/C++, VB, etc.). Basically, all that is required of the language is that it has the ability to open a COM port and the ability to do GUI. The programs that you mention are just platforms that other people have made, they don't have any inherent requirement for communication with a uC.
  • RaymanRayman Posts: 14,864
    edited 2009-10-08 00:52
    I would suggest Visual Basic Express... I think it's free and you can make a custom GUI...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • HollyMinkowskiHollyMinkowski Posts: 1,398
    edited 2009-10-08 02:15
    You might be able to use these free BASIC tools to do this.
    This translator is easy to use and generates C code that
    is great for learning C if you ever want to.

    The exe files this generates are extremely compact.

    bcx-basic.sourceforge.net/

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Where am I? Where am I going? Why am I in a handbasket?"
  • HannoHanno Posts: 1,130
    edited 2009-10-08 03:03
    Do you have a mock up of what you want your interface to look like? And description of how you want it to behave?

    By now, ViewPort has a pretty complete collection of "widgets" that have all sorts of behavior and can be customized with the built-in Visual Designer. Think of ViewPort as a web browser, each "view" is defined by an XML file that arranges widgets onscreen. It's not trivial to build new views- because designing an interface takes time, but I think it's as easy as can be. Of course defining your own widget is more difficult, that requires actual programming- but the development kit gives you a good start.
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Download a free trial of ViewPort- the premier visual debugger for the Propeller
    Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2009-10-08 03:41
    Hi , Visual Basic Express produces a nice GUI for projects . I would recommend·using a·good graphics package for·the art work to get the "professional" look.

    If you need any additional help getting started·I might be able to help with the code a little.

    Jeff T.
  • TreeLabTreeLab Posts: 138
    edited 2009-10-08 03:47
    I have used Delphi to drive Hanno's ViewPort via the DDE interface. It makes a very fast interface, and the Delphi is a visual design program (Pascal-like code).
    Cheers!
    Paul Rowntree
  • steprogsteprog Posts: 227
    edited 2009-10-08 08:36
    Thanks guys for the input. I will check out a bunch of this. Hanno I haven't figured out how you create a control panel with your examples. I sure wish I could do that it looks like the quickest. I haven't tried the Delphi trick yet and pascal is pretty easy for me. Back in the day I was a mean Turbo Pascal programmer. Visual Basic Im sure would produce some good stuff but I downloaded it last night and man has it changed. I a little concerned with the learning curve.
  • LeonLeon Posts: 7,620
    edited 2009-10-08 10:09
    Altia Design is a nice piece of software for that sort of thing:

    www.altia.com/

    It might be a bit expensive for you, though.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • VIRANDVIRAND Posts: 656
    edited 2009-10-08 10:28
    I like touchscreens, but I don't have any except on my PDA's.
    I like how the original Palm Pilot didn't waste Megabytes or Gigabytes to be GUI.
    A Propeller with a touch screen of any size would be nice.
    I also Don't like a PC controlling the Propeller all the time. Hooray for stuff like PropDOS and femtobasic.

    Draw a control panel, then program the Propeller to draw it using GRAPHICS object.

    I also like to disassemble big old industrial control panels and dream of assembling an even bigger one,
    for a synthesizer or something industrial automated or some kind of virtual space ship.
  • TreeLabTreeLab Posts: 138
    edited 2009-10-08 13:59
    Steprog : Do you have Delphi? If so, I can send you my interface DDE examples with ViewPort and you can see how it hangs together (it is very simple, and follows the std examples exactly). I have been promising Hanno this code for a while, but if there is someone who needs the code, it might speed it up a bit. I use Delphi 2006.

    I agree with VIRAND that sometimes it is good to break the umbilical cord to the PC. Unfortunately, most prop boards will reset when the com line is released. It would be nice to have the reset line (DTR?) on a jumper to disable this behaviour.

    Cheers!
    paul rowntree
  • HollyMinkowskiHollyMinkowski Posts: 1,398
    edited 2009-10-08 14:39
    So ViewPort is a Delphi app?

    MZP.... smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Where am I? Where am I going? Why am I in a handbasket?"
  • TreeLabTreeLab Posts: 138
    edited 2009-10-08 17:57
    HM : No, that is not my meaning. I have written a Delphi interface that uses the underlying DDE routines of the Windows OS to communicate with Hanno's ViewPort. This allows my code to exchange information with ViewPort, which then shares the data with the propeller via his Conduit communication routines. The Delphi app can also send commands to ViewPort.

    EDIT : I forgot to mention that while it is easy to write native RS232 codes in Delphi, the advantage of going through ViewPort is that Hanno has worked the Conduit transfer rate up to 2 MBits/sec (which is ~20x faster than I could get the serial port routines to run under WinXP) and because in many cases it can remove the need for a command parser loop that sits and watches the incoming information stream. This may or may not be an advantage for your apps.

    I have no idea what language Hanno used, except that it is a dotNet system.
    Cheers!
    paul rowntree

    Post Edited (TreeLab) : 10/8/2009 10:15:23 PM GMT
  • T ChapT Chap Posts: 4,223
    edited 2009-10-08 19:55
    RealBasic is $100 and is quite easy to get started making custom apps with. Serial to Prop is very easy. The forum is comparable to this one. Multi platform builds.
Sign In or Register to comment.