Technical data
160 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
9 Acquire Commands
:ACQuire:SRATe
(Sample Rate)
Command
:ACQuire:SRATe {AUTO | MAX | <rate>}
The :ACQuire:SRATe command sets the acquisition sampling rate.
AUTO The AUTO rate allows the oscilloscope to select a sample rate that best
accommodates the selected memory depth and horizontal scale.
MAX The MAX rate enables the oscilloscope to select maximum available sample
rate.
<rate> A real number representing the sample rate. You can send any value, but
the value is rounded to the next fastest sample rate. For a list of available
sample rate values see "SRATe Sample Rate Tables" on page 161.
Interaction
between
:ACQuire:SRATe
and
:ACQuire:POINts
If you assign a sample rate value with :ACQuire:SRATe or a points value
using :ACQuire:POINts the following interactions will occur. "Manual"
means you are setting a non- AUTO value for SRATe or POINts.
Example This example sets the sample rate to 250 MSa/s.
myScope.WriteString ":ACQUIRE:SRATE 250E+6"
Query :ACQuire:SRATe?
The :ACQuire:SRATe? query returns the current acquisition sample rate.
Returned Format
[:ACQuire:SRATe] {<rate>}<NL>
Example This example places the current sample rate in the string variable,
strSample, then prints the contents of the variable to the computer's
screen.
Dim strSample As String ' Dimension variable.
myScope.WriteString ":ACQUIRE:SRATE?"
strSample = myScope.ReadString
Debug.Print strSample
SRATe POINts Result
AUTO Manual POINts value takes
precedence (sample rate is
limited)
Manual AUTO SRATe value takes precedence
(memory depth is limited)
Manual Manual SRATe value takes precedence
(memory depth is limited)