ConvertFile()

Converts a binary log file to a comma-separated values (.CSV) text file or another text file format that you specify.

Member of the DataLogger class.

Function Prototype

VB .NET

Public Function ConvertFile(ByRef destFileName As String, ByVal startSample As Integer, ByVal count As Integer, ByVal delimiter As MccDaq.FieldDelimiter) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo ConvertFile(string destFileName, int startSample, int count, MccDaq.FieldDelimiter delimiter)

Parameter

destFileName

The name and destination path of the converted file. Use the file extension of the file type that you want to create.

startSample

The first sample to read.

count

The number of samples to read.

delimiter

Specifies the character to use between fields in the converted file.

All of the delimiter settings are MccDaq.FieldDelimiter enumerated constants. Choices are MccDaq.FieldDelimiter.Comma, MccDaq.FieldDelimiter.Semicolon, MccDaq.FieldDelimiter.Space, and MccDaq.FieldDelimiter.Tab.

Returns

Notes