Please enable JavaScript to view this site.

FALCON/EAGLE user manual 4.62

Syntax

INT is_SetToggleMode (HIDS hf, INT In1, INT In2, INT In3, INT In4)

Description

A sequence of video inputs (toggle mode), one changes with every frame, can be set with is_SetToggleMode(). Changing a video input occurs with each 2nd VSYNC at the beginning of an odd field. The involved cameras must be synchronized. Maximal 4 video inputs can be taken up to the toggle cycle. The sequence of the video inputs doesn’t matter. At least 2 video inputs must be defined, to activate the toggle mode. To select the video inputs, the same parameters must be indicated described in is_SetVideoInput(). IS_SET_TOGGLE_OFF must be indicated for non-used video inputs. If the toggle mode is active, commands from is_SetVideoInput() will be overwritten at the beginning of the next frame.

The sequence in toggle mode is processed in ascending order: In1, In2, In3, In4, In1, In2… Therefore it is to consider that the parameters ln1 to ln4 are occupied in sequence with the active channels.

Video inputs, which are set to IS_SET_TOGGLE_OFF, will be skipped.

hint_info

Toggle mode can only be used with the EAGLE and FALCONplus rev.3 and rev4 board, as only older FALCON boards have the necessary inputs for this mode.

Example

is_SetToggleMode(hf, IS_SET_VIDEO_IN_1, IS_SET_VIDEO_IN_2, IS_SET_TOGGLE_OFF, IS_SET_TOGGLE_OFF);

Toggle mode with video inputs 1 and 2.

Parameters

hf

Frame grabber handle

In1

 

IS_SET_VIDEO_IN_1 usw.

Video input to be used

IS_SET_TOGGLE_OFF

Do not use video input

IS_GET_TOGGLE_INPUT_1

Returns the video input 1

IS_GET_TOGGLE_INPUT_2

Returns the video input 2

IS_GET_TOGGLE_INPUT_3

Returns the video input 3

IS_GET_TOGGLE_INPUT_4

Returns the video input 4

In2

 

IS_SET_VIDEO_IN_1 usw.

Video input to be used

IS_SET_TOGGLE_OFF

Do not use video input

In3

 

IS_SET_VIDEO_IN_1 usw.

Video input to be used

IS_SET_TOGGLE_OFF

Do not use video input

In4

 

IS_SET_VIDEO_IN_1 usw.

Video input to be used

IS_SET_TOGGLE_OFF

Do not use video input

Return value

Current setting when called with IS_GET_TOGGLE_INPUT_1, IS_GET_TOGGLE_INPUT_2, IS_GET_TOGGLE_INPUT_3 or IS_GET_TOGGLE_INPUT_4, else IS_SUCCESS or IS_NO_SUCCESS