Navigation: Scripting Reference Manual > Functions & Subroutines > SpectrumGetSampledEntries

 

SpectrumGetSampledEntries

 

Contact Us: fredsupport@photonengr.com

 

Description

Gets the wavelengths and corresponding values of a sampled spectrum.  If the spectrum being queried is not a sampled spectrum, an error is set and the operation is halted.

 

 

Syntax

SpectrumGetSampledEntries spectNode, wavelens( ), values( )

 

 

Parameters

spectNode As Long

Node number of the spectrum being queried.

 

wavelens( ) As Double

An array containing the wavelengths sampled by the spectrum.  These values are returned by the subroutine.

 

values( ) As Double

An array containing the values at the wavelengths sampled by the spectrum.  These values are returned by the subroutine.

 

 

Example

The following example queries a spectrum node for the sampled wavelengths and values.

 

Dim wavelens( ) As Double

Dim values( ) As Double

 

SpectrumGetSampledEntries spectNode, wavelens, values

 

 

See Also

SpectrumGetSampledEntryCount

SpectrumGetSampledIthValue

SpectrumGetSampledIthWavelength

SpectrumSetSampledEntries

 

 

 

 

 

Copyright © Photon Engineering, LLC