load_experiment(n: Integer; const filename: String; format: Integer);

Navigation:  Ole automation > Automation object properties >

load_experiment(n: Integer; const filename: String; format: Integer);

Previous pageReturn to chapter overviewNext page

Loads for the n-th spectrum in the spectrum list experimental data from the file specified by 'filename'. The format used is given by the 'format' parameter:

 

 format        File format        

    1        Standard        

    2        xy-format        

    3        JCAMP        

    4        SpectraCalc        

    5        Perkin-Elmer        

    6        Zeiss        

    7        Opus        

 

VBA example:

 

scout.load_experiment(5,"c:\buffer\test.spc",4);