Skip to main content
Solved

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

  • June 13, 2022
  • 1 reply
  • 238 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.

 

View original
Did this topic help you find an answer to your question?

1 reply

Jeff.Wilde
Luminary
Forum|alt.badge.img+3
  • Luminary
  • 509 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.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings