DataLogger class
Contains all of the members for reading and converting binary log files.
The DataLogger class is a member of the MccDaq namespace.
Property and methods
The DataLogger class provides one property to get a reference to the file name associated with the current instance of the DataLogger.
The DataLogger class includes 14 methods used to read and convert the
data contained in a binary log file. These methods are equivalents of
the function calls used in the standard Universal Library. The methods
have virtually the same parameter set as their UL counterparts.
- FileName property - Returns the file name associated with an instance of the DataLogger class.
- ConvertFile() - Converts a binary log file to a comma-separated values (.CSV) text file or another text file format that you specify.
- GetAIChannelCount() - Retrieves the total number of analog channels that were logged in a binary file.
- GetAIInfo() - Retrieves the channel number and unit value of each analog input channel logged in a binary file.
- GetCJCInfo() - Retrieves the number of CJC temperature channels that were logged.
- GetDIOInfo() - Retrieves the number of digital I/O channels logged in a binary file.
- GetFileInfo() - Retrieves the version level and byte size of a binary file.
- GetFileName() - Retrieves the name of the nth file in the directory containing binary log files.
- GetPreferences() - Retrieves API preference settings for time stamp data, analog temperature data, and CJC temperature data. Returns the default values unless changed using SetPreferences().
- GetSampleInfo() - Retrieves the sample interval, sample count, and the date and time of the first data point in a binary file.
- ReadAIChannels() - Retrieves analog input data from a binary file, and stores the values in an array.
- ReadCJCChannels() - Retrieves CJC temperature data from a binary file, and stores the values in an array.
- ReadDIOChannels() - Retrieves digital I/O channel data from a binary file, and stores the values in an array.
- ReadTimeTags() - Retrieves date and time values logged in a binary file. This method stores date values in the dateTags array, and time values in the timeTags array.
- SetPreferences() - Sets preferences for returned time stamp data, analog temperature data, and CJC temperature data.