Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceCoherence

 

SetSourceCoherence

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the coherence state of a particular source.

 

Syntax

SetSourceCoherence n, scoh

 

Parameters

n As Long

Node number of the source.

 

scoh As Boolean

The new coherence state for the source. True for coherent, False for incoherent.

 

Remarks

This subroutine sets the coherence state of a particular source. If there is a problem the subroutine returns without modifying the source.

 

See Also

GetSourceCoherence

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC