Reading inputs from Device
-
Hi Plse suggest or with an exmaple How can I read inputs from the hardware device Example: In Milk collection stations if there is device by which we can measure the fat content of milk if it measures the Fat content and given reading as 8.0 how can i get it in to my Application and use them where I have To connect to my System (SERIAL PORT)... And I my Application what namespace I have add. plse help me
came out of hardwork
-
Hi Plse suggest or with an exmaple How can I read inputs from the hardware device Example: In Milk collection stations if there is device by which we can measure the fat content of milk if it measures the Fat content and given reading as 8.0 how can i get it in to my Application and use them where I have To connect to my System (SERIAL PORT)... And I my Application what namespace I have add. plse help me
came out of hardwork
Gosh, you're a little lost. If you're using .NET 2.0, there are serial port classes. However, they are going to run on the server. You're asking in the ASP.NET forum, a web app would typically run javascript only on the client, and is not going to read any ports. You can run .NET controls inside your site, but they are a PITA to deploy, you'd have to have dedicated sites willing to install .NET and also your controls. Then you'd be back to writing .NET code, which would be appropriately asked for, in the forum for the language you use to write them. http://www.codeproject.com/csharp/SerialCommunication.asp[^] is a Code Project article on using the Serial Port in C#.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )