Questions on writing to the propeller itself
turbosupra
Posts: 1,088
For the last few months I have been learning c# and I'm about ready to create my first GUI to write to the propeller. I have Hanno's awesome ezlog to view the output, but I'd like to be able to change things via a GUI input.
If I write to the prop I'll have to use which serial protocol?
Can I write/replace just variables (and/or constants) or should I write the entire program I have already coded and just have the GUI replace values before writing the entire thing in one batch? How about objects? How can I attach them if I have to write the entire program back to the prop?
Is there a preceding and post hand shake of sorts?
Thanks for reading!
If I write to the prop I'll have to use which serial protocol?
Can I write/replace just variables (and/or constants) or should I write the entire program I have already coded and just have the GUI replace values before writing the entire thing in one batch? How about objects? How can I attach them if I have to write the entire program back to the prop?
Is there a preceding and post hand shake of sorts?
Thanks for reading!
Comments
With 12Blocks you can drag User Interface elements like textbox, meter, buttons.. directly onto your worksheet to monitor and control your program. To turn that into a standalone application just save it as an "exe". See this tutorial:
http://12blocks.com/tutorial.pdf
Both 12Blocks and ViewPort include a DDE server- you can use this to easily monitor/control programs programmatically. For example, in Excel you can type this formula into a cell to get the value of a variable: "=DDE("vp";"get";"variablename")
12Blocks also includes integration with Skype- so a skype friend can type: "x=1" to set a variable value. It also includes an XML-RPC and ROS server...
Hanno
Hanno
I don't know if that is exactly what I need, because I wanted to build my GUI from the ground up, but I will look into it.