14.03.2014 Views

Automation Reference - JMP

Automation Reference - JMP

Automation Reference - JMP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Application Object <strong>Reference</strong> for Automating <strong>JMP</strong><br />

Platform Methods<br />

Related methods are:<br />

• LoadFactors(Table as DataTable) As Boolean<br />

• LoadConstraints(Table as DataTable) As Boolean<br />

LoadFactors(Table as DataTable) As Boolean<br />

This method can be used to load the design factors from an existing automation data table.<br />

The table must already by loaded using OpenDocument(FileName As String) As Document, and the object<br />

passed back from OpenDocument::GetDataTable must be passed to this method. A return value of True indicates<br />

success, False indicates failure. This method should be called before invoking MakeModel(ModelType As<br />

doeModelTypes) As Boolean, MakeDesign(), and MakeTable() As Boolean.<br />

Related methods are:<br />

• LoadResponses(Table as DataTable) As Boolean<br />

• LoadConstraints(Table as DataTable) As Boolean<br />

LoadConstraints(Table as DataTable) As Boolean<br />

This method can be used to load the design constraints from an existing automation data table.<br />

The table must already by loaded using OpenDocument(FileName As String) As Document, and the object<br />

passed back from OpenDocument::GetDataTable must be passed to this method. A return value of True indicates<br />

success, False indicates failure. This method should be called before invoking MakeModel(ModelType As<br />

doeModelTypes) As Boolean, MakeDesign(), and MakeTable() As Boolean.<br />

Related methods are:<br />

• LoadResponses(Table as DataTable) As Boolean<br />

• LoadFactors(Table as DataTable) As Boolean<br />

MakeDesign()<br />

Make the design. Call this after adding factors, calling MakeModel(ModelType As doeModelTypes) As Boolean,<br />

and adding terms.<br />

MakeModel(ModelType As doeModelTypes) As Boolean<br />

Make the DOE model, using the model type constants like RSM, Linear, and Interactions. You should call this<br />

method after adding factors, but before calling MakeDesign() and MakeTable() As Boolean.<br />

MakeTable() As Boolean<br />

Produce the design table. If SimulateResponses() was called previously, then the table will contain simulated<br />

results as well as the completed design.<br />

NumberOfCenterpoints(nCenterpoints As Long) As Boolean<br />

Enter the number of center points if desired, before calling MakeTable() As Boolean.<br />

NumberOfReplicates(nReplicates as Long) As Boolean<br />

Enter the number of replicates if desired, before calling MakeTable() As Boolean.<br />

Page 88

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!