I am attempting to data log 4-20 mA signals from (3) ADAM-6017 DAQ modules (Advantech) using functions from the NI Modbus Library. I have never used LabView before, but I somewhat understand what is going on. My current VI is attached, but I do not know how to enhance the VI to perform the following tasks:
1. Output time-dependent register values from all 8 channels to Excel spreadsheet with each COLUMN as a register value (right now it outputs all values in the same column and the time is normal at first but then it gets weird -- see attached screenshot of excel sheet).
2. Output the mA reading to Excel, not the decimal value of the register. Even better would be to convert these values to the actual pressure, temperature, flow rate, etc. based on the span of the instruments. But all three ADAM modules have a mix of instruments attached (not all with the same span/units), so this may be difficult?
3. I have (3) modules on different IP addresses and I want to data log all of them. How do I add all IP addresses to the same VI (do I need 3 separate TCP Masters)?
I would greatly appreciate anyone's help!