TiPlotChannelCustom.LoadDataFromFile
TiPlotChannelCustom See Also
Loads all data for the associated channel from a text file.
procedure LoadDataFromFile(FileName: String, ClearPreviousData : Boolean);
Description
Call LoadDataFromFile to load all channel data from a text file specified by
FileName. Set ClearPreviousData to specify whether the data currently in the
channel should be cleared before the data is loaded.
Note: the file format must be as specified in the format used by the SaveDataToFile method.
Example
Delphi
//Load All Channel Data
iComponent.Channel[0].LoadDataFromFile('C:\TextFile.txt', True);
Kylix
//Load All Channel Data
iComponent.Channel[0].LoadDataFromFile('/home/username/textfile', True);
C++ Builder
//Load All Channel Data
iComponent->Channel[0]->LoadDataFromFile("C:\\TextFile.txt", True);
Contents | Index | Previous | Next