LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sensor logging selection

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 

0 Kudos
Message 1 of 3
(2,535 Views)

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

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 2 of 3
(2,529 Views)

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 

0 Kudos
Message 3 of 3
(2,527 Views)