using Gambas for single board pc Appliance
Posted
#1
(In Topic #1019)
Trainee
I am a 20 year vb6 devloper. I am looking into creating a specialized control appliance with a low cost SBC running Linux.
Some of the requirements are a web server (that serves a web interface) and some simple serial communication.
I will probably develop on an ARM SBC with hdmi connection but ultimately run the app as console app.
Is this possible with Gambas?
thanks!
Posted
Guru

Posted
Trainee
I have spent most of the weekend trying to figure out how to proceed. obviously this week will get a Linux SBC install gambas and start learning
I have seen how the web apllication works, although having a tough time understanding how I would get my console app to do this.
the Idea I had was a console app running all the time, and a web user interface that allows me to control various functions of this console app. The console app will be playing back lighting control data to a serial port ( adapted from my vb6 app).
Would the two apps need to talk to each other through tcp or maybe shared memory?
any further enlightenment would be welcome, Hope my question is clear enough.
Posted
Guru

axisdj said
Thanks for the response.
I have spent most of the weekend trying to figure out how to proceed. obviously this week will get a Linux SBC install gambas and start learning
I have seen how the web apllication works, although having a tough time understanding how I would get my console app to do this.
the Idea I had was a console app running all the time, and a web user interface that allows me to control various functions of this console app. The console app will be playing back lighting control data to a serial port ( adapted from my vb6 app).
Would the two apps need to talk to each other through tcp or maybe shared memory?
any further enlightenment would be welcome, Hope my question is clear enough.
You will have a few options
you could set up a web server on the pc board then use gb.web to make a web application running on the server.
If it was me i think i'd try something like this…
On the pc board main system have a controller command running that is listening to a socket address (gb.net).
then the web server has a page that has links/checkboxes/whatever to the socket address to perform the functions
then clicking things sends messages to the socket address via the urls or via post
Posted
Trainee
to review I need a console app that does lighting control calculations and send them out via network or serial port, but I want the user interface for that console app to be a dynamic webpage that is hosted and served from that console app.
1 guest and 0 members have just viewed this.



