EasyManuals Logo

Keysight Technologies InfiniiVision 3000T X Series User Manual

Keysight Technologies InfiniiVision 3000T X Series
1420 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #325 background imageLoading...
Page #325 background image
:DISPlay Commands 14
Keysight InfiniiVision 3000T X-Series Oscilloscopes Programmer's Guide 325
:DISPlay:DATA
(see page 1276)
Query Syntax
:DISPlay:DATA? [<format>][,<palette>]
<format> ::= {BMP | BMP8bit | PNG}
<palette> ::= {COLor | GRAYscale}
The :DISPlay:DATA? query reads screen image data. You can choose 24-bit BMP,
8-bit BMP8bit, or 24-bit PNG formats in color or grayscale.
If no format or palette option is specified, the screen image is returned in BMP,
COLor format.
Screen image data is returned in the IEEE-488.2 # binary block data format.
Return Format
<display data><NL>
<display data> ::= binary block data in IEEE-488.2 # format.
See Also "Introduction to :DISPlay Commands" on page 316
":HARDcopy:INKSaver" on page 409
":PRINt" on page 223
"*RCL (Recall)" on page 179
"*SAV (Save)" on page 183
":VIEW" on page 230
Example Code
' 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, 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 ' Open file f
or output.
Put #1, , byteData ' Write data.
Close #1 ' Close file.
myScope.IO.Timeout = 5000
See complete example programs at: Chapter 42, “Programming Examples,”
starting on page 1285

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies InfiniiVision 3000T X Series and is the answer not in the manual?

Keysight Technologies InfiniiVision 3000T X Series Specifications

General IconGeneral
BrandKeysight Technologies
ModelInfiniiVision 3000T X Series
CategoryTest Equipment
LanguageEnglish

Related product manuals