Errmsg Subprogram Used with ’SUMSUBS’

Program ’RGBSUM’ loads/gets its subprograms from the file ’SUMSUBS’, rather than from the file ’E46SUBS’. The only difference between these subprogram files is the subprogram ’Errmsg’. ’Errmsg’ in the file ’SUMSUBS’ reports errors from two E1445As rather than from one. Its listing is shown below.

2230 SUB Errmsg

2240 Errmsg: !Subprogram which displays E1445 programming errors

2250

DIM Message$[256]

2260

!Read AFG (at logical addr 72) status byte register, clear service

2270

!request bit

2280

B= SPOLL(1672)

2290

!End of statement if error occurs among coupled commands

2300

OUTPUT 1672;""

2310

OUTPUT 1672;"ABORT" !abort output waveform

2320

PRINT

"E1445A (logical address 72)"

2330

PRINT

 

2340

REPEAT

 

2350

OUTPUT 1672;"SYST:ERR?" !read AFG error queue

2360

ENTER 1672;Code,Message$

2370

PRInt

Code,Message$

2380

UNTIL Code= 0

2390

PRInt

 

2400

!

 

2410

!Read AFG (at logical addr 80) status byte register, clear service

2420

!request bit

2430

B= SPOLL(1680)

2440

!End of statement if error occurs among coupled commands

2450

OUTPUT 1680;""

2460

OUTPUT 1680;"ABORT" !abort output waveform

2470

PRINT

"E1445A (logical address 80)"

2480

PRINT

 

2490

REPEAT

 

2500

OUTPUT 1680;"SYST:ERR?" !read AFG error queue

2510

ENTER 1680;Code,Message$

2520

PRInt

Code,Message$

2530

UNTIL Code= 0

2540

STOP

 

2550

SUBEND

 

C-32 Register-Based Programming

Example Programs

Page 157
Image 157
Agilent Technologies E1446A user manual Errmsg Subprogram Used with ’SUMSUBS’, Stop

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.