Page 1 of 1
Sample Code of OptiHub Control
Posted: Tue Nov 29, 2011 9:55 pm
by Ushikubo Tomohiro
Hi.
I'm using V100 and V100:R2 and OptiHub. And I'm trying to make original program by using cameraSDK.
I'll use Software Trigger, LV-TTL Digital Output, Recording Active � Level Output, WiredSync.
Would you give me a sample program of OptiHub synchronize setting?
Re: Sample Code of OptiHub Control
Posted: Mon Dec 05, 2011 1:34 pm
by NaturalPoint - Mike
At the moment, we don't have a synchronization sample. I can, however, point you to cameramanager.h which features synchronization controls in the cameramanager class.
Specifically:
Code: Select all
void ReApplySyncSettings(); //== Apply Sync Settings ===============---
void ApplySyncSettings(sSyncSettings SyncSettings); //== Apply Synchronization Settings ====---
void GetSyncSettings (sSyncSettings &SyncSettings); //== Get Current Sync Settings =========---
void SoftwareTrigger(); //== Trigger to shutter cameras ========---
eSyncMode SyncMode(); //== Returns the Current Sync Mode =====---
void UpdateRecordingBit(bool Recording); //== Update real-time app info =========---
Re: Sample Code of OptiHub Control
Posted: Thu Mar 01, 2012 2:44 am
by Ushikubo Tomohiro
Thanks.
I want to know the flow for using OptiHub.
Would you tell what is needed during the procedure, such as under.
1.CameraManager::X().WaitForInitialization();
2.camera = CameraManager::X().GetCamera(list.UID());
3.sync->AddCamera(camera);
4.camera->Start();