JMP Automation is performing a sequence of actions with one click. Automation usually includes data import, data cleaning, and reporting and creates a routine that enables other users to perform the same work. The workflow is also easy to modify to rerun on new data.
The manufacturing case study has 4 technicians who measure a standard part each day to monitor their measurement system. The standard part has a diameter of exactly 50 mm. Each day's measurements are recorded in the bottom row of a csv file.
The goal is to create reports saved as a JMP script (pipelinedata.jsl) and a JMP Add-In (.jmpaddin) called Measurement Report, both of which can be re-run and shared.
See how to:
Questions from the session answered by Jordan Hiller @Jordan_Hiller and Christian Bille @ChristianBille.
Q: Can I connect to MS SQL database, so I can get live data?
A: Yes, the process would be the same. Connecting to SQL is even better as the sources stays the same. this is done through the query builder. Here is info about connecting: https://www.jmp.com/support/help/en/16.2/#page/jmp/select-tables-from-a-sql-database.shtml
Q: Is there some info/resources on re-organizing the data, if the source data contains multiple formats (such as transpose, making separate one column into two columns)?
A: Yes, here is the start of documentation you can scroll through:
Q: Can you automate acquisition of a data set on the cloud?
A: If the permissions are set correctly and your organization allows that, you can automate access to a shared server of any kind.
Q: Is there a "run on open" option?
Y: Yes, add this to your script: autorun //!
Q: Why can't I just send the script to anybody in the organization? Why the extra step of making in add-in?
A: The add-in step is fully optional, but is a nice way to ensure less human error.
Q: If you navigate to your .jsl file, is the add-in independent of that file, so that if you delete the original .jsl the add-in will still work?
A: Yes, the script is embedded in the add-in.
Q: Is it possible to see the backend code for an add-in?
A: The .jsl file is included in the add-in folder. It can also be opened and encrypted.
Encrypting JSL fileEncrypting JSL file
Q: Can I delete something from the log?
A: Yes, highlight it in the Log, go to the Log right triangle, and then click Clear.
Q: Can I edit the Log file?
A: Yes, each section is delineated, and you can copy/cut and paste.
Removing information from LogRemoving information from Log
Q: What can I do if I know I need a minimum JMP version for my script?
A: You can set the Minimum JMP version for your add-in and then it will only install on JMP versions that meet that minimum.
Setting Minimum JMP Version for Add-InSetting Minimum JMP Version for Add-In
Q: What is the impact of the different platform preferences on the output of an analysis?
A: The .jsl file will defer to the preferences of the person launching the script; in most cases different preferences will not break a script that is run, but the appearance of the report may look slightly different than when the script was written.
Q: How to you get a black log?
A: Preferences> Script Editor>Customize Styles>Theme>Dark.
Setting Preferences for Black Background LogSetting Preferences for Black Background Log
Resources