Agilent Technologies

VISA: Program to Store Instrument's Current Screen Image to a File

This self-extracting file contains three files: screen.bas (Visual Basic® 6 program), screen.exe (compiled executable), and readme.txt.

The example program, screen.bas, is written for the PSA Series and ESA Series Spectrum Analyzers. It stores the current screen image on the instrument's flash as C:PICTURE.GIF. It then transfers the image over GPIB or LAN and stores the image on your PC in the current directory as picture.gif. The file C:PICTURE.GIF is then deleted on the instrument's flash.

You can try it out by connecting up an ESA or PSA spectrum analyzer to GPIB address 18 and running the program. It will store the current screen image as picture.gif in the directory you run the executable from.

Visual Basic is a U.S. registered trademark of Microsoft Corporation.

© Copyright 2003 Agilent Technologies, Inc.


© Agilent 2000-2006