HistorianTable.SaveToTextFileAsync (DateTime, DateTime, String, Char, Boolean, Boolean, Boolean, Int32, CultureInfo) Method

Save historian to text file
<ID("SaveToTextFileAsync", (int)e.SaveToTextFileAsync1)> _ 
Public Function SaveToTextFileAsync( _ 
ByVal start As Date, _ 
ByVal end As Date, _ 
ByVal outputFileName As String, _ 
ByVal chSep As Char, _ 
ByVal addHeader As Boolean, _ 
ByVal saveLogType As Boolean, _ 
ByVal saveQuality As Boolean, _ 
ByVal precision As Integer, _ 
ByVal ci As CultureInfo
) As Task(Of Boolean)
This language is not supported or no code example is available.
[ID("SaveToTextFileAsync", (int)e.SaveToTextFileAsync1)] 
public Task<bool> SaveToTextFileAsync( 
DateTime start
DateTime end
string outputFileName
char chSep
bool addHeader
bool saveLogType
bool saveQuality
int precision
CultureInfo ci 
)
This language is not supported or no code example is available.

Parameters

start
DateTime

Star date time

end
DateTime

End date time

outputFileName
string

File name

chSep
char

Char separator

addHeader
bool

Flag indicating whether header must de added

saveLogType
bool

Flag indicating whether LogType must de added

saveQuality
bool

Flag indicating whether quality must de added

precision
int

Double precision

ci
CultureInfo

Culture info

Return Value

Task<bool>

Flag indicating success (true) or fail (false)

.NET Framework

Supported in: 4.8

In this article

Definition