system.mes.spc.definition.getSampleDefinition(sampleDefName)

Sepasoft MES Module Suite

system.mes.spc.definition.getSampleDefinition(sampleDefName)

Returns a reference to the sample definition object specified by the name.

Sample Definition object may be used in other functions or object functions can be used to modify the sample definition.

Syntax

system.mes.spc.definition.getSampleDefinition(sampleDefName)

  • Parameters

String sampleDefName - The name given to the sample definition when it was created.

  • ReturnsMESSampleDefi

MESSampleDefinition - A reference to the matching sample definition.

  • Scope

All

Code Example

Python
sampleDefinition = system.mes.spc.definition.getSampleDefinition('Test')

Sepasoft MES Module Suite