| View previous topic :: View next topic |
| Author |
Message |
pk Guest
|
Posted: Wed Dec 21, 2005 4:26 am Post subject: How do I access a server's peripherals remotely from a clien |
|
|
Hi! I am new to web applications in BCB. I wish to do a web application where I am aiming to access a server from clients via a browser. i.e I wish to control some hardware connected to the parallel port of a server from any computer on the internet. e.g When I click some button(available on a browser) from a client, then the server should output some word through the parallel port. I wish to include a comprehensive GUI in my appn.
Would someone give me the best options of achieving this.
Regards.
|
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Wed Dec 21, 2005 8:56 am Post subject: Re: How do I access a server's peripherals remotely from a c |
|
|
pk wrote:
| Quote: | Hi! I am new to web applications in BCB.
|
Please can you wrap your lines manually ? Now it is difficult to
reply selective.
If you are new to web applications, did you have a look at the
web example in the Examples directory ?
| Quote: | I wish to do a web application where I am aiming to access a
server from clients via a browser. i.e I wish to control some
hardware connected to the parallel port of a server from any
computer on the internet. e.g When I click some button
(available on a browser) from a client, then the server should
output some word through the parallel port.
|
Where do you need help ? Are you able to output data to a
parallel port ? If not: ask in the ...nativeapi newsgroup.
Al you want further is in the Examples directory. If you
want to build on the example then for further questions
use the ...internet.web newsgroup.
| Quote: | I wish to include
a comprehensive GUI in my appn.
|
A browser can display quite attractive gui's nowaday.
| Quote: | Would someone give me the best options of achieving this.
|
What kind of info are you asking for the gui part ?
Hans.
|
|
| Back to top |
|
 |
Paul Kariuki Guest
|
Posted: Wed Dec 21, 2005 2:26 pm Post subject: Re: How do I access a server's peripherals remotely from a c |
|
|
Thanks for your help.
I will then clarify my problem further:
Are you able to output data to a
| Quote: | parallel port ?
I have no problem outputting data from the parallel port. The problem
would be how to make those functions act on the server from the client. But |
with the web examples, I hope there will be no problem.
| Quote: |
A browser can display quite attractive gui's nowaday.
What kind of info are you asking for the gui part ?
For the GUI part, I wish to have an interface showing a graphical |
representation of the system I wish to control(in this case a water tank
level control system). For example I wish to display the water level in a
tank as it falls, I need to show when the inlet is carrying water, and
even show when the output valve is open/closed. i.e A comprehensive Human
Machine Interface.
I was thinking of using an ActiveForm but I am aware of the restrictions
faced with ActiveXes e.g them not being so acceptable. So I thought I
should ask for your opinion on an alternative.
pk.
|
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Wed Dec 21, 2005 4:04 pm Post subject: Re: How do I access a server's peripherals remotely from a c |
|
|
Paul Kariuki wrote:
| Quote: | I have no problem outputting data from the parallel port. The problem
would be how to make those functions act on the server from the client.
|
Why do you think that that would be different ?
| Quote: | But
with the web examples, I hope there will be no problem.
|
Meanwhile you tried them ?
| Quote: | For the GUI part, I wish to have an interface showing a graphical
representation of the system I wish to control(in this case a water tank
level control system). For example I wish to display the water level in a
tank as it falls, I need to show when the inlet is carrying water, and
even show when the output valve is open/closed. i.e A comprehensive Human
Machine Interface.
|
You can let the webapplication generate pictures of progressbars
that indicate the level and/or a open/closed valve. Convert to jpg
or png and let the browser display.
| Quote: | I was thinking of using an ActiveForm but I am aware of the restrictions
faced with ActiveXes e.g them not being so acceptable.
|
Indeed.
| Quote: | So I thought I
should ask for your opinion on an alternative.
|
You could just let the webapplication generate one jpg which
shows the whole plant. Or let it modify a picture of th eplant
for the level and the valve.
You could write some javascript timerfunction that would ask for
a refreshed picture after an interval.
Hans.
|
|
| Back to top |
|
 |
pk Guest
|
Posted: Thu Dec 22, 2005 3:40 am Post subject: Re: How do I access a server's peripherals remotely from a c |
|
|
Thanks Hans. I will try out what you suggested.
Thanks indeed.
|
|
| Back to top |
|
 |
|