Fri Jun 15, 2018 10:28 pm
I'm trying to get camera control working. If I'm doing the right thing (probably not), should I expect to see changes in the Software control panel, even if no camera is connected?
public void CamerIris(uint CameraID, short IrisValue)
{
IBMDSwitcherCameraControl xcameraControl = (IBMDSwitcherCameraControl)switcher;
xcameraControl.SetInt16s(CameraID, 0, 3, 1, ref IrisValue);
}
switcher object is valid and I can read the GetPeriodicFlushInterval value fine with
cameraControl.GetPeriodicFlushInterval(out _PeriodicFlushInterval);
Guessing it is something to do with the by ref value.
C++ example shows this as an array but I have not found any option to make that work in C#
Bound to be something simple, Anyone know what I'm doing wrong?
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com