Agilent Technologies 66001A END if, Print Current Calibration not Saved, Else, Repeat, Return

Page 40

500INPUT "ENTER VALUE OF CURRENT SHUNT BEING USED",Shunt_val

510OUTPUT @Ps;"CAL:CURRENT:LEVEL MIN"

520INPUT "ENTER VOLTAGE MEASUREMENT FROM EXTERNAL VOLTMETER",Volt_read

530Current=Volt_read/Shunt_val

540OUTPUT @Ps;"CAL:CURRENT ";Current

550OUTPUT @Ps;"CAL:CURRENT:LEVEL MAX"

560INPUT "ENTER VOLTAGE MEASUREMENT FROM EXTERNAL VOLTMETER",Volt_read

570Current=Volt_read/Shunt_val

580OUTPUT @Ps;"CAL:CURRENT ";Current

590GOSUB Save_cal

600IF Err_found THEN

610

INPUT "ERRORS have occurred, REPEAT CURRENT

CALIBRATION (Y OR N)?",Resp$

620

IF TRIM$(UPC$(Resp$[ l,l ]))="Y" THEN GOTO

Current_cal

630

END IF

640

IF Err_found THEN

650

PRINT "CURRENT CALIBRATION NOT SAVED"

660

ELSE

670

PRINT "CURRENT CALIBRATION COMPLETE"

680END IF

690STOP

700

Save_cal:

! SAVE CALIBRATION CONSTANTS

710

 

REPEAT

720

 

OUTPUT @Ps;"SYSTEM:ERROR?"

730

 

ENTER @Ps;Err_num,Err_msg$

740

 

IF Err_num<>0 THEN

750

 

PRINT "ERROR: ";Err_msg$

760

 

Err_found=l

770

 

END IF

780

 

UNTIL Err_num=0

790

 

IF NOT Err_found THEN

800

 

INPUT "SAVE CALIBRATION CONSTANTS (Y OR N)?",Resp$

810

 

IF TRIM$(UPC$(Resp$[1,1]))="Y" THEN

820

 

OUTPUT @Ps;"CAL:SAVE"

830

 

END IF

840

 

END IF

850

 

OUTPUT @Ps;"CAL:STATE 0"

860

 

RETURN

870

END

 

Figure A-2. Agilent BASIC Calibration Program (continued)

40 Calibration

Image 40
Contents USER’S Guide Agilent Part No Microfiche Part No SeptemberCertification Safety Summary Symbol Description Printing HistoryHerstellerbescheinigung Manufacturers DeclarationUSA Manufacturer’s Name and AddressModel Numbers a 66000A Page Table of Contents Basic Power Module Commands Using the Agilent 66001A MPS KeyboardOption Description Item DescriptionGeneral Information Accessories Specifications and Supplemental Characteristics Programming Accuracy @ calibration temperature ± 5 COutput Ratings Readback AccuracySupplemental Characteristics Parameter Performance Specifications ParameterAgilent Model 66101A 66102A 66103A 66104A 66105A 66106A 66101A 66102A Agilent Model 66103A 66104A 66105A 66106A Remote Sensing CapabilityRecommended Calibration Interval Safety Compliance DimensionsWeight Downprogramming Monotonicity Gpib Interface CapabilitiesSupplemental Characteristics Output Characteristic CurveReplaceable Parts List Description Agilent Part No Parameter Agilent Model Number and Parameter ValuePage Switches InstallationInspection Power Module Line Fuse and Switches Remote Inhibit RI Function Switches Switch Setting RI ActionDisplay Function Switch Calibration Function SwitchesConnecting The Load Installing The Module In The MainframeOutput Connector Selecting the Proper Wire Size Output ConnectionsResistance Ω/ft AWG No. *AmpacityRemote Voltage Sensing Voltage ReadbackOutput Noise Output RatingParallel Operation Outp OFF VoltlevVoltprot Currlev Voltlev Voltprot Currlev MAX Outp onMultiple Loads Capacitive LoadsConnecting The Controller Battery ChargingInductive Loads OVP ConsiderationsPower Module Front Panel Display Turn-On CheckoutIntroduction Module Panel DisplayChecking Basic Module Functions Power Module Turn-On StateAddr Dis Prot Module Output Connector Error MessagesCase Of Trouble Mainframe FailureSelftest Error Messages Runtime Error MessagesMessages DisplayBasic Power Module Commands Synopsis Of CommandsGpib Controller MPS KeyboardCommand Power Module Output Commands FunctionPower Module Protection Commands Function Power Module Fixed-Mode Output CommandsPower Module List-Mode Output Commands Power Module Trigger Commands FunctionControlling List-Mode Output Controlling TriggersChanging The Power On State Using the RI/DFI Functions RI Remote Inhibit InputDFI Discrete Fault Indicator Output Command DFI Output Commands FunctionChanging The Calibration Password CalibrationEnabling Or Disabling The Calibration Function Performing a CalibrationTable A-2. Voltage Calibration Procedure Equipment RequiredCalibrating Voltage Keyboard Entry Controller Entry † FunctionTable A-3. Current Calibration Procedure Disable the outputCalcurrlev MIN Calcurrlev MAXRecovering The Factory Calibration Constants Recovering From a Lost Calibration PasswordCalibration Error Messages Agilent Basic Calibration ProgramAssign Power Supply Gpib Address Initialize Power SupplyPassword is Optional only 10 ! Voltage Calibration ProgramEND if Print Current Calibration not SavedElse Print Current Calibration CompleteConnecting The Keyboard Using The Agilent 66001A MPS KeyboardAgilent 66001A MPS Keyboard Keyboard Description Meter AreaAnnunciators Agilent 60001A MPS Keyboard System Keys  Letter Keys Changing or Entering Values Using The DisplayDisplaying Status Sending Scpi Commands Command ExampleQuery Example Error Example Scpi Command Tree Agilent 60001A MPS Keyboard Index AddrProt Unr AmpsLsn Prot Shift SRQ TlkInit ScpiMeas VOLT?, 32 Outp Agilent Sales and Support Offices Agilent Sales and Support OfficeManual Updates