Gpel, Gpel? get pixel color components – Quantum Data 802BT User Manual
Page 365

Video Test Generator User Guide
355
GPEL?
Get PixEL color components
Class
Signal analyzer - Pixel data
Description
Takes the (x, y) coordinates address of a pixel and returns the red, green, and blue color
components of the pixel at that address.
Query syntax
GPEL? x y
Query response
R, G, B
Possible errors
Should this info be integrated into the Query response area, instead of creating a new
label?The GPEL? query may respond back with one of the following errors in case of a
parameter is not set correctly (or in case the setup is not correct).
Example
PDSX 128
//sets patch starting at x-pixel 128
PDSY 256
//sets patch starting at y-pixel 256
PDSH 64
//sets patch height at 64 pixels
PDSW 96
//sets patch width at 90 pixels
PDAU
//captures patch of image
GPEL? 128 256 //read RGB color components at pixel address 128,256
0,255,0
Related commands
PNSeedExceedsLimit
2800
PNLengthExceedsLimit
2801
PNNotSupported
2802
NoInputSupported
2803
XcoordOutOfRange
2804
YcoordOutOfRange
2805