Agilent Technologies 6000 Series quick start Capturing Data with the DIGitize Command

Page 22

2Getting Started

Capturing Data with the :DIGitize Command

The :DIGitize command captures data that meets the specifications set up by the :ACQuire subsystem. When the digitize process is complete, the acquisition is stopped. The captured data can then be measured by the instrument or transferred to the controller for further analysis. The captured data consists of two parts: the waveform data record, and the preamble.

N O T E

Ensure New Data is Collected

 

 

When you change the oscilloscope configuration, the waveform buffers are cleared. Before

 

doing a measurement, send the :DIGitize command to the oscilloscope to ensure new data

 

has been collected.

 

 

 

When you send the :DIGitize command to the oscilloscope, the specified

 

channel signal is digitized with the current :ACQuire parameters. To obtain

 

waveform data, you must specify the :WAVeform parameters for the SOURce

 

channel, the FORMat type, and the number of POINts prior to sending the

 

:WAVeform:DATA? query.

 

Set :TIMebase:MODE to MAIN or DELayed when using :DIGitize

N O T E

 

 

:TIMebase:MODE must be set to MAIN or DELayed to perform a :DIGitize command or to

 

perform any :WAVeform subsystem query. A "Settings conflict" error message will be

 

returned if these commands are executed when MODE is set to ROLL or XY. Sending the

 

*RST (reset) command will set the time base mode to main.

 

 

 

The number of data points comprising a waveform varies according to the

 

number requested in the :ACQuire subsystem. The :ACQuire subsystem

 

determines the number of data points, type of acquisition, and number of

 

averages used by the :DIGitize command. This allows you to specify exactly

 

what the digitized information contains.

22

Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide

Image 22
Contents Programmer’s Quick Start Guide WA R N I N G Programming the Oscilloscope-At a Glance This Book Contents Index Setting Up Install Agilent IO Libraries Suite software Connect and set up the oscilloscopeUsing the USB Device Interface Using the LAN InterfaceUsing the Gpib Interface Verify the oscilloscope connection Click Test Connection Setting Up To access the Programmer’s Reference help file Access the Programmer’s ReferenceTo get the latest versions via the web Getting Started Language for Program ExamplesBasic Oscilloscope Program Structure InitializingCapturing Data Analyzing Captured DataProgramming the Oscilloscope Referencing the IO Library Opening the Oscilloscope Connection via the IO Library Initializing the Interface and the Oscilloscope Using AUToscale to Automate Oscilloscope SetupInformation for Initializing the Instrument Using Other Oscilloscope Setup Commands Example Oscilloscope Setup CodeSet TIMebaseMODE to Main or DELayed when using DIGitize Capturing Data with the DIGitize CommandEnsure New Data is Collected Following program example shows a typical setup Aborting a Digitize Operation Over GpibReading Query Responses from the Oscilloscope Reading Query Results into String Variables Express String Variables Using Exact SyntaxReading Query Results into Numeric Variables Reading Definite-Length Block Query Response Data #8000010001000 bytes of dataterminatorSending Multiple Queries and Reading Results Checking Instrument StatusSending Scpi Commands using Browser Web Control Other Ways of Sending CommandsTelnet Sockets Index Index Page Index
Related manuals
Manual 368 pages 7.71 Kb