Returns API preference settings for time stamped data, analog temperature data, and CJC temperature data. Returns the default values unless changed using cbLogSetPreferences().
C/C++
int cbLogGetPreferences(int* TimeFormat, int* TimeZone, int* Units)
Visual Basic
Function cbLogGetPreferences(ByRef TimeFormat&, ByRef TimeZone&, ByRef Units&) As Long
TimeFormat
Returns the time format used to display time stamp data. Set to one of the TimeFormat constants. Choices are:
0 = TIMEFORMAT_12HOUR. For example 2:32:51PM.
1 = TIMEFORMAT_24HOUR. For example 14:32:51.
TimeZone
Returns the time zone to store time stamp data. Set to one of the TimeZone constants. Choices are:
0 = TIMEZONE_LOCAL. Converts time stamped data to the local time zone on your computer.
1 = TIMEZONE_GMT. Leaves time stamped data in Greenwich Mean Time.
Units
Returns the unit to use for analog temperature data. This value is ignored if raw data values are logged. Set to one of the Units constants. Choices are:
0 = FAHRENHEIT
1 = CELSIUS
2 = KELVIN