I am working with a logger that doesn't have much flexibility.
Uses .csv format. The channel name, and unit appear in the same cell.
Right now, to convert units I am using the calculation manager. This works pretty well except when a sensor is changed out and the channel is repurposed I need to go in and manually change the names in the script. Makes it very difficult to look at old data as I'll have to clear a few errors.
Any ideas on how to improve how I am converting units?
Here is what I am currently using:
Call CalculationSet.Clear()
Call CalculationSet.Load(DH_PathDocuments&"Dynon Calculationsbroke-Cirrus.TCA")
Call Data.Root.ChannelGroups.Add("Unit Conversions", 2).Activate()
Call CalculationSet.SelectAll(False)
Call CalculationSet.CalculationGroups("Unit Conversions").SelectAll(True)
Call CalculationSet.CalculationGroups("Convert To Hot Day").SelectAll(True)
Call CalculationSet.CalculationGroups("Intercooler Performance").SelectAll(True)
Call CalculationSet.RunSelected()
Thanks!