I have a multi function meter and i want to collect the data and display it. My idea was to create a api for serial communication?? will the idea work or is there any other better way?? the meter uses modbus rtu rs485 protocol..
closed as unclear what you're asking by pipe, Lior Bilia, PeterJ, Voltage Spike, Chupacabras Dec 15 '17 at 5:39
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
You need to design your api to use the modbus protocol. In windows computers you are usually using a utility or driver program to interface with the modbus rather than re invent the wheel and write the protocol yourself. Your meter should have modbus register numbers to get the information you need. Once you are successful in reading the registers- designing how to display the information or log it is totally up to you.