Programming Examples

 

 

GPIB Programming Interface Examples

 

 

 

Library

Function Statement

Initialization Command

 

 

 

NI- 488.2

The NI- 488.2 library function places the interface in local

ibloc (int ud)

 

mode and allows operation of the signal generator’s front

 

 

panel keys. The ud parameter in the parameter list is the

 

 

interface or device descriptor.

 

 

 

 

SICL

The Agilent SICL function puts the signal generator into

iloc(id)

 

Local operation; enabling front panel key operation. The id

 

 

parameter identifies the session.

 

 

 

 

Clear Function

The HP Basic function CLEAR and the other listed IO library functions clear the signal generator.

Library

Function Statement

Initialization Command

 

 

 

HP Basic

The CLEAR 719 function halts all pending output- parameter

10 CLEAR 719

 

operations, resets the parser (interpreter of programming

 

 

codes) and prepares for a new programming code, stops any

 

 

sweep in progress, and turns off continuous sweep.

 

 

 

 

VISA Library

The VISA library uses the viClear function. This function

viClear(ViSession vi)

 

performs an IEEE 488.1 clear of the signal generator.

 

 

 

 

NI- 488.2

The NI- 488.2 library function sends the GPIB Selected

ibclr(int ud)

 

Device Clear (SDC) message to the device described by ud.

 

 

 

 

SICL

The Agilent SICL function clears a device or interface. The

iclear (id)

 

function also discards data in both the read and write

 

 

formatted IO buffers. The id parameter identifies the

 

 

session.

 

 

 

 

Output Function

The HP Basic IO function OUTPUT and the other listed IO library functions put the signal generator into a listen mode and prepare it to receive ASCII data, typically SCPI commands.

Library

Function Statement

Initialization Command

 

 

 

HP Basic

The function OUTPUT 719 puts the signal generator into

10 OUTPUT 719

 

remote mode, makes it a listener, and prepares it to receive

 

 

data.

 

 

 

 

VISA Library

The VISA library uses the above function and associated

viPrintf(parameter list)

 

parameter list to output data. This function formats

 

 

according to the format string and sends data to the device.

 

 

The parameter list describes the session id and data to send.

 

 

 

 

Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide

65

Page 75
Image 75
Agilent Technologies E8663B, N5181A/82A, N5183A MXG manual Clear Function, Output Function

N5183A, N5183A MXG, E8663B, N5181A/82A specifications

Agilent Technologies is renowned for its innovative solutions in electronic test and measurement equipment. Among its offerings are several signal generators including the N5181A, N5182A, E8663B, and N5183A MXG. These models are distinguished not only by their performance but also by their versatility across various applications in communications, aerospace, and electronics.

The Agilent N5181A and N5182A, part of the MXG family, are highly versatile signal generators known for their exceptional frequency performance and flexibility. The N5181A operates from 100 kHz to 6 GHz, while the N5182A extends that range up to 12 GHz. They provide high fidelity signals with low phase noise, making them ideal for the development and testing of RF components and systems. These generators support a wide variety of modulation formats, including AM, FM, PM, and pulse modulation, catering to diverse application needs.

The E8663B, meanwhile, is designed for the range of 250 kHz to 3 GHz and is also recognized for its high-performance features. Its built-in capabilities for modulation make it effective for testing wireless devices, ensuring that signals can be simulated accurately in both laboratory and field environments. It is especially beneficial for users requiring a straightforward and efficient solution with high reliability.

The N5183A MXG signal generator enhances the lineup with frequency coverage up to 6 GHz and advanced capabilities. It integrates various modulation capabilities while ensuring high signal integrity. Its architecture is tailored for both production test environments and research applications, providing users with the flexibility to adapt to changing testing requirements.

Common characteristics across these models include a user-friendly interface that simplifies configuration and operation. They are often equipped with LAN and USB interfaces for easy remote control and integration into automated test systems. The robustness of these generators allows them to perform reliably in challenging environments, making them essential tools in laboratories, manufacturing floors, and field testing scenarios.

In summary, Agilent's signal generators, including the N5181A, N5182A, E8663B, and N5183A MXG, represent a blend of advanced technology, flexibility, and precision. These instruments are vital in facilitating the evolution of cutting-edge communication technologies, ensuring that designers and engineers can confidently meet the demands of modern electronics.