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

Navigation:  User guide > OLE automation > Properties >

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

Previous pageReturn to chapter overviewNext page

Assigning a filename to simulation_exportfile will cause CODE to save the simulated data of the n'th spectrum in the spectrum list to the specified file. The format used for the datafile is given by the 'format' parameter.

 

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

 

 format        File format        

    1        Standard        

    2        xy-format        

 

    4        SpectraCalc        

 

 

VisualBasic example:

 

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