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

Save historian to text file
<ID("SaveToTextFile", (int)e.SaveToTextFile1)> _ 
Public Function SaveToTextFile( _ 
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 Boolean
This language is not supported or no code example is available.
[ID("SaveToTextFile", (int)e.SaveToTextFile1)] 
public bool SaveToTextFile( 
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

bool

Flag indicating success (true) or fail (false)

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition