I migrated out of my old thread now that I have gotten somewhere. Link
As far as I can tell it should work. At least a little.
I have learned many ways how not to make it work.
This was the best way I could make it considering I had to learn as I went. The way to handle the queue is in my eye ugly and inefficient but I don’t know how else to insert something into a queue when they are banged at the same time.
So if you guys can have a look at it, laugh for a while, and then maybe point me in the right direction. Or even help me.
It would be nice having one control module for every camera but I just didn’t know how it would work on the same bus. So I made one for the two cameras we have.
What I need to control is:
Pan & tilt, Pulling the value from the max/min values from the camera would be nice but at the moment choosing them manually is fine.
Color, Manual color balance.
One push AF, making the camera focus like a regular camera.
Manual focus, Would be nice to control it manually but it is not a priority.
Auto focus, choosing this mode would be nice.
AGC Gain, exposure compensation.
Zoom, Simple zoom as ar as I can tell.
Connecting it, On/Off, setting pedistal or inverted mode, resetting the unit etc. All those functions are needed but usually run once every time.
Seeing any errors returned and acting properly at them.
As it is now it should move to the next command in the queue if it receives an OK from the camera.
I have no idea how to implement it all. I know the most basic things can be done but it quickly becomes too complicated for me. Still new to vvvv.
VC-C4 (Device).v4p (98.1 kB)