BMMSC: Zoom issue with 3G-SDI Arduino Shield

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Mayank K Tyagi

  • Posts: 2
  • Joined: Tue Sep 12, 2017 3:51 pm

BMMSC: Zoom issue with 3G-SDI Arduino Shield

PostWed Sep 13, 2017 11:21 am

Hi Everyone,

I'm working on a "Blackmagic Micro Studio 4K" cam and controlling it with arduino board using blackmagic 3G-SDI arduino shield.
I'm unable to use its "Zoom" and "Aperture"command as mentioned in its datasheet.

//****************************************************//
//***********sends current zoom value to the cam***********//
//****************************************************//
void SetZoom (currentZoom)
{ currentZoom = constrain(currentZoom, 0.0, 1.0);
sdiCameraControl.writeCommandFixed16(
1, // Destination: Camera 1
0, // Category: Lens
8, // Param: Zoom (normalised)
0, // Operation: Set Absolute,
currentZoom // Values
);
}
//****************************************************//
//*********sends current Aperture value to the cam***********//
//****************************************************//
void SetAperture (currentAperture)
{ currentAperture= constrain(currentAperture, 0.0, 1.0);
sdiCameraControl.writeCommandFixed16(
1, // Destination: Camera 1
0, // Category: Lens
3, // Param: Aperture (normalised)
0, // Operation: Set Absolute,
currentApertureAdjust // Values
);
}
//****************************************************//


Lens i'm using is "Olympus M.Zuiko 14-42mm f3.5-5.6 II R Lens". Is this lens support digital zoom through 3G-SDI shield or I code it wrongly.

want some guidance..Thanks

Mayank K Tyagi
Offline
User avatar

Baz

  • Posts: 622
  • Joined: Wed Aug 22, 2012 5:06 am
  • Location: Sydney, Australia

Re: BMMSC: Zoom issue with 3G-SDI Arduino Shield

PostFri Sep 15, 2017 12:29 am

The zoom data is working ok but there is a bug with the software control panel where the ATEM does not send the end of zoom command.

The Aperture does not exist on the software control panel (yet) so it is impossible to test.

Baz

MISC
U/S Express, SmartviewDuo, SmartScopeDuo, Teranex 2D, Web Pres, 5/7 Vid Assists
VIDEOHUB
Smart 12x12
12x24
72x144
HYPERDECK
Studio, Shuttle, Studio Mini
ATEM
2me4K, 2me, TVS, TVS HD, CamConvs, StudioConvs, Studio Cams, Micro Studio Cam

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 6 guests