44
Surface cluster reset
//MultiCam
MCSTATUS status;
for (size_t i = 0; i < BUFFER_COUNT; ++i) {
MCHANDLE surface;
status = McGetParamInst(channel, MC_C i, &surface);
if (status != MC_OK) {
...
}
status = McSetParamInt(surface, MC_SurfaceState, MC_SurfaceState_FREE);
if (status != MC_OK) {
...
}
}
status = McSetParamInt(channel, MC_SurfaceIndex, 0);
if (status != MC_OK) {
...
}
//EGrabber
grabber.resetBufferQueue();
Frame grabber configuration
MultiCam
EGrabber
McSetParamStr(H, MC_CamFile,
filepath)
grabber.runScript(filepath)
-
grabber.runScript(script)
McSetParamInt(H, id, value)
or
McSetParamNmInt(H, name, value)
grabber.setInteger<M>(name, value)
McSetParamFloat(H, id, value)
or
McSetParamNmFloat(H, name, value)
grabber.setFloat<M>(name, value)
McSetParamStr(H, id, value)
or
McSetParamNmStr(H, name, value)
grabber.setString<M>(name, value)
where
H
is a
MC_HANDLE
(the global
MC_CONFIGURATION
handle, a board handle, or a channel
handle), and
M
specifies the target module (either
SystemModule
,
InterfaceModule
,
DeviceModule
, or
StreamModule
).
Camera configuration
MultiCam
EGrabber
-
grabber.runScript(filepath)
-
grabber.runScript(script)
-
grabber.setInteger<RemoteModule>
(name, value)
,
Coaxlink
Programmer Guide
7. EGrabber for MultiCam users