Measurement Matters – FieldNames
Q: How do I change the column name when viewing data in ViewPro or other software?
A: The datalogger automatically assign a name to each field, or column, in a data table. These fieldnames are a combination of the variable name (or alias if one is defined) and a three letter mnemonic for the processing instruction that outputs the data.
If you want something different, use the FiledNames() instruction to override the default names. FieldNames() must immediately follow the output processing instruction that you want the default field names overridden. For example, the WindVector() instruction ouputs up to four fields, or columns. By default, they can be arcane, as you can see in the circle on the left below. So, it is helpful to override those defaults with names like are shown in the circle on the right.
Tip: Once you save your program in the CRBasic Editor use Tools|Show Tables to display the FieldNames defined in each DataTable.
Learn more: https://www.campbellsci.com/forum/messages.cfm?threadid=802E55C3-B78E-4E3A-A2963905999BB366
Next time: Aliases