Skip to main content

How can I select a wavelength preset, specifically a custom one that I made by clicking the save button on the Wavelength Data editor, in a macro script?  The purpose is for selecting certain wavelengths, running an analysis window, then changing wavelengths, and running an analysis window again and so on.

I’m not aware of any way to load a wavelength file within a ZPL script, but you can try using the keyword SETSYSTEMPROPERTY to change individual wavelengths:

 

 

The codes 200-203 provide wavelength setting control.

 

Similar functions exist in the ZOS-API.

 


Reply