Hello,
I have a script that acquires data from a user interface, runs a fit in JMP and spits out a report with the raw data, some calculated data and various plots and selected info from the JMP output.
It works well when ran from the script, even once encrypted.
However, once I paste the encrypted file into a simple add-in with only this script in, everything works except it no longer display the fit equation I extract from the JMP output.
I'm baffled!
To make things even more baffling, JMP works from the Add-in perfectly as long as I have run the script once from the script window before using the Add-in. Almost as if it now remembers what to do!
The script gets the equation here:
nlr = nlModel << Report;
pb = nlr[PictBox(1)];
modEq = pb << Get Image;
It then displays it using:
V List Box(
Text Box("Model Equation", << Set Font Size (12)),
Picture Box( modEq),
Text Box(" "),
Any idea why just this bit stops working once integrated to the Add-in?
I'm attaching a screen dump of the output ran from script window vs ran from the Add-in (straight after opening JMP)
Thanks