:MEASure:EYE:NMARgin:STATus:REASon?
Query Syntax
:MEASure:EYE:NMARgin:STATus:REASon?
Query Response
Refer to the table "Possible Common :STATus:REASon? Query Responses".
Description
Returns a string with information about :EYE:NMARgin
measurement. If the measurement fails, a short string is returned that describes the failure and additional information may be available using the :STATus:DETails?
sibling query. If the measurement correctly completes without errors, a truncated string of additional measurement information is returned as explained in :EYE:NMARgin
. The full contents of the string can be returned using the :STATus:DETails?
query. This behavour of returning information for a successful measurement is unique to this measurement.
Use the :EYE:NMARgin:STATus?
parent query to determine if the measurement has passed or failed.
Requires FlexDCA revision A.05.70 and above.
Measurement Identification
Avoid subtle programming errors! To ensure that the correct measurement is installed or queried, always explicitly identify a measurement when installing a measurement or querying a measured value, status, or detail. To identify a measurement, specify the measurement's source waveform (:SOURce
child command). With some measurements, you may also need to specify other identifying values. Generally, when selecting a measurement using FlexDCA's GUI, if a dialog appears prompting you to select values, you should explicitly specify these values when remotely identifying the measurement. More information.
For example, to return the status of the measurement, :MEASure:EYE:NMARgin
:
flex.write(':MEASure:EYE:NMARgin:SOURce CHAN1A') if flex.query(':MEASure:EYE:NMARgin:STATus?') == 'CORR'; measurement = flex.query(':MEASure:EYE:NMARgin?') else: details = flex.query(':MEASure:EYE:NMARgin:STATus:DETails?') reason = flex.query(':MEASure:EYE:NMARgin:STATus:REASon?')