User's Manual

7.5.5 DVS300_Start
Syn t a x
int DVS300_Start(int nDevNum, int SwitchingChans, HWND Main, HWND
hwndPreview)
Pa ram et e r s
nDevNum: Specifies the device num ber(0~ 3).
SwitchingChans: Single video input or switching between video muxes.
0: single channel.
1: two channels ( m ux0, mux1).
2: three channels (m ux0, mux1, mux2).
3: four channels (m ux0, mux1, m ux2, mux3).
Main: A m ain window handle.
hwndPreview: A windows handle for display area. When the value of
this param eter is NULL, the video will not be
rendered. (This param eter is only valid, when the
ā€œSwitchChansā€ is zero.)
Ret urn Value
SUCCEEDED: Function succeeded.
FAI LED: Function failed.
DEVICENUMERROR: I nvalid device num ber.
SDKINITFAI LED: SDK not initialized.
De script ion
This function starts video capturing on a specified capture port.
The capture state would be set as ā€œ RUNNI NGā€ after a successful start. If the
channels share frames (i.e. SwitchingChans> 0) , the video input m ux will be
set zero.
Se e Also
DVS300_Stop
DVS300_GetCapState