Agilent Technologies 5749A, 5752A, 5744A, 5743A, 5748A, 5741A, 5746A, 5751A Output Programming Example

Models: 5751A 5744A 5743A 5750A 5749A 5752A 5747A 5742A 5748A 5741A 5745A 5746A

1 132
Download 132 pages 2.14 Kb
Page 82
Image 82

6 Programming Examples

Output Programming Example

This program sets the voltage, current, over-voltage, and the over- current protection. It turns the output on and takes a voltage measurement. When done, the program checks for instrument errors and gives a message if there is an error.

Sub main_EZ()

Dim IDN As String

Dim IOaddress As String

Dim ErrString As String

'This variable controls the voltage Dim VoltSetting As Double

'This variable measures the voltage Dim measVolt As Double

'This variable controls the current Dim CurrSetting As Double

'These variables control the over voltage protection settings Dim overVoltSetting As Double

'These variables control the over current protection

Dim overCurrOn As Long

'These variable are neccessary to initialize the VISA COM. Dim ioMgr As AgilentRMLib.SRMCls

Dim Instrument As VisaComLib.FormattedIO488

'The following command line provides the program with the VISA name of the

'interface that it will communicate with. It is currently set to use GPIB. IOaddress = "GPIB0::5::INSTR"

'Use the following line for LAN communication

'IOaddress="TCPIP0::141.25.36.214"

'Use the following line instead for USB communication

'IOaddress = "USB0::2391::1799::US00000002"

'Initialize the VISA COM communication

Set ioMgr = New AgilentRMLib.SRMCls

Set Instrument = New VisaComLib.FormattedIO488

Set Instrument.IO = ioMgr.Open(IOaddress)

VoltSetting = 3

 

 

CurrSetting = 1.5

' amps

 

overVoltSetting = 10

 

 

overCurrOn = 1

'1 for

on, 0 for off

With Instrument

'Send a power reset to the instrument

.WriteString "*RST"

'Query the instrument for the IDN string

.WriteString "*IDN?" IDN = .ReadString

'Set the voltage

.WriteString "VOLT" & Str$(VoltSetting)

82

Series N5700 User’s Guide

Page 82
Image 82
Agilent Technologies 5749A, 5752A, 5744A, 5743A, 5748A, 5741A, 5746A, 5751A, 5742A, 5745A, 5747A, 5750A Output Programming Example

5751A, 5744A, 5743A, 5750A, 5749A specifications

Agilent Technologies has been a leader in electronic measurement and analysis, with a suite of powerful instruments that cater to various applications in research, development, and manufacturing. Among these, the Agilent 5746A, 5745A, 5741A, 5748A, and 5742A models stand out for their advanced capabilities and features.

The Agilent 5746A is a high-performance signal analyzer that excels in time and frequency domain analysis. This device offers a wide frequency range and exceptional dynamic range, making it suitable for both RF and microwave applications. Its advanced digital signal processing allows for high-resolution spectrum analysis and real-time signal processing, which is essential for engineers and researchers working on complex signals.

The Agilent 5745A is known for its versatility as a multifunctional signal generator. It combines the functionalities of a vector signal generator with the precision of a traditional oscillator. This model provides high-quality waveform generation for a variety of modulation schemes, making it ideal for testing communication systems and conducting research in advanced modulation techniques.

The Agilent 5741A is a precision power meter that offers accurate measurements of RF power in a compact format. It is equipped with state-of-the-art sensing technology that ensures reliable and repeatable measurements. The 5741A is particularly useful for monitoring power levels in transmitters and receivers, and its intuitive interface makes it user-friendly for both novices and experienced professionals.

For those focused on harmonic and intermodulation distortion analysis, the Agilent 5748A provides exceptional performance. This model allows users to analyze distortion products in various devices with precision, helping in the design and testing of amplifiers and other RF components. Its comprehensive sweep functionality enables users to observe the behavior of devices across a wide frequency range.

Finally, the Agilent 5742A complements the range with its dedicated spectrum analyzing capabilities. Offering high sensitivity and ability to capture short-lived events, this model is optimal for monitoring transient signals. The 5742A is frequently used in the telecommunications sector to ensure signal integrity and compliance with regulatory standards.

Together, these Agilent Technologies instruments provide a comprehensive toolkit for professionals in electronics and telecommunications, enabling detailed analysis, accurate measurements, and advanced signal generation. Their integration of modern technologies ensures that users can tackle the complexities of today’s electronic environments with confidence and precision.