10-13-2009 11:35 PM
hai guys,
im starting a project to log value of power meter from modbus. i configured 10 address for power meter but not every time all the power meter will be connected. can we make a programme that we can detect which are the address that the power meter is connected and log only value from that address.
do we need to do configuration file. would like to get suggestion on the architecture.
thanks
regards,
shamaran
10-14-2009 12:39 AM
Hi Shamaran,
You can make a text file from where you can take address of you power meter. So that when you will change its address, you do not have to change program.Just make changes in text file.
I hope this will help.
Best of luck
10-14-2009 01:02 AM
hai,
the address are fixed 1-10. but how to configure which address are active . do we need to manually input (edit the text file). ny other alternative , when i run the programme it will detect sensor and only log the value from the active sensor. Can we create an XML file as a configuration file where there will be pop up where we can input the active sensor address. i would like to make it user friendly n flexible(user input).
thanks