Agilent Technologies Infiniium 90000 Series Programmer's Manual page 1147

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

# --------------------------------------------------------
# Get the waveform points mode.
qresult = scope.SCPI.WAVeform.TYPE.Query()
print "Waveform points mode: %s" % qresult
# Get the number of waveform points.
qresult = scope.SCPI.WAVeform.POINts.Query()
print "Waveform points: %s" % qresult
# Set the waveform source.
scope.SCPI.WAVeform.SOURce.Command("CHANnel1")
qresult = scope.SCPI.WAVeform.SOURce.Query()
print "Waveform source: %s" % qresult
# Choose the format of the data returned:
scope.SCPI.WAVeform.FORMat.Command("WORD")
qresult = scope.SCPI.WAVeform.FORMat.Query()
print "Waveform format: %s" % qresult
scope.SCPI.WAVeform.BYTeorder.Command("LSBFirst")
qresult = scope.SCPI.WAVeform.BYTeorder.Query()
print "Waveform byte order: %s" % qresult
# Display the waveform settings from preamble:
wav_form_dict = {
}
acq_type_dict = {
}
acq_mode_dict = {
}
coupling_dict = {
}
units_dict = {
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
0 : "ASCii",
1 : "BYTE",
2 : "WORD",
3 : "LONG",
4 : "LONGLONG",
1 : "RAW",
2 : "AVERage",
3 : "VHIStogram",
4 : "HHIStogram",
6 : "INTerpolate",
10 : "PDETect",
0 : "RTIMe",
1 : "ETIMe",
3 : "PDETect",
0 : "AC",
1 : "DC",
2 : "DCFIFTY",
3 : "LFREJECT",
0 : "UNKNOWN",
1 : "VOLT",
2 : "SECOND",
3 : "CONSTANT",
4 : "AMP",
38
Sample Programs
1147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents