Fluke Understanding Error Messages for Your Outdoor Timer Models PM6680B

Page 120

Error Messages

 

 

Command Errors

 

 

 

Error

Error Description

Description/Explanation/Examples

Number

 

 

–171

Invalid expression

The expression data element was invalid (see

data

IEEE-488.2, 7.7.7.2); for example, unmatched pa-

 

 

 

rentheses or an illegal character were used.

 

Invalid expression

A mnemonic data element in the expression was not

 

data; bad mnemonic

valid.

 

Invalid expression

The expression contained a hexadecimal element

 

data; illegal element

not permitted in expressions.

 

Invalid expression

End of message occurred before the closing paren-

 

data; unexpected

thesis.

 

end of message

 

 

Invalid expression

The expression could not be recognized as either a

 

data; unrecognized

mathematical expression, a data element list or a

 

expression type

channel list.

–178

Expression data not

A legal expression data was encountered but was

allowed

not allowed by the counter at this point in parsing.

 

–180

Macro error

This error as well as errors –181 through –189 is

 

generated when defining a macro or executing a

 

 

 

 

macro. This particular error message is used when

 

 

the counter cannot detect a more specific error.

–181

Invalid outside

Indicates that a macro parameter placeholder

macro definition

($<number) was encountered outside of a macro

 

 

 

definition.

–183

Invalid inside macro

Indicates that the program message unit sequence,

definition

sent with a DDT or DMC command, is syntacti-

 

 

 

cally invalid (see IEEE-10.7.6.3).

–184

Macro parameter

Indicates that a command inside the macro defini-

error

tion had the wrong number or type of parameters.

 

 

Macro parameter

The parameter numbers given are not continuous;

 

error; unused pa-

one or more numbers have been skipped.

 

rameter

 

 

Macro parameter er-

The’$’ sign was not followed by a single digit be-

 

ror; badly formed

tween 1 and 9.

 

placeholder

 

 

Macro parameter

The macro was invoked with a different number of

 

error; parameter

parameters than used in the definition.

 

count mismatch

 

8-6 Error Code -171 to -184

Image 120
Contents Timer/Counter/ Analyzers Pendulum Instruments AB Sweden Table of Contents Configure Function Diagnostics SubsystemAbort Arming SubsystemSense Command Subsystem Common CommandsMemory Subsystem Output SubsystemIndex Getting Started Sections IndexSyntax Specification Form Manual ConventionsMnemonic Conventions Setting Up Instrument Setting the Gpib AddressExample Language Power-on Testing the BusInterface Functions What can I do with the Bus?Service Request, SR1 Listener Function, L4Remote/Local, RL1 Parallel Poll, PP0Bus Commands for the Benchtop User Error Code INPATT110INPLEVlevel 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 What is SCPI? What is SCPI?Reason for Scpi CompatibilityManagement and Maintenance of Programs GpibHow does Scpi Work in the Instrument? Message Exchange Control protocolHow does Scpi Work in the Instrument? Deferred Commands Sequential and Overlapped CommandsProtocol Requirements Order of ExecutionRemote Local Protocol DefinitionsProgram and Response Messages Syntax and StyleSyntax of Program Messages Program and Response MessagesPage Notation Habit in Command Syntax Syntax of Response MessagesResponses Moving down the Command Tree Command TreeExample SEND→ InputfilteronParameters Numeric DataBoolean Data KeywordsExpression Data Summary Other Data TypesSEND→ Systtouton or SYSTTOUT1 #218INPIMP50SENS10Define Macro Command MacrosMacro Names 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 Error Reporting Detecting Errors in the QueueRead the Error/Event Queue Standardized Error NumbersExecution Error Device-specific ErrorQuery Error Initialization and Resetting Reset StrategyBus Initialization Message Exchange Initialization*RST Command *CLS CommandProgramming Examples Introduction IntroductionSetting up the interface GW-Basic for National Instruments PC-IIALimit Testing 90 ‘ 100 ‘ 110 ‘ -- Enable arming, etc 180 ‘ Armdelay =Frequency Profiling 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 END130 ‘ -- SET Event Status Enable 180 ‘ -- SET Service Request Enable260 ‘ -- Enter Command String and Send to Counter Status Reporting650 ‘ -- Read Error Messages 410 ‘ -- Check Message Available BIT While SPR%Lfpos 520 ‘ -- Check Event Status BITStatistics Print Waiting for Measurement to GET Ready330 WRT$ = Calcavertype MAX CALCIMM? Call Ibwrt CNT%, WRT$ Call Ibrd CNT%, MSG$ Print Maximum = LEFT$MSG$, IBCNT%Call Ibrd CNT%, MSG$ Print Minimum = LEFT$MSG$, IBCNT% 470 WRT$ = Calcavertype Mean CALCIMM? Call Ibwrt CNT%, WRT$Call Ibrd CNT%, MSG$ Print Mean = LEFT$MSG$, IBCNT% 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 Measurement Function Block INPutSENSe CALCulateOther Subsystems Order of ExecutionCONFigure READ? MEASurement FunctionMEASure? MEASurement FunctionCONFigure INITiateFETCh? Versatility of Measurement Com- mandsREAD? Using the Subsystems Introduction Mathematics StatisticsLimit Monitoring Calculate SubsystemPM6680B, PM6685 PM6681Calibration Subsystem Configure Function Configure FunctionTime Stamp Readout Format Format SubsystemPM6685 Input Subsystems2Summary of PM6680B / PM6681 input amplifier settings PM6680B/PM6681CONFigure READ? MEASure?SEND→ MEASureFREQ? SEND→ MEASureFREQ?20MHz,1CONFigureINITiateFETCh? SEND→ READ?Versatility of measurement com Mands Scaling Factor Output SubsystemResolution Same exponent, opposite signSwitchbox Sense Command SubsystemPrescaling Using the Registers Status Reporting ModelStatus Structure Status Subsystem7654 3210 Clearing/Setting all bits Using the QueuesStatus of the Error Message Queue EAV Using the Status ByteSelecting Summary Message to Gen Erate SRQIc e Setting up the Counter to Report Status Reading and Clearing StatusStatus Byte Status Event RegistersWhy Two Types of Registers? Set upStatus Condition Registers Check & ActionStandard Status Registers G ic aA t u s B y t e G i s t e rStandard Event Status Register Summary, Standard Event Status ReportingSCPI-defined Status Registers Operation Status Group Summary, Operation StatusReporting Questionable Data/Signal Data/Signal Status ReportingStatus Group 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 TRG Trigger Command When to use *TRG and GETTriggering 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 Controller Synchronization Measurement Cycle SynchronizationStart StopRough Trigger SubsystemDescription Some Basic Commands Command MEASFREQ?Data Format MEASMEM1? MEASMEM?1 RCL 1READ?Individually Synchronized Measurements Initcont and GETBasic Measurement Method ARMSTARTLAY2SOURceBUSGeneral Speed Improvements Block Synchronized MeasurementsREADARRay? Init + GET + FETCHARRay?Time Measurement Resolution Display ControlGpib Data Format Automatic Interpolator Calibration PM6680B/85Measure Ments/secondBlock Measurements Real Time CalculationSupervising a Process Obvious MethodOptimal Method Supervising a ProcessSpeed Summary Speed SummaryDead Time Between Measurements Including 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 Block Synchronized Measurements Speed Improvement ActionsDead Time Between Measurements 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 Read the Error/Event Queue Error Code 0 toSEND→ SYSTemERRor? READ← -100, Command Error Command ErrorsError Code -105 to -120 Error Code -121 to More specific errorDetect a more 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 Code -222 to Execution errorsError message is used when the counter cannot de 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 errorsError Code 1100 to -1139 Unsupported enu Merated commandUnsupported auto Command Unsupported single Shot commandError Code 1150 to Reset during busOutput Read, but the waiting was broken by the operator 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 ABORt Abort MeasurementPM6680B/81/85 Aborts all previous measurements if *WAI is not usedArming Subsystem ARM COUNt No. of Measurements on each Bus arm«Numeric valueMINMAX» PM6680B/81/85 Send ARMCOUN100ARM DELay Delay after External Start ArmingARM ECOunt External Events before Start ArmingARM LAYer2 ARM LAYer2 SOURceBus Arming Override Bus Arming On/OffARM SLOPe ARM SOURceExternal Arming Start Slope External Arming Start SourceARM Stop DELay Delay after External Stop ArmingARM Stop ECOunt External Events before Stop ArmingARM Stop SLOPe ARM Stop SOURceExternal Stop Arming Slope External Stop Arming SourceThis page is intentionally left blank Calculate Subsystem Enable Statistics CALCulate AVERage COUNtCALCulate AVERage STATe Sample Size for StatisticsCALCulate AVERage Type Statistical TypeFetch calculated data Send Calcmathstat Oncalcmath X 10.7E6INIT *OPCEnable Monitoring of Parameter Limits CALCulate IMMediateCALCulate LIMit Recalculate DataCALCulate LIMit FAIL? CALCulate LIMit LOWerLimit Fail Set Low LimitSet Upper Limit CALCulate LIMit LOWer STATeCALCulate LIMit UPPer Check Against Lower LimitCALCulate LIMit UPPer STATe Check Against Upper LimitCALCulate Math Select Mathematical ExpressionExpression Sendcalcmath X 10.7E6MATHSTATE ONREAD?Enable Mathematics This example switches on mathematicsCALCulate Math STATe No calculationEnable Calculation Switches on Post ProcessingCALCulate STATe Send CalcstatCalibration Subsystem ‘How to Measure Fast’ CALibration INTerpolator AutoCalibration of Interpolator Boolean OnceConfigure Function Set up Instrument for MeasurementCONFigure Measuring Function Configure the counter for a single measurementParameters,channels Send CONFFREQRAT@3,@1CONFigure ARRay Measuring Function Configure the counter for an array of measurementsSend Confarrper 7,5E-3,1E-6,@4 Send READARR?This page is intentionally left blank Diagnostics Subsystem DIAGnosticCALibrationINPut12HYSTeresis Input comparator hysteresis calibrationSend Diagcalinphyst Once This string calibrates both input a and input BDisplay Subsystem DISPlay ENABle Where Boolean = 1 / on 0 / OFFSee also , ‘How to Measure Fast’ 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 TypeFORMat FIXed FORMat SREGisterResponse Data Format Data Type for Status MessagesFORMat TINFormation Timestamping On/Off TimestampingOn/OffInitiate Subsystem INITiate INITiate CONTinuousInitiate Measurement Continuously InitiatedInput Subsystems Input B Not PM6685INPut«12» ATTenuation INPut«12» COUPlingAC/DC Coupling INPut FILTer INPut HYSTeresisLow Pass Filter SensitivityINPut HYSTeresis Auto Auto Sensitivity«BooleanONCE» Send Inphystauto OFFINPut«12» IMPedance INPut«12» LEVelInput Impedance Fixed Trigger LevelINPut LEVel Waveform compensation«Decimal dataMAXMIN» PM6685 Send Inplev 3.75LEVAUTOINPut LEVel Auto AutotriggerSend Inplevauto OFF 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 MEASure Measuring Function? Make one measurementParameters ,channels PM6680B/81/85 Send MEASFREQ? @3 Read 1.78112526833E+009MEASure ARRay Measuring Function? Make an array of measurementsSend MEASARRFREQ? Ten measuring results will be returnedData Format Command MEASureMEMoryN?MEASureMEMory? Memory Recall, Measure and Fetch ResultMEASure«DCYCle/PDUTycycle» Positive Duty CycleSend MEASPDUT? Read +5.097555E-001Expected value,resolution ,@«1234567» PM6680B/81/85 MEASure FREQuency?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 MEASure FREQuency RATio? Fall-timeFrequency Ratio Send MEASFREQRAT? @1,@3 Read 2.345625764333E+000MEASure Volt MAXimum? MEASure Volt MINimum?Positive Peak Voltage Negative Peak VoltageMEASure NWIDth? MEASure PWIDth?Negative Pulse Width Positive Pulse WidthMEASure«PDUTycycle/ DCYCle»? MEASure«NDUTycycle»?Positive duty cycle Duty Factor Negative duty cycle Duty FactorMEASure PHASe? PhaseMEASure PERiod? PeriodMEASure Volt PTPeak? MEASure Rise TIME?Peak-to-Peak Voltage Rise-timeMEASure TINTerval? Time-Interval@«124»,@«124» MEASure TOTalize ACCumulated? Totalize X gated by Y, accumulatedTime for gate open,@«12456» ,@«12456» PM6680B PM6681 PM6680B/81/85CONFigure TOTalize CONTinuous Totalize Manually@«1246»,@«1246» Send CONFTOTINPSLOPe negMEASure TOTalize GATed? MEASure TOTalize SSTop?Totalize X gated by Y Totalize X start/stop by YTotalize X-Y During a Preset Time MEASure TOTalize TIMed?Time for gate open ,@«124»,@«124» Send MEASTOTTIM? 1,@1,@1This page is intentionally left blank Related Common Commands Memory SubsystemMEMory DELete MACRo MEMory Free SENSe?Delete one Macro Memory Free for resultsMemory Free for Macros Memory StatesBytes available, Bytes used Number of states availableThis page is intentionally left blank Output Subsystem Enable Analog Out OUTPutOUTPut SCALe Scaling Factor, Analog OutputRead Function Perform Measurement and Read DataRead one Result Send Conffreqinpfilt ONREAD?READARRay? Read an array of results«array size for FETChMAX» 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 ACQuisition APERture Set the Measurement Time«Decimal value MINMAX» Decimal value 10 msACQuisition Hoff ACQuisition Hoff ECOuntHold Off On/Off Hold Off, set event counterACQuisition Hoff Mode Hold Off ModeACQuisition Hoff Time Hold Off TimeACQuisition RESolution AVERage COUNt Average Samples«Decimal dataMIN MAX» AVERage STATe FREQuency RANGe LOWerAverage or Single? High Speed Voltage MeasurementsFUNCtion Select Measuring FunctionFunctions and channels in PM6685 Input channels PM6685Functions and channels in PM6680B and PM6681 Input channels PM6680B and PM6681INTernal FORMat Internal FormatNumber of Results BufferSDELay BURST/PRF Synchronization DelayROSCillator SOURce Select Reference OscillatorTOTalize Gate VOLTageGATedSTATeGate On/Off Gated Voltage MeasurementThis page is intentionally left blank Related Common Commands Status SubsystemSTATus DREGister0 ENABle Enable Device Status ReportingBit No Weight Condition STATus DREGister0?STATus OPERation CONDition? Read Operation Status Condition RegisterSTATus OPERation ENABle Enable Operation Status ReportingSend Statoperenab 288STATusPRESet values STATusOPERation?Read Operation Status, Event Read Questionable Data/Signal Condition Register STATus QUEStionable CONDition?STATus QUEStionable ENABle Enable Questionable Data/Signal Status ReportingRead Questionable Data/Signal Event Register STATus QUEStionable?This page is intentionally left blank Related common command System SubsystemSYSTem ERRor? SYSTem COMMunicate Gpib ADDRessSet Gpib Address Send SystcommgpibaddrSYSTem PRESet PresetSignal Detection See also Default settings onRead or Send Settings SYSTem SETSYSTem Time ELAPsed? Read On-timeTimeout On/Off Timeout, SetSYSTem Tout SYSTem Tout TimeSYSTem UNPRotect SYSTem VERSion?Unprotect System VersionTest Subsystem Select Check signal TESTCHECkTest SELect Select Self-testsTrigger Subsystem TRIGgerCOUNt No. of Triggerings on each Ext Arm startSend Trigcoun Common Commands Clear Status Command Send *CLSDefine Macro Send AMPLITUDE?Read +3.46125461E-001+3.64852399E-001 Send Autofilt OFFEnable Macros Enables macro expansion and executionDecimal data PM6680B/81/85 SEND*EMCStandard Event Status Enable Event Status Enable Register 1 = enableOperation Complete Event Status Register Get Macro DefinitionMacro label PM6680B/81/85 Send *GMC? ‘AMPLITUDE?’Identification query Learn MacroMain READAUTOFILT,AMPLITUDE?Learn Device Setup Operation CompleteSend INIT*OPC Operation Complete Query Option IdentificationExample 6 is Chapter Bus option,Prescaler optionPower-on Status Clear This example enables automatic power-on clearingPurge Macros Removes all macro definitionsProtected User Data RecallReset This command removes an individual MACRo PM6680B/81/85Default settings on ‘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 = enableStatus Byte Query ARMSTARtLAYer2IMM *WAIFETCh?Send ARMSTARTLAY2SOURCE BUS Send Initcont on Read +3.2770536E+004Integer = PM6680B Error PM6681, PM6685 Er Ror Self TestWait-to-continue SENDMEASFREQ? *WAIMEASPDUT?Index Address AutoAuto calibration on/off· · · · · · · · · · · 9-24Average Average or Single? · · · · · · · · · · · · ·Command Error CME BurstBus CalculateCONFigureTOTalizeACCumulated ARMSEQuence1LAYer1ECOuntSENSeFREQuencyRANGeLOWer STATusOPERationCONDition?STATusQUEStionableCONDition? Delay Device dependent Error DDEDevice Status Register DisplayEvents ExecutionExternal Events before Start Arming Fail Limit · · · · · · · · · · · · · · · · · · · · · · ·Hysteresis · · · · · · · · · · · · · · · · · · · · Initiated state · · · · · · · · · · · · · · · · · 6-28InputLower Limit MeasuringMonitor Operation StatusPulse QUE · · · · · · · · · · · · · · · · · 9-130 9-131QueryResponse ResultSettings SetStop arming · · · · · · · · · · · · · · · · · 9-11Source SpeedTest TimeTime out For measurement TIO · · · · · · · 6-24Timebase See Also Command *TRG Upper Limit