BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do I access a server's peripherals remotely from a clien

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
pk
Guest





PostPosted: Wed Dec 21, 2005 4:26 am    Post subject: How do I access a server's peripherals remotely from a clien Reply with quote




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





PostPosted: Wed Dec 21, 2005 8:56 am    Post subject: Re: How do I access a server's peripherals remotely from a c Reply with quote



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





PostPosted: Wed Dec 21, 2005 2:26 pm    Post subject: Re: How do I access a server's peripherals remotely from a c Reply with quote



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





PostPosted: Wed Dec 21, 2005 4:04 pm    Post subject: Re: How do I access a server's peripherals remotely from a c Reply with quote

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





PostPosted: Thu Dec 22, 2005 3:40 am    Post subject: Re: How do I access a server's peripherals remotely from a c Reply with quote


Thanks Hans. I will try out what you suggested.
Thanks indeed.
Quote:

pk


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.