Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello everyone,

I am developing a web application in that I have to communicate with one of the weigh scale ( digital machine)machine , Its give a response inn ASCII Character.

How it is possible in web application. were Server and local machine are not at a Same place, if it is !!!than I have no problem its working fine but need help for if server and local machine are at different place.


I am able to do in desktop application because my server and local machine are same. But not able to do while my Server and local machine are different,
because a weigh machine is attached with a local machine and my application hosted in server and server and local machine are not at a same place.

lets comment if any query regarding question.

Thanks in advance
Posted
Comments
Sergey Alexandrovich Kryukov 6-Aug-15 9:18am    
It's important where your scale is?.. :-)
—SA
Member 13291052 4-Jul-17 18:31pm    
Hi, how u can receive data from serial port. I tried some wayswhich i found on web, I can't receive client serial port data.

1 solution

Unless you physically connect the weight scale to the Web Server machine, your 'local machine' must upload collected data to the Web Server one (say on a database).
 
Share this answer
 
Comments
Rahul JR 6-Aug-15 3:10am    
Physically not connected to server.
Is there any way that weigh Scale Machine give response in web page.
(I alrady made a serial port code in my class file(.vb File) under app_code it is working fine if my local machine and server are same)
please guide me if is there any way that machine give response in web page or other way.
CPallini 6-Aug-15 3:44am    
As I already wrote, the local machine needs to upload collected data to the Web Server in order to enalbe the latter to show weight scale response on a web page.
That is you have to establish communication between your local machine and the Web Server one.
Rahul JR 6-Aug-15 3:55am    
ok is there any way that I can get data in web page from attached machine in local compute. If its possible than I can go further to upload a data.
(do you got my concern ?? if not than I can explain again.)
CPallini 6-Aug-15 4:16am    
Of course there is. I guess accessing a database is a simple way to accomplish that, but you might use, for instance, TCP communication as well.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900