reference_spectrum(n:integer;formal:integer):string

Navigation:  User guide > OLE automation > Properties >

reference_spectrum(n:integer;formal:integer):string

Previous pageReturn to chapter overviewNext page

Setting this string to an appropriate filename will cause CODE to import the reference spectrum of the i-th spectrum in the spectrum list from the specified file. The format of the measured data must be set by the format parameter.

 

The following values for the format are implemented up to now:

 

 format        File format        

    1        Standard        

    2        xy-format        

    3        JCAMP        

    4        SpectraCalc        

    5        Perkin-Elmer        

    6        Zeiss        

    7        Opus

 

 

VisualBasic example:

 

  wcd.reference_spectrum(1, 4) = "c:/temp/dummy2.spc"