Agilent Technologies 66311B, D, 66309B manual Example 3. Current Pulse Measurement Using Basic, 169

Page 169

Example Programs - D

Pulse Measurements

The following programs illustrate how to make a pulse measurement over the GPIB. The measurement function is set to ACDC, which gives the best results for current waveforms that have ac content. The measurement incorporates 100 readings taken at time intervals of 20 microseconds, for a total measurement time of 2 milliseconds. The trigger point for the pulse measurement occurs at 0.1 amperes on the positive slope of the current pulse. The measurement offset is programmed so that 20 measurement points prior to the trigger are also returned as part of the measurement sample.

Because measurement triggers are initiated by the output pulse, a FETCh command is used to return the measurement data. FETCh commands are also used to return the MAXimum, MINimum, HIGH, and LOW values of the measurement. MEASure commands cannot be used to return data in this example because they always acquire NEW measurement data each time they are used.

To produce the output pulses in this example, an electronic load must be connected and programmed to generate 3-ampere pulses with a duty cycle of 100 microseconds at 1000 Hz. The dc source address is 705, and the load address is 706. If required, change these parameters in the appropriate statements.

Example 3. Current Pulse Measurement Using BASIC

10!Rev A.00.00

20OPTION BASE 1

30DIM Curr_array(100)

40!

50ASSIGN @Ps TO 705

60ASSIGN @Ld TO 706

80

OUTPUT @Ps;"*RST"

! Sets supply to default values

90

OUTPUT @Ps;"OUTP ON"

! Turn on power supply output

100

OUTPUT @Ps;"VOLT 5"

! Program power supply to 5 volts

110

!

 

120

OUTPUT @Ld;"CURR:LEVEL 0"

! Set up electronic load to produce

pulses

 

 

130OUTPUT @Ld;"CURR:TLEVEL 3"

140!

150OUTPUT @Ld;"TRAN:FREQ 1000"

160OUTPUT @Ld;"TRAN:DCYCLE 10"

170OUTPUT @Ld;"TRAN:MODE CONT"

180OUTPUT @Ld;"TRAN:STATE ON"

190!

200

OUTPUT @Ps;"SENS:CURR:DET

ACDC"

! Set

meter to

ACDC

210

OUTPUT @Ps;"SENS:CURR:RANG MAX"

! High Current

range

220

OUTPUT @Ps;"TRIG:ACQ:SOUR

INT"

! Set

to trigger

on pulse

230

OUTPUT

@Ps;"SENS:FUNC ""CURR"""

!

Acquire

current reading

240

OUTPUT

@Ps;"TRIG:ACQ:LEV:CURR .1"

!

Trigger

at 0.1

amps

250OUTPUT @Ps;"TRIG:ACQ:SLOPE:CURR POS" ! Trigger on positive slope

260OUTPUT @Ps;"TRIG:ACQ:HYST:CURR .05" ! Set hysteresis of trigger

270

OUTPUT @Ps;"SENS:SWE:TINT 20E-6"

!

Set

sample

time interval to 20us

280

OUTPUT @Ps;"SENS:SWE:POIN 100"

!

Set

number

of measurement samples

in sweep

 

 

 

 

290OUTPUT 705;"SENS:SWE:OFFS:POIN -20" ! Number of sample points before trigger

300

OUTPUT @Ps;"INIT:NAME ACQ"

! Initiate the trigger system.

310

!

Controller now

waits for trigger

to occur.

 

 

320

OUTPUT @Ps;"FETCH:ARRAY:CURR?"

! Get the data after measurement

completes.

 

 

330

!

 

 

340

ENTER @Ps;Curr_array(*)

! Enters all 100

data points

350

PRINT Curr_array(*)

! Print all data

points

169

Image 169
Contents USER’S Guide Certification Warranty InformationGeneral Safety SummarySafety Symbols EMC DeclarationDeclaration of Conformity Printing History Acoustic Noise InformationTable of Contents VXIplug&play Power Products Instrument Drivers Checkout Procedure Case of TroubleTypes of Scpi Commands DVM ConnectionsScpi Data Formats Types of Scpi MessagesIntroduction Programming the Output Triggering Output ChangesCalibration Commands 100 Inhibit/Fault IndicatorDisplay Commands 103 Measurement Commands 104Status Commands 121 Output Commands 114System Commands 125 Trigger Commands 126Additional Commands Common CommandsSpecifications 143 Supplemental Characteristics 144 Performing the Calibration Procedure 154Introduction 165 Error Number List 161Basic Introduction 177Front Panel At a Glance Quick ReferenceUse the front panel Address key to configure the interface Instrument ConfigurationRear Panel At a Glance Use the Function keys and Entry keys to enter a new value Front Panel Number EntryImmediate Action Keys Front Panel AnnunciatorsFront Panel Menus At a Glance ABORt CALibrate Scpi Programming Commands At a GlanceUsing the programming interface Using the front panelProgramming the unit using Scpi COMPatibility commands Installing the VXIplug&play instrument driverOptions and Accessories Safety ConsiderationsOption DescriptionAgilent Description and Model DifferencesAgilent 66309B Agilent 66309DFront Panel Controls Common CapabilitiesRemote Programming Dc Source Output 1 Characteristic Output 1 CharacteristicOutput 2 Characteristic Output 2 CharacteristicOption 521 Description Agilent 66309B/D only Option 521 Factory SettingsOption 521 Relay Modes Page Check the Operating Settings and Conditions Installation and Operation ChecklistAdditional Agilent 66311/66309 Operating Settings Checks Check the Phone ConnectionsInspection CleaningLocation Damage Packaging MaterialInput Connections Connect the Power CordBench Operation Rack MountingOutput Connections Turn the unit off before connecting any wiresOutput Current RatingsRemote Sense Connections Remote Sense ConnectionsRemote Sense Connections with External Relays Maintaining Stability while Remote Sensing Load Regulation and Voltage Drop in the Remote Sense LeadsOpen Sense Lead Protection Message Description Local SensingOutput Compensation OVP Considerations DVM ConnectionsMeasuring Circuits Not Powered by the Main Output Measuring Circuits that are Not Powered by the Main OutputMeasuring Circuits Floating with Respect to the Main Output 10. FLT/INH Examples External Protection ConnectionsDigital I/O Connections FLT/INH DIGital I/O ConnectorComputer Connections Gpib InterfacePin Input/Output Description RS-232 InterfaceProcedure Display Explanation Checkout ProcedurePress Output On/Off Press ProtectProcedure Display Explanation Case of Trouble Selftest Error MessagesPress Shift, Channel Enter Number 12, Enter Press Output On/OffPower-On Selftest Errors Runtime Error MessagesRuntime Error Messages Line FuseFront Panel Description IntroductionFront Panel Operation System Keys Display Command FunctionOFF Immediate Action Keys Function KeysScrolling Keysq Display Measurement Metering KeysOver Current Output Control KeysEntry Keys Entry KeysExamples of Front Panel Programming Using the Front Panel DisplaySelecting an output on Agilent 66309B/D units Selecting the DVM on Agilent 66311D/66309D unitsSet the output current limit Set the output voltageSet the output compensation Typecap HighSet the output 2 voltage Enable the outputSet the output 2 current limit Keypad, press Enter Number, 7, EnterDisable Overvoltage Protection as follows Querying and Clearing Output Protection and ErrorsQuery and Clear Errors as follows OvercurrentUse the Meter menu for making front panel measurements Making Basic Front Panel MeasurementsMaking Enhanced Front Panel Measurements Default Front Panel Measurement ParametersUse the Meter menu for making DVM measurements Making DVM Measurements Agilent 66311D/66309D onlyCurrrang Auto Currdet AcdcTo configure the Ridfi mode of the port, proceed as follows Setting the Gpib Address and Programming LanguageTo configure the Digio mode of the port, proceed as follows Set the Gpib address as followsStoring and Recalling Instrument States Gpib References External ReferencesScpi References Downloading and Installing the Driver VXIplug&play Power Products Instrument DriversSupported Applications System RequirementsGpib Capabilities of the DC Source Accessing Online HelpRS-232 Capabilities of the DC Source Gpib AddressRS-232 Flow Control Introduction to ScpiBaud Rate Conventions Used in This Guide Types of Scpi CommandsBoldface font Including Common Commands Multiple Commands in a MessageMoving Among Subsystems Types of Scpi Messages Using QueriesMessage Unit HeadersScpi Data Formats Suffixes and Multipliers Scpi Command CompletionResponse Data Types Class Suffix Unit Unit with MultiplierScpi Conformed Commands Using Device ClearNon-SCPI Commands Scpi Conformance InformationProgramming the Output Power-on InitializationEnabling the Output Output Current Output VoltageTriggering Output Changes Setting the Voltage or Current Transient LevelsScpi Triggering Nomenclature Output Trigger ModelSelecting the Output Trigger Source Enabling the Output Trigger SystemGenerating Triggers Single TriggerAverage Measurements Making Basic MeasurementsControlling Measurement Samples Window Functions Making Enhanced MeasurementsRMS Measurements Current Ranges and Measurement DetectorMinimum and Maximum Measurements Pulse MeasurementsHigh/Low Measurements Returning All Measurement Data From the Data Buffer Making DVM MeasurementsMeasurement Trigger Model Triggered MeasurementsSequence Form Alias SEQuence2 ACQuire Selecting the Measurement Trigger Source Enabling the Measurement Trigger SystemSelecting the Sensing Function INTernalSingle Triggers Generating Measurement TriggersTrigacqcouncurr number or Trigacqcounvolt number Pre-trigger and Post-trigger Data Acquisition Programming the Status RegistersDC Source Status Model Power-On ConditionsOperation Status Group Bit Configurations of Status RegistersQuestionable Status Group PON Power On BitStandard Event Status Group Status Byte RegisterServicing Operation Status and Questionable Status Events Determining the Cause of a Service InterruptMSS Bit RQS BitMonitoring Both Phases of a Status Transition Inhibit/Fault IndicatorRemote Inhibit RI Using the Inhibit/Fault Port as a Digital I/O Discrete Fault Indicator DFIBit Weight PinSubsystem Commands Subsystem Commands Syntax Language Dictionary Language Dictionary Programming Parameters Common CommandsCALibrateCURRent Calibration CommandsCALibrateCURRent2 CALibrateCURRentMEASureLOWRangeCALibrateDATA CALibratePASSwordCALibrateDATE CALibrateDVMCALibrateSTATe CALibrateSAVECALibrateVOLTage CALibrateVOLTage2DISPlay Display CommandsDISPlayCHANnel DISPlayMODEFORMat Measurement Commands104 MEASureARRayCURRent? FETChARRayCURRent? FORMatBORDerMEASureARRayVOLTage? FETChARRayVOLTage? Query SyntaxMEASureCURRent2? MEASureCURRent? FETChCURRent?MEASureCURRentACDC? FETChCURRentACDC? NR3MEASureCURRentLOW? FETChCURRentLOW? MEASureCURRentHIGH? FETChCURRentHIGH?MEASureCURRentMAXimum? FETChCURRent MAXimum? 107MEASureDVM? FETChDVM? MEASureCURRentMINimum? FETChCURRentMINimum?MEASureDVMACDC? FETChDVMACDC? MEASureVOLTage? FETChVOLTage?MEASureVOLTageACDC? FETChVOLTageACDC? MEASureVOLTage2MEASureVOLTageHIGH? FETChVOLTageHIGH? 109MEASureVOLTageMAXimum? FETChVOLTageMAXimum? MEASureVOLTageLOW? FETChVOLTageLOW?MEASureVOLTageMINimum? FETChVOLTageMINimum? 110SENSeCURRentRANGe SENSeCURRentDETectorQuery Syntax SENSeCURRentDETector? 111SENSePROTectionSTATe SENSeFUNCtionSENSeSWEepOFFSetPOINts SENSeSWEepPOINtsSENSeWINDow SENSeSWEepTINTervalQuery Syntax SENSeSWEepTINTerval? Query Syntax SENSeWINDowTYPE?INSTrumentCOUPleOUTPutSTATe Output CommandsOUTPut1 OUTPut1 2RELayMODEOUTPutDFISOURce OUTPutDFIOUTPutPONSTATe 115OUTPutPROTectionCLEar OUTPutPROTectionDELayOUTPutRIMODE OUTPutTYPESOURceCURRent2 SOURceCURRent117 SOURceCURRentPROTectionSTATe Command Syntax Parameters RST Value ExamplesSOURceCURRentTRIGger SOURceCURRent2TRIGgerSOURceDIGitalFUNCtion SOURceDIGitalDATASOURceVOLTage 119SOURceVOLTagePROTection SOURceVOLTage2SOURceVOLTagePROTectionSTATe 120STATusPRESet Status CommandsSOURceVOLTageTRIGger SOURceVOLTage2TRIGgerBit Configuration of Operation Status Registers STATusOPERationENABleSTATusOPERation? STATusOPERationCONDition?Bit Configuration of Questionable Status Registers Parameters Preset ValueSTATusOPERationNTR STATusOPERationPTR STATusQUEStionable?STATusQUEStionableCONDition? STATusQUEStionableENABleSTATusQUEStionableNTR STATusQUEStionablePTR 124SYSTemERRor? System CommandsSYSTemLANGuage SYSTemVERSion?Related Commands Trigger CommandsABORt INITiateSEQuence INITiateNAMETRIGgerSOURce TRIGger127 TRIGgerSEQuence2COUNtCURRent TRIGgerACQuireCOUNtCURRent TRIGgerSEQuence2 TRIGgerACQuireTRIGgerSEQuence2COUNtDVM TRIGgerACQuireCOUNtDVM 128Unit TRIGgerSEQuence2COUNtVOLTage TRIGgerACQuireCOUNtVOLTage129 130 TRIGgerSEQuence2HYSTeresisDVM TRIGgerACQuireHYSTeresisDVMTRIGgerSEQuence2LEVelDVM TRIGgerACQuireLEVelDVM TRIGgerSEQuence2LEVelCURRent TRIGgerACQuireLEVelCURRent131 TRIGgerSEQuence2SLOPeCURRent TRIGgerACQuireSLOPeCURRent TRIGgerSEQuence2LEVelVOLTage TRIGgerACQuireLEVelVOLTageReturned Parameters 132TRIGgerSEQuence2SLOPeVOLTage TRIGgerACQuireSLOPeVOLTage TRIGgerSEQuence2SLOPeDVM TRIGgerACQuireSLOPeDVM133 TRIGgerSEQuence1DEFine TRIGgerSEQuence2DEFine TRIGgerSEQuence2SOURce TRIGgerACQuireSOURce134 Command Syntax *CLS Parameters None Common CommandsBit Configuration of Standard Event Status Enable Register 135Example Field Information136 RCL NRf Query Syntax *OPT? Returned Parameters AardParameters Example 137Example *SAV Related Commands *RCL *RST 138 Command Syntax *SAV NRfRST Settings Bit Configuration of Status Byte Register Power-on ValueQuery Syntax *STB? 139Query Syntax TST? Returned Parameters NR1 TRGAdditional Commands VOLTageLIMitHIGH? CURRentPROTectionTRIPped?VOLTageLIMitLOW? VOLTagePROTectionTRIPped?Table A-1. Performance Specifications Specifications143 Table A-2. Supplemental Characteristics Supplemental Characteristics144 Agilent 66309B/D145 146 Table A-4. Agilent 66309B/D Option 521 CharacteristicsEquipment Required Test Setup147 Table B-1. Equipment RequiredTurn-On Checkout Performing the Verification Tests148 Current Programming and Measurement Accuracy Voltage Programming and Measurement AccuracyOutput terminals on both outputs 1 Steps 6-10 apply to Agilent 66309B/D output 2 onlyCurrent Sink Measurement Steps 7-11 apply to Agilent 66309B/D output 2 only150 151 DVM Measurement Accuracy152 DVM Voltage Measurement Agilent 66309D only 153Front Panel Calibration Menu Performing the Calibration Procedure154 Check the Language Setting Front Panel Calibration ProcedureEnable Calibration Mode Voltage Programming and Measurement CalibrationOvervoltage Protection Calibration Steps 11-16 apply to Agilent 66309B/D output 2 onlyCurrent Programming and High-Range Measurement Calibration 156157 Steps 27-32 apply to Agilent 66309B/D output 2 onlyCalcurrmeas AC DVM Calibration applies to Agilent 66311D, 66309D only Restore the Language SettingSaving the Calibration Constants 158Changing the Calibration Password Calibration Error MessagesTable B-3. Gpib Calibration Error Messages Calibration Over the GpibPage Table C-1. Error Numbers Error Number List161 162 Error Messages163 Error Messages CPage National Instruments Gpib Driver Assigning the Gpib Address in Programs165 Example 1. National Instruments Interface Example Error Handling166 Example Programs D 167168 Example 2. Controller Using Basic169 Example 3. Current Pulse Measurement Using Basic170 171 172 DFI Programming Example Example 5. DFI Example Using Basic173 Page Install the Correct Line Fuse Configure the Power TransformerOpen the Unit Close the Unit176 Figure E-1, Power Transformer AC Input ConnectionsTable F-1. COMPatibility Power-on Settings Command Setting177 Similar Scpi Command Compatibility CommandTable F-2. COMPatibility Commands 178179 NumberError String Description/Explanation/Examples ErrorTable F-3. COMPatibility Errors 180181 Table F-5. Bit Configuration of Serial Poll RegisterPage 183 Index184 Index185 186 OVERTEMPERATURE, 47 OVERVOLTAGE, 47 OVLD, 47, 60, 61187 Subsystem commands syntax, 96 suffixesType CAP 188Canada Australia/New Zealand United States Latin AmericaEurope Asia Pacific JapanManual Updates
Related manuals
Manual 8 pages 56.17 Kb

66111A, 66309B, 66311B, D specifications

Agilent Technologies D,c,83440b is an advanced electronic measurement solution designed for engineers and scientists who require precise and reliable performance in their testing environments. This modular test system offers a comprehensive suite of features that cater to a wide range of applications, from high-frequency testing to complex signal analysis.

One of the main features of the D,c,83440b is its impressive frequency range, allowing users to conduct tests across a wide spectrum of signals. The system is capable of handling frequencies up to 26.5 GHz, making it ideal for RF and microwave applications. This broad range ensures that users can work with a variety of devices, including communication systems, radar, and satellite technology.

In addition to its frequency capabilities, Agilent Technologies has engineered the D,c,83440b with exceptional dynamic range and low noise figures. This ensures that even the smallest signals can be accurately measured, allowing for greater precision in testing. The full spectrum analysis feature enables users to capture transient events and analyze them in real-time, which is crucial for troubleshooting and performance evaluations.

The D,c,83440b is built on a modular platform, allowing users to customize their systems according to specific testing needs. This modularity not only enhances flexibility but also simplifies maintenance and upgrades. Users can easily swap out different modules without the need for extensive system reconfiguration, which can significantly reduce downtime in testing environments.

Another standout characteristic of the D,c,83440b is its user-friendly interface. With a large, high-resolution display and intuitive controls, engineers can quickly navigate through settings and data, streamlining the testing process. This ease of use is complemented by powerful software solutions that can automate test sequences, aiding in efficiency and accuracy.

The integration of advanced digital signal processing technologies further enhances the capabilities of the D,c,83440b. These technologies enable more sophisticated measurements and improved signal integrity, which is essential for modern communication systems.

In summary, the Agilent Technologies D,c,83440b is a multifaceted electronic measurement solution that boasts a wide frequency range, excellent dynamic range, modular design, and user-friendly interface. This combination of features makes it suitable for various applications, ensuring that engineers and scientists have the tools they need to succeed in their testing and measurement endeavors.