Coaxlink Programmer's GuideEGrabber for MultiCam users
...
}
}
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), grabber.setFloat<RemoteModule>(name,
value), or
grabber.setString<RemoteModule>(name,
value)
Script files
//MultiCam
; CAM file
ChannelParam1 = Value1;
ChannelParam2 = Value2;
//EGrabber
// Euresys GenApi Script
var grabber = grabbers[0];
grabber.DevicePort.set('DeviceFeature1', Value1);
grabber.DevicePort.set('DeviceFeature2', Value2);
grabber.RemotePort.set('CameraFeatureA', ValueA);
36