cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-347663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E7%AD%89%E5%BE%85(0)%20vs%20%E7%AD%89%E5%BE%85(n)%20vs%20%E8%BF%90%E8%A1%8C%20vs%20%E5%AE%8C%E6%88%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-347663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%9C%89%E9%9D%9E%E5%B8%B8%E5%A4%A7%E4%B8%94%E4%B8%8D%E6%96%AD%E5%A2%9E%E9%95%BF%E7%9A%84%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%8C%E5%9B%A0%E6%AD%A4%E6%88%91%E9%81%87%E5%88%B0%E5%85%AC%E5%BC%8F%E6%9C%AA%E5%AE%8C%E6%88%90%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%E6%88%91%E5%B8%8C%E6%9C%9B%20JMP%20%E8%83%BD%E5%A4%9F%E6%9E%84%E5%BB%BA%E4%B8%80%E7%A7%8D%E6%9C%BA%E5%88%B6%E6%9D%A5%E9%98%BB%E6%AD%A2%E8%84%9A%E6%9C%AC%E7%BB%A7%E7%BB%AD%E8%BF%90%E8%A1%8C%EF%BC%8C%E7%9B%B4%E5%88%B0%E6%AF%8F%E4%B8%80%E8%A1%8C%E5%AE%8C%E6%88%90%EF%BC%8C%E4%BD%86%E4%B9%9F%E8%AE%B8%E6%9C%89%E4%B8%80%E4%B8%AA%E6%88%91%E6%B2%A1%E6%9C%89%E6%83%B3%E5%88%B0%E7%9A%84%E4%B8%8D%E8%BF%99%E6%A0%B7%E5%81%9A%E7%9A%84%E5%8E%9F%E5%9B%A0%E3%80%82%E6%88%91%E9%80%9A%E5%B8%B8%E4%BD%BF%E7%94%A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A8%E8%BF%99%E9%87%8C%E5%81%9A%E9%94%99%E4%BA%86%E4%BB%80%E4%B9%88%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-347663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8A%A8%E5%8C%96%E5%92%8C%E8%84%9A%E6%9C%AC%E7%BC%96%E5%86%99%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-347958%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E7%AD%89%E5%BE%85%EF%BC%880%EF%BC%89%E4%B8%8E%E7%AD%89%E5%BE%85%EF%BC%88n%EF%BC%89%E4%B8%8E%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%AE%8C%E6%88%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-347958%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E8%AE%A4%E4%B8%BA%E5%A6%82%E6%9E%9C%E6%82%A8%E8%A6%81%E5%8A%A0%E5%85%A5%2F%E6%9B%B4%E6%96%B0%E7%9A%84%E8%A1%A8%E4%B8%AD%E6%9C%89%E5%85%AC%E5%BC%8F%EF%BC%8C%E9%82%A3%E4%B9%88%E5%AE%83%E5%8F%AF%E8%83%BD%E4%BC%9A%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%E3%80%82%E6%88%91%E8%AE%A4%E4%B8%BA%E6%88%91%E4%BB%8E%E6%9C%AA%E9%81%87%E5%88%B0%E8%BF%87%E4%B8%8E%20JMP%20%E6%95%B0%E6%8D%AE%E8%A1%A8%E7%9B%B4%E6%8E%A5%E7%9B%B8%E5%85%B3%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E8%BF%99%E9%9C%80%E8%A6%81%E6%88%91%E4%BD%BF%E7%94%A8%E7%AD%89%E5%BE%85%EF%BC%88%E5%A4%A7%E5%A4%9A%E6%95%B0%E9%97%AE%E9%A2%98%E4%B8%8E%E6%9F%90%E4%BA%9B%E5%8F%98%E9%87%8F%E6%9C%AA%E8%8E%B7%E5%8F%96%E5%80%BC%E6%88%96%E4%B8%8E%E6%96%B0%E7%AA%97%E5%8F%A3%E4%B8%AD%E7%9A%84%E5%8F%AF%E8%A7%86%E5%8C%96%E6%9C%89%E5%85%B3%EF%BC%89%E3%80%82%E6%88%91%E4%B8%8D%E5%A4%AA%E4%BA%86%E8%A7%A3%20JMP%20%E5%9C%A8%E5%90%8E%E5%8F%B0%E6%89%80%E5%81%9A%E7%9A%84%E6%8A%80%E6%9C%AF%E7%BB%86%E8%8A%82%EF%BC%8C%E6%89%80%E4%BB%A5%E4%B9%9F%E8%AE%B8%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%B0%9D%E8%AF%95%E5%8F%91%E9%80%81%E7%94%B5%E5%AD%90%E9%82%AE%E4%BB%B6%E8%87%B3%3CA%20href%3D%22mailto%3Asupport%40jmp.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Esupport%40jmp.com%3C%2FA%3E%E5%AF%BB%E6%B1%82%E5%B8%AE%E5%8A%A9%EF%BC%9F%E8%BF%98%E6%A0%B9%E6%8D%AE%E6%AD%A4%E6%97%A7%E5%93%8D%E5%BA%94%E6%A0%87%E8%AE%B0%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F6878%22%20target%3D%22_blank%22%3E%40Jeff_Perkinson%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FHow-can-I-force-my-script-to-execute-sequentially%2Fm-p%2F18437%23U18437%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%E5%A6%82%E4%BD%95%E5%BC%BA%E5%88%B6%E6%88%91%E7%9A%84%E8%84%9A%E6%9C%AC%E6%8C%89%E9%A1%BA%E5%BA%8F%E6%89%A7%E8%A1%8C%EF%BC%9F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%9C%89%E5%87%A0%E4%B8%AA%E9%97%AE%E9%A2%98%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E6%98%AF%E5%90%A6%E4%BD%BF%E7%94%A8%20Current%20Datatable()%20%E6%9D%A5%E5%BC%95%E7%94%A8%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%9F%E6%82%A8%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E5%93%AA%E4%B8%AA%20JMP%20%E7%89%88%E6%9C%AC%EF%BC%9F%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E9%93%BE%E6%8E%A5%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F15.2%2Findex.shtml%23page%2Fjmp%2Fscripting-data-tables.shtml%23ww2071832%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F15.2%2Findex.shtml%23page%2Fjmp%2Fscripting-data-tables.shtml%23ww2071832%3C%2FA%3E%20%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F15.2%2Findex.shtml%23page%2Fjmp%2Fscripting-numbers-strings-arrays-and-lists.shtml%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F15.2%2Findex.shtml%23page%2Fjmp%2Fscripting-numbers-strings-arrays-and-lists.shtml%23%3C%2FA%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-347708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E7%AD%89%E5%BE%85%EF%BC%880%EF%BC%89%E4%B8%8E%E7%AD%89%E5%BE%85%EF%BC%88n%EF%BC%89%E4%B8%8E%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%AE%8C%E6%88%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-347708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%BA%94%E8%AF%A5%E6%8C%87%E5%AE%9A%E5%AE%83%E4%B8%8D%E4%BB%85%E6%98%AF%E5%85%AC%E5%BC%8F%E8%AF%84%E4%BC%B0%EF%BC%8C%E8%BF%98%E5%8C%85%E6%8B%AC%E6%89%93%E5%BC%80%E5%92%8C%E5%8A%A0%E5%85%A5%E6%88%96%E6%9B%B4%E6%96%B0%E5%8F%A6%E4%B8%80%E4%B8%AA%E8%A1%A8%E3%80%81%E5%AF%B9%E8%A1%A8%E8%BF%9B%E8%A1%8C%E6%8E%92%E5%BA%8F%E7%AD%89%E6%93%8D%E4%BD%9C%E3%80%82%E8%BF%99%E4%BA%9B%E5%91%BD%E4%BB%A4%E6%98%AF%E5%90%A6%E9%80%82%E7%94%A8%E4%BA%8E%E9%9D%9E%E5%85%AC%E5%BC%8F%E7%9A%84%E5%86%85%E5%AE%B9%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-347684%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E7%AD%89%E5%BE%85%EF%BC%880%EF%BC%89%E4%B8%8E%E7%AD%89%E5%BE%85%EF%BC%88n%EF%BC%89%E4%B8%8E%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%AE%8C%E6%88%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-347684%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E6%98%AF%E5%90%A6%E5%B0%9D%E8%AF%95%E8%BF%87%E4%BD%BF%E7%94%A8%EF%BC%9A%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%26lt%3B%26lt%3B%20Run%20Formulas()%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E6%88%96%E8%80%85%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%26lt%3B%26lt%3B%20Rerun%20Formulas%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E6%8D%AE%E6%88%91%E4%BA%86%E8%A7%A3%EF%BC%8C%E8%BF%99%E4%BA%9B%20JMP%20%E5%BA%94%E8%AF%A5%E7%AD%89%E5%BE%85%E5%85%AC%E5%BC%8F%E8%AF%84%E4%BC%B0%E5%AE%8C%E6%88%90%E5%90%8E%E5%86%8D%E7%BB%A7%E7%BB%AD%E3%80%82%3C%2FP%3E%3CP%3E%E5%85%B6%E4%BB%96%E5%8F%AF%E8%83%BD%E7%9A%84%E9%80%89%E9%A1%B9%EF%BC%9A%E8%BF%98%E9%9C%80%E8%A6%81%E5%85%AC%E5%BC%8F%E5%90%97%EF%BC%9F%E6%82%A8%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%3CEM%3E%26lt%3B%26lt%3B%20%E8%AE%BE%E7%BD%AE%E6%AF%8F%E4%B8%AA%E5%80%BC%3C%2FEM%3E%E8%80%8C%E4%B8%8D%E6%98%AF%E5%85%AC%E5%BC%8F%E8%BF%9B%E8%A1%8C%E7%AE%A1%E7%90%86%E5%90%97%EF%BC%9F%E4%B9%9F%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%3CEM%3Edt%20%26lt%3B%26lt%3B%20Begin%20Data%20Update%3C%2FEM%3E%20%3B%E5%92%8C%3CEM%3Edt%20%26lt%3B%26lt%3B%20%E7%BB%93%E6%9D%9F%E6%95%B0%E6%8D%AE%E6%9B%B4%E6%96%B0%3C%2FEM%3E%EF%BC%9B%E5%8F%AF%E8%83%BD%E6%9C%89%E7%94%A8%E3%80%82%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-810257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E7%AD%89%E5%BE%85%EF%BC%880%EF%BC%89%E4%B8%8E%E7%AD%89%E5%BE%85%EF%BC%88n%EF%BC%89%E4%B8%8E%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%AE%8C%E6%88%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-810257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%B8%80%E8%88%AC%E6%9D%A5%E8%AF%B4%EF%BC%8C%E6%88%91%E5%9C%A8%E8%84%9A%E6%9C%AC%E4%B8%AD%E4%BD%BF%E7%94%A8%26lt%3B%26lt%3B%E8%BF%90%E8%A1%8C%E5%85%AC%E5%BC%8F%E3%80%82%3C%2FP%3E%3CP%3E%E4%BD%86%E6%98%AF%EF%BC%8C%E6%88%91%E5%90%8C%E6%84%8F%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3947%22%20target%3D%22_blank%22%3E%40RVhydrA%3C%2FA%3E%E6%89%80%E5%86%99%E7%9A%84%E5%86%85%E5%AE%B9%E3%80%82%3CBR%20%2F%3E%E6%A0%B9%E6%8D%AE%E8%84%9A%E6%9C%AC%E7%B4%A2%E5%BC%95%E4%B8%AD%E7%9A%84%E5%86%85%E5%AE%B9%EF%BC%8C%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Ewait%EF%BC%880%EF%BC%89%3C%2FFONT%3E%E5%BA%94%E8%AF%A5%E6%89%A7%E8%A1%8C%E7%9B%B8%E5%90%8C%E7%9A%84%E5%B7%A5%E4%BD%9C%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_0-1731304755634.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1731304755634.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1731304755634.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F70018iCAA9EE5B405BD235%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_0-1731304755634.png%22%20alt%3D%22hogi_0-1731304755634.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-810275%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E7%AD%89%E5%BE%85%EF%BC%880%EF%BC%89%E4%B8%8E%E7%AD%89%E5%BE%85%EF%BC%88n%EF%BC%89%E4%B8%8E%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%AE%8C%E6%88%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-810275%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CUL%3E%0A%3CLI%3E%E4%BD%BF%E7%94%A8%20wait(0)%20%E4%BD%BF%E7%AA%97%E5%8F%A3%E5%87%BA%E7%8E%B0%E5%B9%B6%E4%BD%BF%E6%8C%89%E9%92%AE%E5%9C%A8%E5%BE%AA%E7%8E%AF%E6%9C%9F%E9%97%B4%E5%B7%A5%E4%BD%9C%E3%80%82%3C%2FLI%3E%0A%3CLI%3E%E4%BD%BF%E7%94%A8%20%26lt%3B%20%3CRUNFORMULAS%20for%3D%22%22%20forcing%3D%22%22%20evaluation%3D%22%22%20of%3D%22%22%20data%3D%22https%3A%2F%2Fcommunity.jmp.com%2F%22%20table%3D%22%22%20formulas%3D%22%22%20to%3D%22%22%20complete.%3D%22%22%3E%26lt%3B%20i%26gt%3B%3C%2FRUNFORMULAS%3E%3C%2FLI%3E%3CLI%3E%E4%BD%BF%E7%94%A8%20wait(1)%20%E4%BD%BF%E8%84%9A%E6%9C%AC%E8%BF%90%E8%A1%8C%E5%BE%97%E6%9B%B4%E6%85%A2%EF%BC%8C%E4%B9%9F%E8%AE%B8%E6%98%AF%E4%B8%BA%E4%BA%86%E7%9B%B4%E8%A7%82%E5%9C%B0%E7%9C%8B%E5%88%B0%E5%8F%98%E5%8C%96%E7%9A%84%E8%BF%9B%E7%A8%8B%E3%80%82%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E5%BD%93%20JMP%20%E5%A4%84%E4%BA%8E%E7%A9%BA%E9%97%B2%E7%8A%B6%E6%80%81%E6%97%B6%EF%BC%8CJMP%20%E7%9A%84%E8%A1%A8%E6%A0%BC%E5%85%AC%E5%BC%8F%E4%BC%9A%E5%9C%A8%E5%90%8E%E5%8F%B0%E8%BF%9B%E8%A1%8C%E8%AE%A1%E7%AE%97%E3%80%82Wait(%20n%20%26gt%3B%200%20)%20%E4%BD%BF%20JMP%20%E5%A4%84%E4%BA%8E%E7%A9%BA%E9%97%B2%E7%8A%B6%E6%80%81%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%85%AC%E5%BC%8F%E5%8F%AF%E4%BB%A5%E8%BF%9B%E8%A1%8C%E8%AE%A1%E7%AE%97%E3%80%82%E7%A9%BA%E9%97%B2%E6%97%B6%E9%97%B4%E5%85%AC%E5%BC%8F%E8%AE%A1%E7%AE%97%E7%9B%B8%E5%BD%93%E6%85%A2%EF%BC%9B%E4%BD%BF%E7%94%A8%20dt%26lt%3B%20%3CRUNFORMULAS%20will%3D%22%22%20be%3D%22%22%20dramatically%3D%22%22%20faster%3D%22%22%20if%3D%22%22%20there%3D%22%22%20are%3D%22%22%201e6%3D%22%22%20rows%3D%22%22%20in%3D%22%22%20the%3D%22%22%20table.%3D%22%22%3E%26lt%3B%26gt%3B%3C%2FRUNFORMULAS%3E%3C%2FP%3E%3CP%3E%E8%AE%B8%E5%A4%9A%E6%95%B0%E6%8D%AE%E8%A1%A8%E5%91%BD%E4%BB%A4%E9%83%BD%E6%9C%89%20%26lt%3B%20%3CRUNFORMULAS%20built%3D%22%22%20in%3D%22%22%3E%3C%2FRUNFORMULAS%3E%3C%2FP%3E%3CP%3EWait(n)%20%E7%A9%BA%E9%97%B2%E6%97%B6%E9%97%B4%E5%85%81%E8%AE%B8%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E6%9B%B4%E6%96%B0%E6%98%BE%E7%A4%BA%E5%B9%B6%E5%B0%86%E5%87%BB%E9%94%AE%E5%92%8C%E9%BC%A0%E6%A0%87%E7%82%B9%E5%87%BB%E5%8F%91%E9%80%81%E5%88%B0%E6%82%A8%E7%9A%84%E7%A8%8B%E5%BA%8F%E3%80%82%E5%A6%82%E6%9E%9C%E6%82%A8%E7%BC%96%E5%86%99%E4%B8%80%E4%B8%AA%E6%B2%A1%E6%9C%89%20wait(0)%20%E7%A9%BA%E9%97%B2%E6%97%B6%E9%97%B4%E7%9A%84%E5%BE%AA%E7%8E%AF%E6%9D%A5%E6%89%93%E5%BC%80%E5%92%8C%E5%85%B3%E9%97%AD%E5%B9%B3%E5%8F%B0%EF%BC%8C%E6%82%A8%E5%B0%86%E4%B8%8D%E4%BC%9A%E5%9C%A8%E6%98%BE%E7%A4%BA%E5%B1%8F%E4%B8%8A%E7%9C%8B%E5%88%B0%E4%BB%BB%E4%BD%95%E6%B4%BB%E5%8A%A8%E3%80%82%E5%A6%82%E6%9E%9C%E6%82%A8%E9%9C%80%E8%A6%81%E7%9C%8B%E5%88%B0%E7%AA%97%E5%8F%A3%E5%BC%B9%E5%87%BA%EF%BC%8C%E5%88%99%20wait(0)%20%E6%98%AF%E5%90%88%E9%80%82%E7%9A%84%E3%80%82%E5%8D%B3%E4%BD%BF%E4%BB%80%E4%B9%88%E9%83%BD%E6%B2%A1%E6%9C%89%E5%8F%91%E7%94%9F%EF%BC%8Cwait(0)%20%E4%B9%9F%E4%BC%9A%E6%9C%89%E4%B8%80%E7%82%B9%E6%97%B6%E9%97%B4%E6%8D%9F%E5%A4%B1%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
RVhydrA
Level III

Wait(0) vs Wait(n) vs Run vs Finish

I have very large, and constantly growing data tables so I have issues with formulas not finishing. I wish JMP would just build in a mechanism to stop scripts from continuing until each line has finished but perhaps there is a reason for not doing this I'm not thinking of. I typically use a wait(n) command (e.g. wait(30);) however as the dataset grows I'm constantly having to update countless instances of "wait" throughout the thousands of lines of code as the tables become to large for certain lines of code to finish evaluating. I later thought I had learned that wait(0); would be dynamic. It would wait as long as is needed to finish the evaluation before moving to the next line, so I changed everything to wait(0), but now many lines are failing to complete and thus the script is breaking. Was I wrong to think that the wait(0); command would be dynamic as I described? I tried "Run" and "Finish" commands but neither worked. I went back and put, for example, a wait(30); in one place and it worked again.. so am I stuck with these static time increments that I'll inevitably have to continue changing over time.. or am I doing something wrong here?

5 REPLIES 5
jthi
Super User

Re: Wait(0) vs Wait(n) vs Run vs Finish

Have you tried using:

dt << Run Formulas();

or

dt << Rerun Formulas;

to my understanding with these JMP should wait for formula evaluation to finish before it continues.

Other possible options: Also are formulas necessary? Could you manage with << Set Each Value instead of Formulas? Also maybe use of dt << Begin Data Update; and dt << End Data Update;  could be of use.

 

-Jarmo
RVhydrA
Level III

Re: Wait(0) vs Wait(n) vs Run vs Finish

I shouldn have specified that its not only formula evaluations but actions like opening and joining or updating another table, sorting a table, etc.. will those commands work on things that aren't formulas?

jthi
Super User

Re: Wait(0) vs Wait(n) vs Run vs Finish

I think if you have formulas in the tables you are joining/updating then it could help. I think I have never had issues with directly related to JMP data tables which would have required me to use wait (mostly issues have been related to some variables not getting values or with visualisations in new window). I don't know enough technical details what JMP is doing in background so maybe you could try emailing support@jmp.com for assistance? Also tagging @Jeff_Perkinson based on this old response How can I force my script to execute sequentially? 

 

Couple of questions:

Are you using Current Datatable() to reference to datatables? Which JMP version are you using?

 

Links:

https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/scripting-data-tables.shtml#ww2071832 

https://www.jmp.com/support/help/en/15.2/index.shtml#page/jmp/scripting-numbers-strings-arrays-and-l... 

-Jarmo
hogi
Level XII

Re: Wait(0) vs Wait(n) vs Run vs Finish

In General, I used << run formulas in my scripts.

But, I agree to what @RVhydrA wrote.
From what is written in the scripting index, wait(0) should do the same job:

hogi_0-1731304755634.png

 

 

Craige_Hales
Super User

Re: Wait(0) vs Wait(n) vs Run vs Finish

  • Use wait(0) to make windows appear and make buttons work during a loop.
  • Use <<RunFormulas for forcing evaluation of data table formulas to complete.
  • Use wait(1) to make a script run slower, perhaps to visualize a progression of changes.

JMP's table formulas evaluate in the background, when JMP is idle. Wait( n > 0 ) makes JMP be idle so the formulas can evaluate. The idle time formula evaluation is quite slow; using dt<<RunFormulas will be dramatically faster if there are 1E6 rows in the table.

Many data table commands have the <<RunFormulas built in ( dt<<sort, for example.) But operations like row indexing ( dt:height[i], for example ) do not, and an explicit <<RunFormulas is recommended (before the loop, not in the loop...there is a small time penalty even if it does nothing.)

Wait(n) idle time allows the operating system to update the display and send keystrokes and mouse clicks to your program. If you write a loop with no wait(0) idle time that opens and closes platforms, you won't see any activity on the display. If you need to see the windows popping open, a wait(0) is appropriate there. There is a small time penalty for wait(0) as well, even if nothing happens.

 

Craige