TiPlotComponent.SaveDataToFile

TiPlotComponent See Also

Saves all channel data to a text file.

procedure SaveDataToFile(FileName: String);

Description

Call SaveDataToFile to save all channel data to a text file specified by FileName.

This file is saved as a tab delimited file with the first channel taking up the first two columns (Column 1 is XData and Column 2 is YData), the next two columns are for the second channel, and so on. The first row in the file contains column header information for each channel denoting the channel name, X Data, and Y Data.

Example

Delphi

iComponent.SaveDataToFile('C:\TextFile.txt'); //Save All Channel Data

Kylix

iComponent.SaveDataToFile('/home/username/textfile'); //Save All Channel Data

C++ Builder

iComponent->SaveDataToFile("C:\\TextFile.txt"); //Save All Channel Data

Contents | Index | Previous | Next