The PAN command is affected by the current capture resolution (zoom). Use the :PAN? command to retrieve the current capture window location and resolution. The capture resolution value is coded as a power of two. A capture resolution value of 0 represents 20 which equals 1, a value of 1 represents 21 = 2, 2 represents 22 = 4, etc. When the capture resolution is x1, x2, x4, etc., the LBA-PC samples every pixel, every other pixel, every 4th pixel, etc. If the current frame size is 64 X 60 then the area covered by the capture window is actually 64 X 60, 128 X 120, 256 X 240, etc. To determine the actual size of the capture window, multiply the capture size by the capture resolution.

The upper left corner of the pan window must be placed on an integer multiple of the capture resolution starting from the upper left corner of the pan window limit. For example, if the left edge of the pan window limit is at 112 and the capture resolution is x8 then the left edge of the pan window must be placed at 112, 120, 128, etc. Illegal values will be truncated to the next lower integer multiple.

The following describes how to center the pan window in the detector. In this example the horizontal center of the detector is at (112+744)/2=428 and the vertical center is at (32+512)/2=272. The frame data size is 128 X 120. The capture resolution value is 1, so we must multiply the data size by 21=2. Therefore, the actual size of the capture window is 256 X

240.To put the capture window center at the detector center we subtract half the capture window size, 428-128=300 and 272-120=152.

Host sends

:PNW?(^END)

LBA-PC sends

PNW

UpperLeft=112,32;

LowerRight=744,512(^END)

Host sends

:PAN?(^END)

LBA-PC sends

PAN

CaptureLoc=112,32;

CaptureSize=128,120;

CaptureResolution=1(^END)

Host sends

PAN

X=300;

Y=152(^END)

Operator’s Manual

203

LBA-PC

Doc. No. 10654-001, Rev 4.10

 

 

Page 203
Image 203
Sigma LBA-712, LBA-710, LBA-714PC, LBA-300, LBA-708, LBA-500PC, LBA-700, LBA-400 manual Pan?End