:MEASure:PEYE:LEVel:STATus:REASon?
Query Syntax
:MEASure:PEYE:LEVel:STATus:REASon?
Query Response
Refer to the table "Possible Common :STATus:REASon? Query Responses".
Description
Returns a string that explains the reason for a failed :PEYE:LEVel
measurement. If the measurement was successful, a null string is returned.
Additional information about the failure may be available using the :STATus:DETails?
sibling query. Use the :PEYE:LEVel:STATus?
parent query to determine if the measurement has failed.
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:PEYE:LEVel
:
flex.write(':MEASure:PEYE:LEVel:SOURce CHAN1A') if flex.query(':MEASure:PEYE:LEVel:STATus?') == 'CORR'; measurement = flex.query(':MEASure:PEYE:LEVel?') else: details = flex.query(':MEASure:PEYE:LEVel:STATus:DETails?') reason = flex.query(':MEASure:PEYE:LEVel:STATus:REASon?')