I have created a script to automate the process of generating the control limits table and it requires lot of intermediate tables to join and concatenate. While I don't need these tables and charts from where generating limits initially, I'm able to close charts without displaying it on screen but these tables do pop up and close and it's quite weird.
Instead of showing these tables popping up every now and then I want to show progress bar which also I have scripted by searching online.
But I'm not able to figure out where to place this script in main script window to get rid of those data tables.
The loop to call this progress bar will be the one which is calling "main" function but where in "result_win" of "calc" function??
Any help/suggestion would be appreciated.
Sorry for inconvenience if I have created any sort of confusion. I'm a new bee so still exploring JMP!!
New working Code attached which shows the progress bar instead of popping tables. Thanks @PMROZ for valuable inputs though I forgot to implement the 2nd suggestion of yours in this though it's quite self-explanatory.
I have a few suggestions that might help suppress some of the "flashy thingy" effect.
1. When you create the summary tables include the invisible keyword. E.g.
Group(:Group By,:Process,:Sample Label,:By)
);//creating summary of parameter file as parameters are mentioned thrice for different charts.
2. In your main function include the invisible keyword in the first summary. Also sort the table in place so you're not creating another table
Group(As Name(col1),As Name(col2),As Name(col3),As Name(col4))
);//creating summary from input file based on the columns passed by parameter summary table
By(As Name(col3)),Order(Ascending), replace table
);//sorting based on date column
3. Instead of using the progress bar, try using the caption function at strategic points to tell the user what's going on. For example:
caption("Doing step 1");
// some code here
caption("Doing step 2");
// more code
The wait(0) is needed to force JSL to "catch up" to your code.
Thanks for the suggestion PMroz!! I'm trying what you have suggested to use caption() but still those tables flashes.
What i'll do is dig a bit more into caption so that if I can manipulate more with it and post ASAP here.
I really appreciate your efforts though.
Very slick, thanks for sharing. I have made some visual customizations and added a cancel button. Your script is doing a lot more, but this is just the simple progress bar for anyone who wants it.
There are no labels assigned to this post.