Offline
Newbie
Karma: 0
Posts: 13
|
 |
« on: January 19, 2013, 11:32:07 am » |
Hello everyone, I'm developing a software to program arduino with graphic blocks (and, or, limit, level, Switch, conv-IR, SetReset, etc..). I have already developed the IDE and I made the block connections with wires.  My idea was to create a source code generator, then pass it to the arduino to make and load. Soon will finish the first version (0.1) with some blocks to go.  At least I try. I developed with vb6 I hope it will be a good idea 
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15443
Measurement changes behavior
|
 |
« Reply #1 on: January 19, 2013, 11:42:09 am » |
So are going to name it VisualArduino?  Good luck with your project. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 13
|
 |
« Reply #2 on: January 19, 2013, 12:24:37 pm » |
I tried modkit editor, but what I'm developing is not with that kind of block. modkit is really easy, but one to which I'm working is really strong. 
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 101
Posts: 9551
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #3 on: January 19, 2013, 12:48:16 pm » |
Can you post some sneak preview images ... ?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 13
|
 |
« Reply #4 on: January 19, 2013, 12:57:20 pm » |
Programming is like this
In addition, I added the ability to create pages to expand the program with possible links between the blocks of two different pages.
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 101
Posts: 9551
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #5 on: January 19, 2013, 02:48:16 pm » |
Thanks for posting the image but unfortunately the quality is unreadable at best (but that might be on purpose for a sneak preview?)
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 336
Posts: 36462
Seattle, WA USA
|
 |
« Reply #6 on: January 19, 2013, 05:43:21 pm » |
I developed with vb6 You were doing so good. Too bad you had to spoil it.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 13
|
 |
« Reply #7 on: January 20, 2013, 04:53:18 am » |
You were doing so good. Too bad you had to spoil it.
 You're right, it is not the best, but do it before and it's quite simple. On linux then I think we can run with WINE since I do not use special libraries. ;-) Tomorrow I will try to post a picture of the progam. 
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 13
|
 |
« Reply #8 on: January 21, 2013, 03:45:49 am » |
As promised, I attach two screenshots of the program. 
|
|
|
|
|
Logged
|
|
|
|
|
North Queensland, Australia
Offline
Edison Member
Karma: 35
Posts: 1279
|
 |
« Reply #9 on: January 22, 2013, 07:54:15 am » |
Interesting, there is another program I saw a while ago that did similar things. The idea is nice, I'm just sceptical as large sketches would become very busy on screen without a smart way of organising things. I'm only guessing though, I tend not to use the "drag 'n' drop" options with the editors I use.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 13
|
 |
« Reply #10 on: January 22, 2013, 11:38:37 am » |
I decided to organize the program in pages (functions), some blocks will draw pages directly at the point of execution or after a certain time (task type). I thought of including certain functions with a free text editor that runs in the same way so you can run code in graphic detail that would be complex. Some functions will be connected to the trigger, according to type of hardware.
I enclose a screenshot that manages the opening of a damper according of a DI or a temperature level of AI.
In the future I would like to also enter Proportional Integral etc. for the adjustments
Ciao
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 101
Posts: 9551
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #11 on: January 22, 2013, 11:56:00 am » |
I'm just sceptical as large sketches would become very busy on screen without a smart way of organising things. It would be a nice feature if the application recognizes that a certain block is becoming large and automatically proposes to make / split of it a function.
|
|
|
|
|
Logged
|
|
|
|
|
North Queensland, Australia
Offline
Edison Member
Karma: 35
Posts: 1279
|
 |
« Reply #12 on: January 22, 2013, 10:57:44 pm » |
Yeah that's a good method, I'm thinking along the lines of collapse-able code segments translated to collapse-able groups of objects.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 13
|
 |
« Reply #13 on: January 23, 2013, 06:49:25 am » |
I'm just sceptical as large sketches would become very busy on screen without a smart way of organising things. It would be a nice feature if the application recognizes that a certain block is becoming large and automatically proposes to make / split of it a function. Right, I made a function "GOTO" that performs a set of blocks defined. With a double click in the header of the block splits. Great. All blocks that link to pages included in the project behave this way thanks for the tip
|
|
|
|
|
Logged
|
|
|
|
|
|