reading weighing scale data
-
Dear Gents, I have an electronic weighing scale connected to the PC. I can read the weight thru hyper terminal with the help of tcp/ip. (IP address: 192.168.5.5 and port number:23). How can i access the same using vb.net Please help me to acheive this Regards Azeem
-
Dear Gents, I have an electronic weighing scale connected to the PC. I can read the weight thru hyper terminal with the help of tcp/ip. (IP address: 192.168.5.5 and port number:23). How can i access the same using vb.net Please help me to acheive this Regards Azeem
I am not too familiar with terminal usage, but at first glance I would say emulation. I believe terminal is basically a command prompt window. Simply create a new terminal with Process.Start, and redirect the input and output to your application. Input would be the commands that you type to get the scale information, output would be what the application responds with that would be sent to your application. [Edit:Look into the startup info properties for the Process class.]
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog
-
Dear Gents, I have an electronic weighing scale connected to the PC. I can read the weight thru hyper terminal with the help of tcp/ip. (IP address: 192.168.5.5 and port number:23). How can i access the same using vb.net Please help me to acheive this Regards Azeem
Google for a "tcp/ip terminal emulation library" you can use. It's either that or you're going to have to write one yourself using the System.Net namespace.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Dear Gents, I have an electronic weighing scale connected to the PC. I can read the weight thru hyper terminal with the help of tcp/ip. (IP address: 192.168.5.5 and port number:23). How can i access the same using vb.net Please help me to acheive this Regards Azeem
write a application for tcp-client, then connect to your terminal IP,Port You can get the data on your tcp-client socket.
Rajesh B --> A Poor Workman Blames His Tools <--