Skip to main content

how to force an analysis window to read a changed/modified config file

  • June 21, 2020
  • 1 reply
  • 184 views

Forum|alt.badge.img

I have a lens file open, with some analysis windows open.  Using ZPL, I want to loop through and change the .CFG file (this is for a detector window in non-sequential.).   I haven't done it yet, but I think this will change the settings: 

         ModifySettings (filename,DVW_FILTER, ‘new_filter_string”, ‘DVR’) , or something like that, once I get the quotes straightened out.

    However, my question is:  How do I force the open analysis window to update with the new .cfg file? In ZPL Macro, there does not seem to be any command like:  LoadNewConfig(Filename, WindowNumber).

   I know I might be able to open a new analysis window, but for reasons of being able to see what is going on, I'll save that for Option B.

thanks for your time.   

John

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

1 reply

Mark.Nicholson
Luminary
Forum|alt.badge.img+3

ModifySettings will work like you think, but it will not modify the settings of an already open window. You'll need to use OPENWINDOW to create a new instance that uses your new congiguration. Fortunately, there's also CLOSEWINDOW so that you don't get windows croding your screen.

- M


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