Agilent Technologies MSO6102A Programmer's Reference Manual page 197

6000 series
Hide thumbs Also See for MSO6102A:
Table of Contents

Advertisement

If the format is TIFF, the only valid value area parameter is GRATicule, and the only valid
N O T E
palette parameter is MONOchrome.
If the format is something other than TIFF, the only valid area parameter is SCReen, and the
only valid values for palette are GRAYscale or COLor.
Return Format
<display data><NL>
<display data> ::= binary block data in IEEE-488.2 # format.
See Also
Example Code
or output.
Example program from the start:
page 614
Agilent 6000 Series Oscilloscopes Programmer's Reference
"Introduction to :DISPlay Commands"
":DISPlay:SOURce"
on page 201
":MERGe"
on page 119
":PRINt"
on page 130
"*RCL (Recall)"
on page 88
"*SAV (Save)"
on page 92
":VIEW"
on page 137
' IMAGE_TRANSFER - In this example, we will query for the image data
' with ":DISPLAY:DATA?", read the data, and then save it to a file.
Dim byteData() As Byte
myScope.IO.Timeout = 15000
myScope.WriteString ":DISPLAY:DATA? BMP, SCREEN, COLOR"
byteData = myScope.ReadIEEEBlock(BinaryType_UI1)
' Output display data to a file:
strPath = "c:\scope\data\screen.bmp"
' Remove file if it exists.
If Len(Dir(strPath)) Then
Kill strPath
End If
Close #1
' If #1 is open, close it.
Open strPath For Binary Access Write Lock Write As #1
Put #1, , byteData
Close #1
' Close file.
myScope.IO.Timeout = 5000
on page 193
' Write data.
"VISA COM Example in Visual Basic"
Commands by Subsystem
' Open file f
3
on
197

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents