Agilent Technologies 6000 Series quick start Sending Multiple Queries and Reading Results

Page 27

Getting Started

2

Sending Multiple Queries and Reading Results

You can send multiple queries to the instrument within a single command string, but you must also read them back as a single query result. This can be accomplished by reading them back into a single string variable, multiple string variables, or multiple numeric variables.

For example, to read the :TIMebase:RANGe?;DELay? query result into a single string variable, you could use the commands:

myScope.WriteString ":TIMEBASE:RANGE?;DELAY?" Dim strQueryResult As String strQueryResult = myScope.ReadString

MsgBox "Timebase range; delay:" + strQueryResult

When you read the result of multiple queries into a single string variable, each response is separated by a semicolon. For example, the output of the previous example would be:

Timebase range; delay: <range_value>;<delay_value>

To read the :TIMebase:RANGe?;DELay? query result into multiple string variables, you could use the ReadList method to read the query results into a string array variable using the commands:

myScope.WriteString ":TIMEBASE:RANGE?;DELAY?" Dim strResults() As String

strResults() = myScope.ReadList(ASCIIType_BSTR)

MsgBox "Timebase range: " + strResults(0) + ", delay: " + strResults(1)

To read the :TIMebase:RANGe?;DELay? query result into multiple numeric variables, you could use the ReadList method to read the query results into a variant array variable using the commands:

myScope.WriteString ":TIMEBASE:RANGE?;DELAY?" Dim varResults() As Variant

varResults() = myScope.ReadList

MsgBox "Timebase range: " + FormatNumber(varResults(0) * 1000, 4) + _

" ms, delay: " + FormatNumber(varResults(1) * 1000000, 4) + " us"

Checking Instrument Status

Status registers track the current status of the instrument. By checking the instrument status, you can find out whether an operation has been completed, whether the instrument is receiving triggers, and more.

For more information, see the “Status Reporting” topic in the online Programmer’s Reference which explains how to check the status of the instrument.

Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide

27

Image 27
Contents Programmer’s Quick Start Guide WA R N I N G Programming the Oscilloscope-At a Glance This Book Contents Index Setting Up Connect and set up the oscilloscope Install Agilent IO Libraries Suite softwareUsing the LAN Interface Using the USB Device InterfaceUsing the Gpib Interface Verify the oscilloscope connection Click Test Connection Setting Up Access the Programmer’s Reference To access the Programmer’s Reference help fileTo get the latest versions via the web Language for Program Examples Getting StartedInitializing Basic Oscilloscope Program StructureAnalyzing Captured Data Capturing DataReferencing the IO Library Programming the OscilloscopeOpening the Oscilloscope Connection via the IO Library Using AUToscale to Automate Oscilloscope Setup Initializing the Interface and the OscilloscopeInformation for Initializing the Instrument Example Oscilloscope Setup Code Using Other Oscilloscope Setup CommandsCapturing Data with the DIGitize Command Set TIMebaseMODE to Main or DELayed when using DIGitizeEnsure New Data is Collected Aborting a Digitize Operation Over Gpib Following program example shows a typical setupReading Query Responses from the Oscilloscope Express String Variables Using Exact Syntax Reading Query Results into String VariablesReading Query Results into Numeric Variables #8000010001000 bytes of dataterminator Reading Definite-Length Block Query Response DataChecking Instrument Status Sending Multiple Queries and Reading ResultsOther Ways of Sending Commands Sending Scpi Commands using Browser Web ControlTelnet Sockets Index Index Page Index
Related manuals
Manual 368 pages 7.71 Kb

6000 Series specifications

Agilent Technologies has long been recognized as a leader in the field of electronic measurement and test equipment, and the Agilent 6000 Series oscilloscopes exemplify this commitment to innovation and quality. Designed for both professional engineers and researchers, the 6000 Series offers a comprehensive suite of features that enhance usability, accuracy, and efficiency in various applications.

At the heart of the Agilent 6000 Series is its advanced architecture, which integrates a high-performance analog-to-digital converter (ADC) and a sophisticated digital signal processing engine. This combination enables users to capture fast, high-resolution signals with remarkable accuracy, making it suitable for a wide range of applications, from automotive to telecommunications.

One of the standout features of the 6000 Series is its bandwidth options, which typically range from 100 MHz to 500 MHz. This flexibility allows users to select an oscilloscope that best fits their specific needs. Coupled with a sampling rate of up to 4 GSa/s, the 6000 Series offers exceptional timing resolution, ensuring that even the most fleeting signals are accurately represented.

The user interface of the 6000 Series is designed for maximum efficiency. The oscilloscopes are equipped with a large, high-resolution display, enabling users to view complex waveforms in detail. Furthermore, the touch screen interface provides a level of interactivity that simplifies navigation through various functions, making it accessible for both seasoned professionals and novices alike.

Additionally, the 6000 Series incorporates advanced triggering capabilities, allowing users to isolate specific events in their signals easily. The wide array of available triggering options includes edge, pulse width, and serial triggering formats, which are vital for analyzing complex digital communications.

Another noteworthy characteristic of the Agilent 6000 Series is its built-in measurement and analysis tools. The oscilloscopes come equipped with automated measurements, enabling users to quickly gather important data about their signals without manual calculations. This reduces the time spent on testing and increases overall productivity.

In terms of connectivity, the 6000 Series includes USB and LAN interfaces, providing easy data transfer and integration with other devices. The inclusion of advanced software options further enhances data analysis capabilities, enabling users to perform extensive post-acquisition analysis.

In summary, Agilent Technologies' 6000 Series oscilloscopes represent a blend of cutting-edge features, user-friendly design, and high-performance technologies, making them an invaluable tool for engineers and scientists engaged in electronic measurements and analysis. Their versatility and power make them well-suited to meet the demands of modern engineering challenges.