cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
FN
FN
Level VI

Showing a window or plot while running JSL

I have a JSL code that takes some time to finish.

 

If in the beginning, I create plots and results as objects, these won't be shown until the execution finishes.

 

Only when there is an error the window objects appear.

 

Is there a simple method I can use to show the results without stopping?

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Showing a window or plot while running JSL

Have you tried inserting Wait( 0 ) in the code?

View solution in original post

Craige_Hales
Super User

Re: Showing a window or plot while running JSL

This is one of only a few cases where wait is actually required. The platform is already created, but the OS needs a little time to display the window.
Craige

View solution in original post

3 REPLIES 3

Re: Showing a window or plot while running JSL

Have you tried inserting Wait( 0 ) in the code?

Craige_Hales
Super User

Re: Showing a window or plot while running JSL

This is one of only a few cases where wait is actually required. The platform is already created, but the OS needs a little time to display the window.
Craige
FN
FN
Level VI

Re: Showing a window or plot while running JSL

Now I understand why I have seen Wait(0) in some JSLs