Skip to main content
Solved

How do you select a Wavelength Data preset with a macro?

  • June 13, 2022
  • 1 reply
  • 273 views

Monte

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.

Best answer by Jeff.Wilde

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.

 

1 reply

Jeff.Wilde
Luminary
Forum|alt.badge.img+3
  • Luminary
  • 518 replies
  • Answer
  • June 14, 2022

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.