我正在使用可靠性成長模型 (JMP 16.2.0),並使用記住設定功能在累積事件刻畫器中輸入約 20 個唯一值。不幸的是,這些值不會與可靠性增長JSL 腳本一起保存,因此每次重新打開模型時,如果我想要比較值(這是我的分析的必要部分),我必須重新手動輸入20 個值。
有沒有辦法為這些輸入的值產生 JSL 程式碼,我可以將其附加到模型腳本,以便當我啟動它時,這 20 個值仍然保留?
謝謝你!
J.P
我是該平台的開發者。自 JMP17 以來,平台可以記住已儲存腳本中的這些設定。請考慮升級。
謝謝你的建議。我已向我的公司詢問是否更新到新版本 - 在探索此問題時是否可以共享我可以立即使用的 JSL 腳本?
JMP17 及更高版本中記住這些設定的機制不適用於 JMP16。即JMP17 中的腳本在JMP16 中將無法被辨識。
然而,在 JMP16 中,您可以手動對其進行編碼。以下是一個帶有簡要說明的範例:
dt = open("$Sample_Data/Reliability/NewEngineOperation.jmp");
//Following runs the platform, fit a model, and returns a handle.
//We usually call it "obj" as a convention.
obj = dt << Reliability Growth(
Input Format( Time to Event ),
Time to Event( :Hours ),
Event Count( :Fixes ),
Crow AMSAA( Show Profilers( 1 ), Show Profilers( 1 ) ),
);
//Report(obj) gets the display part that you see for "obj"
//What are in the squared brackets navigate the display and find the Profiler
//Eventually, get scriptable object command to the display of the profiler retrieves the Profiler itself. Assign it to "cef". Now "cef" can accept messages.
cef = (report(obj)["Models", "Crow-AMSAA", "Profilers", "Cumulative Events Profiler"]) << get scriptable object();
//This command sets up the profiler with desired values.
cef << Term Value(Hours( 5102.5, Lock( 0 ), Show( 1 ) ) );
//This command tell the profiler to "remember" the current setting.
cef << Remember Settings( "Setting 1", Differences Report( 0 ) );
//This command sets up the profiler with a different desired value.
cef << Term Value( Hours( 4032, Lock( 0 ), Show( 1 ) ) );
//This command tells the profiler to remember current setting again.
cef << Remember Settings( "Setting 2", Differences Report( 1 ) );
//The last command sets the profiler again, but no remember command follows.
cef << Term Value( Hours( 4032, Lock( 0 ), Show( 1 ) ) );