Sensoray 819 Windows SDK User Manual

Page 11

Advertising
background image

mask

bits 0-3 control outputs 0-3 (1 – enabled, 0 – disabled).

S819_RegMVFlagCB

ECODE S819_RegMVFlagCB (S819_MVFlagCallBack funCallBack,

void

*pContext)

Registers a callback function for motion detection. Each frame is divided into 192 cells consisting of 16
columns and 12 rows. If motion is detected in any one or more of these cells the callback function will
fire.
funCallBack

callback function to use. Callback function should be defined as follows: “void
callback_name(unsigned int channel, S819_MVFLAG_DATA *pdata, void *pContext)”

pContext

context pointer

S819_StartMVFlag

ECODE S819_StartMVFlag (HCNODE hCnode)

Starts capturing motion detection flags. Must have previously registered a callback function with
S819_RegMVFlagCB.
hCnode

a valid capture node handle.

S819_StopMVFlag

ECODE S819_StartMVFlag (HCNODE hCnode)

Stops capturing motion detection flags.
hCnode

a valid capture node handle.

S819_GetMotionSensitivity

ECODE S819_GetMotionSensitivity (int chan, unsigned long *mvsens)

Gets the sensitivity setting for motion detection.
chan

selected channel number (1-based).

mvsens

a pointer to an unsigned long that is to receive the current motion sensitivity

level.

S819_SetMotionSensitivity

ECODE S819_SetMotionSensitivity (int chan, unsigned long mvsens)

Sets the sensitivity level for motion detection.
chan

selected channel number (1-based).

11

Advertising