beautypg.com

Sensoray 2255 User Manual

Page 27

background image

0 on success.

S2255_StartAcquire (HANDLE hdev, int channel, HANDLE *phevent);

Starts capture on the specified channel of the 2255.

Parameters

hdev

A handle to the 2255 device.

channel

channel number (1-4).

phevent

Unused. Set to NULL.

Returns

0 on success.

S2255_StopAcquire(HANDLE hdev, int channel);

Stops capture on the specified channel of the 2255.

Parameters

hdev

A handle to the 2255 device.

channel

channel number (1-4).

Returns

0 on success.

S2255_check_frame_poll(HDEVICE hdev, int channel, int *last, int *psize);

Returns 0 if frame is ready on given channel. Stores index of last frame in last. Non-blocking.

Parameters

hdev

Handle to device

channel

Channel to check(1-4)

last

27