Programming Manual
PHYTEC Messtechnik GmbH 2008 L-720e_0
125
P
ro
g
ra
m
m
in
g
M
a
n
u
a
l
Stop grabbing
void Stop_GrabberWORD nDevNo);
This routine
Stop_Grabber
aborts grabbing. The transfer of data will
be cancelled immediately and the image might be incomplete.
Caution:
Stop_Grabber
must be called even for digitization in single shot mode
(nSingleShot
= 1 in
Set_Image
) when operation is finished
automatically. The Grabber is locked (in standby mode), until
Stop_Grabber
is called. Thereafter a new single shot can be taken
with
Start_Grabber
.
Show digitization status
WORD Data_Present(WORD nDevNo);
return value: shows status of digitization
(values 0 - 15 (4-bit) )
The function
Data_Present
indicates if an even or odd image is stored
in the memory.
In the separate bits of the returnvalue the status for continuous or
single shot operation of the digitization is coded (see
Figure 50).
Bit 0 and 2 indicate, that an even image was recorded, bit 1 and 3
represent an odd image. Bits 0 and 1 change their state with each
advent of an even or odd image. For continuous grabbing this
indicates when the content of the corresponding memory region is
occupied completely with a new image. Each alteration of the status
(0 to 1 and 1 to 0) indicates, that a new field was recorded.