1510

IF Out1_state THEN

! Remove previous output relay state

1520

Out_ctrl= BINIOR(Out_ctrl,16)

! Close output relay

1530

ELSE

 

 

1540

Out_ctrl= BINAND(Out_ctrl,-17)

! Open output relay

1550

END IF

 

 

1560

!

 

 

1570

! Relay opens start here

 

 

1580

!

 

 

1590

! Do output relays first

 

 

1600

!

 

 

1610

SELECT Out1_atten

! Remove previous output attenuation

1620

CASE 0.

 

 

1630

Out_ctrl= BINAND(Out_ctrl,-65) ! Open 20 dB relay

1640

CASE 20

 

 

1650

Out_ctrl= BINAND(Out_ctrl,127) ! Open 0 dB relay

1660

END SELECT

 

 

1670

!

 

 

1680

WRITEIO -16,Base_addr+ 10;Out_ctrl ! Start output relay openings

1690

!

 

 

1700

! Now do input side

 

 

1710

!

 

 

1720

! Remove previous input 1 attenuation and impedance

1730

In_ctrl= BINIOR(BINAND(In_ctrl,2047),SHIFT(In1_atten,-11))

1740

SELECT In1_imped

 

 

1750

CASE 50.

 

 

1760

In_ctrl= BINAND(In_ctrl,-1025)

! Open 75 Ohm relay

1770

CASE 75.

 

 

1780

In_ctrl= BINAND(In_ctrl,-513)

! Open 50 Ohm relay

1790

CASE 1.E+ 6

 

 

1800

In_ctrl= BINAND(In_ctrl,-1537)

! Open both relays

1810

END SELECT

 

 

1820

!

 

 

1830

! Remove previous input 2 attenuation and impedance

1840

In_ctrl= BINIOR(BINAND(In_ctrl,-249),SHIFT(In2_atten,-3))

1850

SELECT In2_imped

 

 

1860

CASE 50.

 

 

1870

In_ctrl= BINAND(In_ctrl,-5)

! Open 75 Ohm relay

1880

CASE 75.

 

 

1890

In_ctrl= BINAND(In_ctrl,-3)

! Open 50 Ohm relay

1900

CASE 1.E+ 6

 

 

1910

In_ctrl= BINAND(In_ctrl,-7)

! Open both relays

1920

END SELECT

 

 

1930

!

 

 

1940

WRITEIO -16,Base_addr+ 12;In_ctrl ! Start input relay closings

1950

WAIT .01

! Wait for relay closings to finish

1960

!

 

 

Continued on Next Page

C-30 Register-Based Programming

Example Programs

Page 155
Image 155
Agilent Technologies E1446A user manual Outctrl= BINANDOutctrl,-17 Open output relay 1550

E1446A specifications

Agilent Technologies E1446A is a high-performance modular instrument designed for a wide range of applications in the fields of test and measurement. As part of the Agilent family of products, this device exemplifies advanced engineering and innovative technology, catering to the needs of engineers and researchers in various industries.

One of the main features of the E1446A is its dual-channel capability, allowing users to conduct simultaneous measurements, increasing efficiency and reducing test times. The instrument supports a variety of functions, including waveform generation, signal analysis, and frequency measurements. This multifunctionality makes the E1446A a versatile tool for tasks such as automatic test equipment (ATE), signal integrity analysis, and RF testing.

Equipped with state-of-the-art ADCs (Analog-to-Digital Converters) and DACs (Digital-to-Analog Converters), the E1446A ensures high precision and accuracy in measurements. With a bandwidth of up to 500 MHz, it can handle a wide range of signals, making it suitable for both low-frequency and high-frequency applications. The instrument supports various input signal types, including sine, square, and custom waveforms, expanding its applicability across diverse testing scenarios.

The E1446A also integrates advanced digital signal processing capabilities, allowing for real-time analysis and manipulation of signals. This feature is particularly useful in applications requiring immediate feedback and adjustment, such as radar and communications testing. Furthermore, the modular design facilitates easy upgrades and customization, enabling users to adapt the instrument to their ever-evolving testing requirements.

User-friendliness is another hallmark of the E1446A. It features a straightforward interface, designed for intuitive operation, which reduces the learning curve for new users. Additionally, the instrument is compatible with various programming languages, including SCPI, making it easy to integrate into existing test systems and automate testing processes.

Finally, the E1446A's compact form factor and rugged design allow for deployment in demanding environments, fulfilling the needs of both laboratory and field applications. With its blend of precision, versatility, and ease of use, the Agilent Technologies E1446A remains a vital instrument for engineers and researchers looking for dependable test and measurement solutions. Its capabilities continue to support innovation across a spectrum of technological advancements.