530 DATA 0.,50.,0.,50.

540READ In1_atten,In1_imped,In2_atten,In2_imped !input atten and imp

550!

560DATA 0.,50.,1 !main output attenuation, impedance, and state

570READ Out1_atten,Out1_imped,Out1_state

580!

590DATA 50.,50. !differential output impedances

600READ Out2_imped,Out3_imped

610!

620Offset= 0. !DC offset

630!

640!Set E1446A base address and initialize COM variables

650Set_addr(88)

660!

670!Set up E1446A

680Setup_e1446(In1_atten,In1_imped,In2_atten,In2_imped,Out1_atten,Out1_imped, Out1_state,Out2_imped,Out3_imped,Offset)

690!

700OUTPUT @Afg72;"INIT:IMM" !E1445A wait-for-arm state

710OUTPUT @Afg80;"INIT:IMM" !E1445A wait-for-arm state

720END

730!

Example

The following file contains the subprograms used by the preceding

Subprograms

example programs.

1!Subprograms used for register-based programming (file name ’E46SUBS’)

2!

10 SUB Set_addr(Log_addr)

20 Set_addr: !Subprogram which sets E1446A base address and initializes

30

!the COM variables.

40COM /E1446/ Base_addr,INTEGER In_ctrl,Out_imped

50!Access A16 address space with READIO and WRITEIO

60CONTROL 16,25;2

70!

80!Set base address and initialize COM variables

90Base_addr= (DVAL("C000",16)+ Log_addr*64)

100In_ctrl= 0

110Out_imped= 50.

120SUBEND

130!

140SUB Setup_e1446(In1_atten,In1_imped,In2_atten,In2_imped,Out1_atten, Out1_imped,Out1_state,Out2_imped,Out3_imped,Offset)

150COM /E1446/ Base_addr,INTEGER In_ctrl,Out_imped

160INTEGER Out_ctrl !initialize output settings (att, imp, state) variable

170 !

Continued on Next Page

C-26 Register-Based Programming

Example Programs

Page 151
Image 151
Agilent Technologies E1446A user manual Subprograms, Example programs

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.