Execute Measurement Item

This book describes how to execute the measurement item from command-line. The commands to be described are as follows:

  • CT_MeasureItemSelect
  • CT_MeasureItemStart
  • CT_MeasureItemStartNoWait
  • CT_MeasureItemStop
  • CT_MeasureItemGetErrorMessage
  • CT_MeasureItemGetStatus
  • CT_MeasureItemGetResult

These commands are available in the following products:

  • OperationWindow for CX1000
  • CloudTesting™ Lab Expert Mode

Select a Measurement Item

CT_MeasureItemSelect is a command to select the measurement item.

CT_MeasureItemSelect.bat
[ <measure_item_name> | /list ]

Options

OptionDescription
measure_item_nameThe name of measurement item
/listDisplay the list of measurement items

Example

The following command selects the [FunctionTest] measurement item.

C:\>CT_MeasureItemSelect.bat FunctionTest
C:\>

The following command displays the list of measurement items.

C:\>CT_MeasureItemSelect.bat /list
ContactTest
FunctionTest
PowerSupplyCurrentTest
C:\>

Execute a measurement item

CT_MeasureItemStart and CT_MeasureItemStartNoWait are command to execute measurement item.

If the name of measurement item is not specified, the command execute the measurement item which is selected on CloudTesting™ Lab.

CT_MeasureItemStart displays the result of the measurement item. The command does not end until the execution of measurement item is finished.

CT_MeasureItemStartNoWait does not display the result of the measurement item. The command ends without waiting of the execution of the measurement item.

CT_MeasureItemStart.bat
[ <measure_item_name> ]

CT_MeasureItemStartNoWait.bat
[ <measure_item_name> ]

Options

OptionDescription
measure_item_nameThe name of measurement item

Example

The following command executes [FunctionTest] measurement item and displays its result.

C:\>CT_MeasureItemStart.bat FunctionTest
Pass
C:\>

The following command executes [FunctionTest] measurement item.

C:\>CT_MeasureItemStartNoWait.bat FunctionTest
C:\>

Abort the execution of measurement item

CT_MeasureItemStop is a command to abord the execution of the measurement item.

CT_MeasureItemStop.bat

Example

The following command abort the execution of the measurement item.

C:\>CT_MeasureItemStop.bat
C:\>

Display the execution result of the measurement item

The following commands display the execution result of the measurement item which is executed at the last.

  • CT_MeasureItemGetResult.bat
  • CT_MeasureItemGetStatus.bat
  • CT_MeasureItemGetErrorMessage.bat

CT_MeasureItemGetErrorMessages is a command to display the error message. If the error has not occured, the command does not display anything.

CT_MeasureItemGetStatus is a command to display the execution status of the measurement item. The execution statuses to be displayed are the followings:

  • Ready
  • Running
  • Not Ready

CT_MeasureItemGetResult is a command to display the execution result of the measurement item. The execution result to be displayed are the followings:

  • Pass
  • Fail
  • Not Judge
  • Error
  • Not Executed

Example

The following command displays the error message.

C:\>CT_MeasureItemGetErrorMessage.bat
Error occurred.
Error Code: 002-0004-011
Out of range 'PERIOD' value(3.750000e-009) min(7.510000e-009) max(1.344001e-005).
C:\>

The following command displays the execution status of the measurement item.

C:\>CT_MeasureItemGetStatus.bat
Running
C:\>

The following command displays the execution result of the measurement item.

C:\>CT_MeasureItemGetResult.bat
Not Judged
C:\>
Updated at
January 01, 2017