Keysight M8070A Programming Guide 29Recommended Programming Techniques 2Reading the M8020A/M8030A/M8040A’s StatusReading the M8020A/M8030A/M8040A’s Status - ConceptsThe M8020A/M8030A/M8040A has a set of status registers that you canuse to monitor the status of the hardware, software and any running tests.Overview of RegistersSpecifically, it has the following registers:• Status ByteThe Status Byte is a single register that stores the events occurring inthe other registers.• Standard Event Status RegisterThe Standard Event Status Register monitors some non-critical errorsand basic operations.• Questionable Data Status RegisterThe bits in the Questionable Data Status Register are set when certainevents occur in the M8020A/M8030A/M8040A that can lead toquestionable results.• Operation Status RegisterThe Operation Status Register indicates when certain operations havebeen completed.How the M8020A/M8030A/M8040A Uses Status RegistersYou can determine the state of certain instrument hardware and firmwareevents and conditions by programming the status register system.The following subsections provide you with details about theM8020A/M8030A/M8040A's status system.Overview of the M8020A/M8030A/M8040A’s Status SystemThe M8020A/M8030A/M8040A has status reporting features that giveimportant information about events and conditions within the instrument.For example, a flag may be set to indicate the end of a measurement orperhaps a command error. To access this information, it is necessary toquery a set of registers using SCPI.