Agilent Technologies Infiniium 90000 Series Programmer's Manual page 1105

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

Advertisement

# Save display data values to file.
f = open("screen_image.png", "wb")
f.write(sDisplay)
f.close()
print "Screen image written to screen_image.png."
# Download waveform data.
# --------------------------------------------------------
# Get the waveform type.
qresult = do_query_string(":WAVeform:TYPE?")
print "Waveform type: %s" % qresult
# Get the number of waveform points.
qresult = do_query_string(":WAVeform:POINts?")
print "Waveform points: %s" % qresult
# Set the waveform source.
do_command(":WAVeform:SOURce CHANnel1")
qresult = do_query_string(":WAVeform:SOURce?")
print "Waveform source: %s" % qresult
# Choose the format of the data returned:
do_command(":WAVeform:FORMat BYTE")
print "Waveform format: %s" % do_query_string(":WAVeform:FORMat?")
# 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",
38
Sample Programs
1105

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents