Click here to Skip to main content
14,328,797 members
Rate this:
Please Sign up or sign in to vote.
See more:
I need to read the digital pulse data from a flow meter that measures the total amount of water pumped and a number from RFID proximity card into a C# program so I can track who purchased water and how much they purchased.

The digital pulse is measured as a high speed pulse. I can either receive this as single pulses that I can then sum for a total amount pumped or I can receive a number that represents the total number of pulses counted.

The card reader passes a data stream on a wire, either serial data over a RS232 connection or ethernet data over a Cat 5 cable.

Can someone tell me how to get the data into my application?
Posted
Updated 16-Apr-10 10:01am
v2
Rate this:
Please Sign up or sign in to vote.

Solution 2

The card reader is pretty much like a credit card reader, there are a few things you will need to know, normally those readers provide enough information to developers to know how to communicate with the reader.

The cards have a trick though, because RFID information should be encrypted, but also that information should come in the documentation, also some readers require that you checksum all the data you send and add the checksum in your communication.

About the water pump reader, I have no idea what you're talking about
   
Rate this:
Please Sign up or sign in to vote.

Solution 1

You will need to refer to the documentation for flow meter and card reader to determine the format of the data sent over the wire. You don't specify how the flow meter connects to a PC, so we can't help you on that. For the card reader, you can use the SerialPort class for RS232 or the TcpListener and/or TcpClient classes for ethernet.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100