XYSetDataSourceΒΆ

XYSetDataSource sets the data source string. The data source string is used by the function Data=>Data Exchange (Page) to exchange the data of the given dataset.

bool = XYSetDataSource(hData, ssDataSource)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hData

hData is the handle of a 2D dataset.

ssDataSource

ssDataSource is a string with the file name, optional import options and a list with the variable names. Example: c:/data/test.asc{2,BTS} (Speed, Tourque). The import options are enclosed in {} and the variabale names are enclosed in (). For Excel Files the table name can follow the file name in [] brackets. Example: c:/data/test.asc [Tabelle1]{2,BTS} (N, Mom)

id-1326983