GetFileName()

Returns the name and path of the nth file in the directory containing binary log files.

Member of the DataLogger class.

Function Prototype

VB .NET

Public Shared Function GetFileName(ByVal fileNumber As Integer, ByRef path As String, ByRef fileName As String) As MccDaq.ErrorInfo

C# .NET

public static MccDaq.ErrorInfo GetFileName(int fileNumber, ref string path, ref string fileName)

Parameter

fileNumber

Index of the file whose name you want to return. Specify one of the following:

This parameter is the index of the file in the directory, and is not part of the filename.

path

The full path of the directory containing the log files.

fileName

The full path and name of the binary file. The path must be null-terminated and cannot be longer than 256 characters.

Returns

Notes