Condition

SCPI Command :

MTESt:CONDition
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(mask_test: str) MtestPassFailMode[source]
# MTESt:CONDition
value: enums.MtestPassFailMode = driver.mtest.condition.get(mask_test = 'abc')

Sets the first criteria for a failed test, the kind of hits to be considered for test evaluation. A test has failed if the number of sample hits or acquisition hits exceeds the limit defined by method RsRtx.mtest.tolerance.set() .

Parameters:

mask_test – String with the name of the mask test

Returns:

pass_fail_mode: SAMPles | ACQuisitions

  • SAMPles: Considers the number of samples that hit the mask.

  • ACQuisitions: Considers the number of acquisitions that contain at least one sample hit. How many samples hit the mask in that acquisition is not relevant.

set(mask_test: str, pass_fail_mode: MtestPassFailMode) None[source]
# MTESt:CONDition
driver.mtest.condition.set(mask_test = 'abc', pass_fail_mode = enums.MtestPassFailMode.ACQuisitions)

Sets the first criteria for a failed test, the kind of hits to be considered for test evaluation. A test has failed if the number of sample hits or acquisition hits exceeds the limit defined by method RsRtx.mtest.tolerance.set() .

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

  • pass_fail_mode

    SAMPles | ACQuisitions

    • SAMPles: Considers the number of samples that hit the mask.

    • ACQuisitions: Considers the number of acquisitions that contain at least one sample hit. How many samples hit the mask in that acquisition is not relevant.