User`s guide
peekdata
The behavior of peekdata depends on the settings of the Running and
the
Logging properties.
Running Logging Object State Result
On Off The object has bee n started
but is waiting for a trigger.
(
TriggerType is set to
'manual' or 'hardware').
No data has been acquired so
none is available.
peekdata returns a single
frame of data and issues a
warning, if you requested more
than one frame.
On On The object has been started,
a trigger has executed, and
the object is actively acquiring
data.
peekdata returns the n most
recently acquired frames of
data. The frames are not
removed from the buffer.
Off Off The object has stopped running
because it acquired the
requested number of frames or
you c alled the
stop function.
peekdata can be called once
to return the n most recently
acquired frames of data,
assuming
FramesAvailable
is greater than 0. Othe r wi se,
peekdata returns an error.
The f rames returned are not
removed from the memory
buffer.
The n um ber of frames availab le to peekdata is determined by recalling
the last frame returned by a previous
peekdata call, and the number of
frames that were acquired since then.
peekdata can be used only after the start command is issued and
while the object is running.
peekdata canalsobecalledonceafterobj
has stopped running.
See Also getdata, getsnapshot, imaqhelp , imaqmonta ge, propinf o, start
12-42