Fluke PM6685R STATus QUEStionable CONDition?, Read Questionable Data/Signal Condition Register

Page 234

:STATus :QUEStionable :CONDition?

PM6680B/81/85

Read Questionable Data/Signal Condition Register

Reads out the contents of the status questionable condition register.

Returned Format:

<dec.data> = the sum (between 0 and 17920) of all bits that are true. See table below:

Bit No.

Weight

Condition

 

 

 

14

16384

Unexpected parameter

 

 

 

10

1024

Timeout or no signal detected

 

 

 

9

512

Overflow

 

 

 

 

 

 

Complies to standards:

SCPI 1991.0, confirmed.

9-104 Command Reference

Image 234
Contents Timer/Counter/ Analyzers Pendulum Instruments AB Sweden Table of Contents Abort Configure FunctionDiagnostics Subsystem Arming SubsystemMemory Subsystem Sense Command SubsystemCommon Commands Output SubsystemIndex Getting Started Sections IndexSyntax Specification Form Manual ConventionsMnemonic Conventions Setting Up Instrument Setting the Gpib AddressExample Language Interface Functions Power-onTesting the Bus What can I do with the Bus?Remote/Local, RL1 Service Request, SR1Listener Function, L4 Parallel Poll, PP0Bus Commands for the Benchtop User INPLEVlevel Error CodeINPATT110 INP2ATT110These commands are from the Sense subsystem Systpres or *RSTACQHOFFTIMEtime FUNCfunctionchannel,channel ACQAPERtimeCalcavertypemaxminsdevmean Selects statistical function SAVmemory location*RCLmemory locationMemory location can be any No. between 0 All commands on this page are from the Sense subsystem FUNCTOT1,2This command is from the Sense subsystem OUTPSCALscaling factor SYSTCOMMGPIBADDRAddressDefault settings after *RST Default settings after *RSTIntroduction to Scpi Reason for Scpi What is SCPI?What is SCPI? CompatibilityManagement and Maintenance of Programs GpibHow does Scpi Work in the Instrument? Message Exchange Control protocolHow does Scpi Work in the Instrument? Protocol Requirements Deferred CommandsSequential and Overlapped Commands Order of ExecutionRemote Local Protocol DefinitionsSyntax of Program Messages Program and Response MessagesSyntax and Style Program and Response MessagesPage Notation Habit in Command Syntax Syntax of Response MessagesResponses Example Moving down the Command TreeCommand Tree SEND→ InputfilteronBoolean Data ParametersNumeric Data KeywordsSEND→ Systtouton or SYSTTOUT1 Expression DataSummary Other Data Types #218INPIMP50SENS10Macro Names Define Macro CommandMacros Data Types within MacrosHow to Execute a Macro Deleting MacrosEnabling and Disabling Macros GMC? Get Macro Contents Query Retrieve a MacroLMC? Learn Macro Query Status Reporting System IntroductionStatus Reporting System Read the Error/Event Queue Error ReportingDetecting Errors in the Queue Standardized Error NumbersExecution Error Device-specific ErrorQuery Error Bus Initialization Initialization and ResettingReset Strategy Message Exchange Initialization*RST Command *CLS CommandProgramming Examples Introduction IntroductionSetting up the interface GW-Basic for National Instruments PC-IIALimit Testing Frequency Profiling 90 ‘ 100 ‘ 110 ‘ -- Enable arming, etc180 ‘ Armdelay = 50 ‘270 WRT$ = Armdel + STR$ARMDELAY Call IBWRTCNT%, WRT$ PRINT#1, STR$ARMDELAY, LEFT$MSG$, INSTRMSG$, CHR$10Call IBRDCNT%, MSG$ Fast Sampling Call Ibwait CNT%, Mask510 MSG$ = SPACE$255 600 ‘ Close 620 END260 ‘ -- Enter Command String and Send to Counter 130 ‘ -- SET Event Status Enable180 ‘ -- SET Service Request Enable Status ReportingLfpos 650 ‘ -- Read Error Messages410 ‘ -- Check Message Available BIT While SPR% 520 ‘ -- Check Event Status BIT330 WRT$ = Calcavertype MAX CALCIMM? Call Ibwrt CNT%, WRT$ StatisticsPrint Waiting for Measurement to GET Ready Call Ibrd CNT%, MSG$ Print Maximum = LEFT$MSG$, IBCNT%Call Ibrd CNT%, MSG$ Print Mean = LEFT$MSG$, IBCNT% Call Ibrd CNT%, MSG$ Print Minimum = LEFT$MSG$, IBCNT%470 WRT$ = Calcavertype Mean CALCIMM? Call Ibwrt CNT%, WRT$ 540 WRT$ = Calcavertype Sdev CALCIMM? Call Ibwrt CNT%, WRT$‘C’ for National Instruments ‘C’ for National Instruments PC-IIA14 ‘C’ for National Instruments PC-IIA, Limit Testing Real Data Format ‘C’ for National Instruments PC-IIA, Real Data Format16 ‘C’ for National Instruments PC-IIA, Frequency Profiling FileOfp 17 ‘C’ for National Instruments PC-IIA, Frequency Profiling Capture Profile18 ‘C’ for National Instruments PC-IIA, Fast Sampling ‘C’ for National Instruments PC-IIA, Fast Sampliing 20 ‘C’ for National Instruments PC-IIA, Statistics ‘C’ for National Instruments PC-IIA, Statistics 22 ‘C’ for National Instruments PC-IIA This side is intentionally left blankInstrument Model Function Instrument Examples Type SENSe Measurement Function BlockINPut CALCulateOther Subsystems Order of ExecutionMEASure? CONFigure READ?MEASurement Function MEASurement FunctionCONFigure INITiateFETCh? Versatility of Measurement Com- mandsREAD? Using the Subsystems Introduction Limit Monitoring MathematicsStatistics Calculate SubsystemPM6680B, PM6685 PM6681Calibration Subsystem Configure Function Configure FunctionTime Stamp Readout Format Format SubsystemPM6685 Input Subsystems2Summary of PM6680B / PM6681 input amplifier settings PM6680B/PM6681SEND→ MEASureFREQ? CONFigure READ?MEASure? SEND→ MEASureFREQ?20MHz,1CONFigureINITiateFETCh? SEND→ READ?Versatility of measurement com Mands Scaling Factor Output SubsystemResolution Same exponent, opposite signSwitchbox Sense Command SubsystemPrescaling Status Structure Using the RegistersStatus Reporting Model Status Subsystem7654 3210 Status of the Error Message Queue EAV Clearing/Setting all bitsUsing the Queues Using the Status ByteSelecting Summary Message to Gen Erate SRQIc e Status Byte Setting up the Counter to Report StatusReading and Clearing Status Status Event RegistersStatus Condition Registers Why Two Types of Registers?Set up Check & ActionA t u s B y t e Standard Status RegistersG ic a G i s t e rStandard Event Status Register Summary, Standard Event Status ReportingSCPI-defined Status Registers Operation Status Group Summary, Operation StatusReporting Status Group Questionable Data/SignalData/Signal Status Reporting Summary QuestionableError Queue Device-defined Status StructurePower-on Status Clear Preset the Status Reporting StructureSummary, Device-defined Status Reporting ARM-TRIG Trigger Configuration Instrument ActionTrigger/Arming Subsystem Structure of the Idle and Initiated States Structure of an Event-detection LayerForward Traversing an Event-detection Layer Triggering TRG Trigger CommandWhen to use *TRG and GET Backward Traversing an Event-detection LayerE n t d e t e c t i o n l a y e r E n t d e t e c t i o n l oa ny e er a c h a r mHow to Measure Fast Start Controller SynchronizationMeasurement Cycle Synchronization StopRough Trigger SubsystemDescription Some Basic Commands Data Format CommandMEASFREQ? MEASMEM1? MEASMEM?1 RCL 1READ?Basic Measurement Method Individually Synchronized MeasurementsInitcont and GET ARMSTARTLAY2SOURceBUSREADARRay? General Speed ImprovementsBlock Synchronized Measurements Init + GET + FETCHARRay?Gpib Data Format Time Measurement ResolutionDisplay Control Automatic Interpolator Calibration PM6680B/85Block Measurements MeasureMents/second Real Time CalculationOptimal Method Supervising a ProcessObvious Method Supervising a ProcessDead Time Between Measurements Including Speed SummarySpeed Summary Transfer to Controller Ascii Data Format Real Data FormatE e d D i v i d u a l l y s y n c . m e a s Dead Time Between Measurements Block Synchronized MeasurementsSpeed Improvement Actions PM6680B PM6681 PM6685Calculating the Measurement SpeedTimesaving Com Time Gain in ms Sacrifice Mands FreqSingle Speed Switch Command for PM6680B/85 Single Speed Switch Command for PM6681Error Messages SEND→ SYSTemERRor? READ← -100, Command Error Read the Error/Event QueueError Code 0 to Command ErrorsError Code -105 to -120 Detect a more specific error Error Code -121 toMore specific error Ular error message is used when the counter cannotError Code -151 to -170 Error Code -171 to Error Code -200 to -221 Error message is used when the counter cannot de Error Code -222 toExecution errors Tect the more specific errors described for errorsError Code -241 to -272 Error Code -273 to Header syntaxMacro label was already defined see Error Code -300 to -350 Error Code -400 to Query errorsUnsupported auto Command Error Code 1100 to -1139Unsupported enu Merated command Unsupported single Shot commandOutput Read, but the waiting was broken by the operator Error Code 1150 toReset during bus Some PC controller cards has been known to doError Code 1214 to -1240 Parser error Generic error in the parserThis page is intentionally left blank Command Reference Command Reference Abort PM6680B/81/85 ABORtAbort Measurement Aborts all previous measurements if *WAI is not usedArming Subsystem «Numeric valueMINMAX» PM6680B/81/85 ARM COUNtNo. of Measurements on each Bus arm Send ARMCOUN100ARM ECOunt ARM DELayDelay after External Start Arming External Events before Start ArmingBus Arming Override ARM LAYer2ARM LAYer2 SOURce Bus Arming On/OffExternal Arming Start Slope ARM SLOPeARM SOURce External Arming Start SourceARM Stop ECOunt ARM Stop DELayDelay after External Stop Arming External Events before Stop ArmingExternal Stop Arming Slope ARM Stop SLOPeARM Stop SOURce External Stop Arming SourceThis page is intentionally left blank Calculate Subsystem CALCulate AVERage STATe Enable StatisticsCALCulate AVERage COUNt Sample Size for StatisticsFetch calculated data CALCulate AVERage TypeStatistical Type Send Calcmathstat Oncalcmath X 10.7E6INIT *OPCCALCulate LIMit Enable Monitoring of Parameter LimitsCALCulate IMMediate Recalculate DataLimit Fail CALCulate LIMit FAIL?CALCulate LIMit LOWer Set Low LimitCALCulate LIMit UPPer Set Upper LimitCALCulate LIMit LOWer STATe Check Against Lower LimitCALCulate LIMit UPPer STATe Check Against Upper LimitExpression CALCulate MathSelect Mathematical Expression Sendcalcmath X 10.7E6MATHSTATE ONREAD?CALCulate Math STATe Enable MathematicsThis example switches on mathematics No calculationCALCulate STATe Enable CalculationSwitches on Post Processing Send CalcstatCalibration Subsystem Calibration of Interpolator ‘How to Measure Fast’CALibration INTerpolator Auto Boolean OnceConfigure Function Set up Instrument for MeasurementParameters,channels CONFigure Measuring FunctionConfigure the counter for a single measurement Send CONFFREQRAT@3,@1Send Confarrper 7,5E-3,1E-6,@4 CONFigure ARRay Measuring FunctionConfigure the counter for an array of measurements Send READARR?This page is intentionally left blank Diagnostics Subsystem Send Diagcalinphyst Once DIAGnosticCALibrationINPut12HYSTeresisInput comparator hysteresis calibration This string calibrates both input a and input BDisplay Subsystem See also , ‘How to Measure Fast’ DISPlay ENABleWhere Boolean = 1 / on 0 / OFF Display StateFetch Function FETCh? Fetch One ResultFETCh ARRay? Fetch an Array of Results«fetch array sizeMAX» Returned format data,data Format Subsystem FORMat Response Data TypeResponse Data Format FORMat FIXedFORMat SREGister Data Type for Status MessagesFORMat TINFormation Timestamping On/Off TimestampingOn/OffInitiate Subsystem Initiate Measurement INITiateINITiate CONTinuous Continuously InitiatedInput Subsystems Input B Not PM6685INPut«12» ATTenuation INPut«12» COUPlingAC/DC Coupling Low Pass Filter INPut FILTerINPut HYSTeresis Sensitivity«BooleanONCE» INPut HYSTeresis AutoAuto Sensitivity Send Inphystauto OFFInput Impedance INPut«12» IMPedanceINPut«12» LEVel Fixed Trigger Level«Decimal dataMAXMIN» PM6685 INPut LEVelWaveform compensation Send Inplev 3.75LEVAUTOSend Inplevauto OFF INPut LEVel AutoAutotrigger Send INP2LEVAUTO onAutotrigger INPutAUTO? INPut«124» SLOPe INPut2COMMonTrigger Slope This page is intentionally left blank Set up the Instrument, Perform Measurement, and Read Data Measurement FunctionRISETIME? Tion, @1@3@4@5@6 Parameters ,channels PM6680B/81/85 MEASure Measuring Function?Make one measurement Send MEASFREQ? @3 Read 1.78112526833E+009Send MEASARRFREQ? MEASure ARRay Measuring Function?Make an array of measurements Ten measuring results will be returnedMEASureMEMory? Data Format CommandMEASureMEMoryN? Memory Recall, Measure and Fetch ResultSend MEASPDUT? MEASure«DCYCle/PDUTycycle»Positive Duty Cycle Read +5.097555E-001Frequency Expected value,resolution ,@«1234567» PM6680B/81/85MEASure FREQuency? This example measures the frequency at input CExpected value,resolution ,@«1234567» MEASure FREQuency BURSt?Burst Carrier Frequency MEASure FREQuency PRF? Pulse Repetition FrequencyExp. val.,res.,@«1234567» PM6680B/81/85 Frequency Ratio MEASure FREQuency RATio?Fall-time Send MEASFREQRAT? @1,@3 Read 2.345625764333E+000Positive Peak Voltage MEASure Volt MAXimum?MEASure Volt MINimum? Negative Peak VoltageNegative Pulse Width MEASure NWIDth?MEASure PWIDth? Positive Pulse WidthPositive duty cycle Duty Factor MEASure«PDUTycycle/ DCYCle»?MEASure«NDUTycycle»? Negative duty cycle Duty FactorMEASure PERiod? MEASure PHASe?Phase PeriodPeak-to-Peak Voltage MEASure Volt PTPeak?MEASure Rise TIME? Rise-timeMEASure TINTerval? Time-Interval@«124»,@«124» MEASure TOTalize ACCumulated? Totalize X gated by Y, accumulatedTime for gate open,@«12456» ,@«12456» PM6680B PM6681 @«1246»,@«1246» PM6680B/81/85CONFigure TOTalize CONTinuousTotalize Manually Send CONFTOTINPSLOPe negTotalize X gated by Y MEASure TOTalize GATed?MEASure TOTalize SSTop? Totalize X start/stop by YTime for gate open ,@«124»,@«124» Totalize X-Y During a Preset TimeMEASure TOTalize TIMed? Send MEASTOTTIM? 1,@1,@1This page is intentionally left blank Related Common Commands Memory SubsystemDelete one Macro MEMory DELete MACRoMEMory Free SENSe? Memory Free for resultsBytes available, Bytes used Memory Free for MacrosMemory States Number of states availableThis page is intentionally left blank Output Subsystem OUTPut SCALe Enable Analog OutOUTPut Scaling Factor, Analog OutputRead Function Perform Measurement and Read DataRead one Result Send Conffreqinpfilt ONREAD?«array size for FETChMAX» READARRay?Read an array of results Send Armcoun 10READARR?This page is intentionally left blank Sense Command Subsystem Sense Subsystem command tree for PM6680B and PM6681Sense Subsystem command tree for PM6685 «Decimal value MINMAX» ACQuisition APERtureSet the Measurement Time Decimal value 10 msHold Off On/Off ACQuisition HoffACQuisition Hoff ECOunt Hold Off, set event counterACQuisition Hoff Time ACQuisition Hoff ModeHold Off Mode Hold Off TimeACQuisition RESolution AVERage COUNt Average Samples«Decimal dataMIN MAX» Average or Single? AVERage STATeFREQuency RANGe LOWer High Speed Voltage MeasurementsFunctions and channels in PM6685 FUNCtionSelect Measuring Function Input channels PM6685Functions and channels in PM6680B and PM6681 Input channels PM6680B and PM6681Number of Results INTernal FORMatInternal Format BufferROSCillator SOURce SDELayBURST/PRF Synchronization Delay Select Reference OscillatorGate On/Off TOTalize GateVOLTageGATedSTATe Gated Voltage MeasurementThis page is intentionally left blank Related Common Commands Status SubsystemBit No Weight Condition STATus DREGister0 ENABleEnable Device Status Reporting STATus DREGister0?STATus OPERation CONDition? Read Operation Status Condition RegisterSend Statoperenab STATus OPERation ENABleEnable Operation Status Reporting 288STATusPRESet values STATusOPERation?Read Operation Status, Event Read Questionable Data/Signal Condition Register STATus QUEStionable CONDition?Read Questionable Data/Signal Event Register STATus QUEStionable ENABleEnable Questionable Data/Signal Status Reporting STATus QUEStionable?This page is intentionally left blank Related common command System SubsystemSet Gpib Address SYSTem ERRor?SYSTem COMMunicate Gpib ADDRess Send SystcommgpibaddrSignal Detection SYSTem PRESetPreset See also Default settings onSYSTem Time ELAPsed? Read or Send SettingsSYSTem SET Read On-timeSYSTem Tout Timeout On/OffTimeout, Set SYSTem Tout TimeUnprotect SYSTem UNPRotectSYSTem VERSion? System VersionTest Subsystem Test SELect Select Check signalTESTCHECk Select Self-testsTrigger Subsystem TRIGgerCOUNt No. of Triggerings on each Ext Arm startSend Trigcoun Common Commands Clear Status Command Send *CLSRead +3.46125461E-001+3.64852399E-001 Define MacroSend AMPLITUDE? Send Autofilt OFFDecimal data PM6680B/81/85 Enable MacrosEnables macro expansion and execution SEND*EMCStandard Event Status Enable Event Status Enable Register 1 = enableOperation Complete Macro label PM6680B/81/85 Event Status RegisterGet Macro Definition Send *GMC? ‘AMPLITUDE?’Main Identification queryLearn Macro READAUTOFILT,AMPLITUDE?Learn Device Setup Operation CompleteSend INIT*OPC Example 6 is Chapter Operation Complete QueryOption Identification Bus option,Prescaler optionPurge Macros Power-on Status ClearThis example enables automatic power-on clearing Removes all macro definitionsProtected User Data RecallDefault settings on ResetThis command removes an individual MACRo PM6680B/81/85 ‘Macro name’ is the name of the macro you want to deleteSave Decimal data = a number between 1Send *SAV Service Request Enable Service Request Enable Register 1 = enableSend ARMSTARTLAY2SOURCE BUS Send Initcont on Status Byte QueryARMSTARtLAYer2IMM *WAIFETCh? Read +3.2770536E+004Wait-to-continue Integer = PM6680B Error PM6681, PM6685 Er RorSelf Test SENDMEASFREQ? *WAIMEASPDUT?Index Auto calibration on/off· · · · · · · · · · · 9-24Average AddressAuto Average or Single? · · · · · · · · · · · · ·Bus Command Error CMEBurst CalculateCONFigureTOTalizeACCumulated ARMSEQuence1LAYer1ECOuntSENSeFREQuencyRANGeLOWer STATusOPERationCONDition?STATusQUEStionableCONDition? Device Status Register DelayDevice dependent Error DDE DisplayExternal Events before Start Arming EventsExecution Fail Limit · · · · · · · · · · · · · · · · · · · · · · ·Hysteresis · · · · · · · · · · · · · · · · · · · · Initiated state · · · · · · · · · · · · · · · · · 6-28InputLower Limit MeasuringMonitor Operation StatusResponse PulseQUE · · · · · · · · · · · · · · · · · 9-130 9-131Query ResultStop arming · · · · · · · · · · · · · · · · · 9-11Source SettingsSet SpeedTest TimeTime out For measurement TIO · · · · · · · 6-24Timebase See Also Command *TRG Upper Limit