Navigation: Scripting Reference Manual > Functions & Subroutines > AddSourceWavelengthSpec

 

AddSourceWavelengthSpec

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a wavelength specification to a specified source.

 

Syntax

number = AddSourceWavelengthSpec(n, spec )

 

Parameters

number (Long)

Index of the last added wavelength.

 

n As Long

Node number of the source.

 

spec As T_WAVELENGTHSPEC

Structure containing the data needed to create the wavelength specification.

 

Remarks

This function adds a wavelength specification to a specified source. If there is a problem, the function returns 0 and does not set an error.

 

See Also

T_WAVELENGTHSPEC

SetSourceIthWavelengthSpec

GetSourceIthWavelengthSpec

Examples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC