MultiCam Boards Documentation > MultiCam Documentation > MultiCam C++ Reference > Classes > Channel Class > Channel::Prepare Method

Channel::Prepare Method

Channel creation and configuration time-consuming tasks are best performed after all relevant parameters have been set and before channel activation.

[C++]

void Channel.Prepare();

Remarks

Channel creation and configuration involve some time-consuming tasks like firmware upload, memory allocation... These time-consuming tasks are best performed after all relevant parameters have been set but before channel activation.

The Prepare method is optionally called after channel configuration and before calling SetActive.

When doing so, all time-consuming tasks are performed during the Prepare call. This ensures that the channel is immediately capable of doing image acquisition upon activation.

If Prepare was not called, or if parameters were changed after calling Prepare, the time-consuming tasks will be performed when calling SetActive.

See Also

Channel Class | Channel::SetActive