State

SCPI Command :

MTESt:SEGMent:STATe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(mask_test: str, mask_segment: int) bool[source]
# MTESt:SEGMent:STATe
value: bool = driver.mtest.segment.state.get(mask_test = 'abc', mask_segment = 1)

Enables and disables the mask segment. Disabled segments are not considered by running tests.

Parameters:
  • mask_test – String with the name of the mask test

  • mask_segment – Number of the segment. Counting starts from 0.

Returns:

state: OFF | ON

set(mask_test: str, mask_segment: int, state: bool) None[source]
# MTESt:SEGMent:STATe
driver.mtest.segment.state.set(mask_test = 'abc', mask_segment = 1, state = False)

Enables and disables the mask segment. Disabled segments are not considered by running tests.

Parameters:
  • mask_test – String with the name of the mask test

  • mask_segment – Number of the segment. Counting starts from 0.

  • state – OFF | ON