Text file with tags and a calculation
Posted: Sat 02 Apr 2016 8:54 pm
Can I build a simple status tag txt file with a calculation on it.
Looking here to just add a percentage of Davis Vantage Pro 2 reception to the txt file.
IE:
Current file is: ( just call it radio dot text)
Total Packets Received: <#DavisTotalPacketsReceived> • Total Packets Missed: <#DavisTotalPacketsMissed> • CRC Errors: <#DavisNumCRCerrors> • ReSynchs: <#DavisNumberOfResynchs> • MaxInARow: <#DavisMaxInARow> • Battery: <#txbattery>
I want to calculate percentage using this forumula. Just putting it in the text file doesn't do any calculation and just shows the values from the webtags.
(((<#DavisTotalPacketsReceived>/(<#DavisTotalPacketsReceived>+<#DavisTotalPacketsMissed>))*100)
I am guessing that I am not doing this right or I cannot do this?
Any suggestions?
Looking here to just add a percentage of Davis Vantage Pro 2 reception to the txt file.
IE:
Current file is: ( just call it radio dot text)
Total Packets Received: <#DavisTotalPacketsReceived> • Total Packets Missed: <#DavisTotalPacketsMissed> • CRC Errors: <#DavisNumCRCerrors> • ReSynchs: <#DavisNumberOfResynchs> • MaxInARow: <#DavisMaxInARow> • Battery: <#txbattery>
I want to calculate percentage using this forumula. Just putting it in the text file doesn't do any calculation and just shows the values from the webtags.
(((<#DavisTotalPacketsReceived>/(<#DavisTotalPacketsReceived>+<#DavisTotalPacketsMissed>))*100)
I am guessing that I am not doing this right or I cannot do this?
Any suggestions?