164 / 172
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4289451A
5. Capture image stream.
To start and stop capturing image is the same way as AcquisitionControl.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual]
and [GrabStreamSimple] sample code in your TeliCamSDK install folder.
// 1.Set the camera parameters and save them to UserSet.
...
uint64_t addr = 0x500040;
uint32_t entry[] = {1,4,2};
// Sequence = {UserSet1,UserSet4,UserSet2}
uint32_t index, dat;
for(index=0; index<3; index++,addr+=4)
{
// 2.Set SequentialShutterIndex and SequentialShutterEntry.
Cam_WriteReg(s_hCam, addr, 1, &entry[index]);
}
// 3.Set SequentialShutterTerminateAt.
Cam_WriteReg(s_hCam, 0x21F33C, 1, &index); // 3 UserSet will be repeated.
// 4.Set the activation of SequentialShutter function.
dat = 1;
Cam_WriteReg(s_hCam, 0x21F31C, 1, &dat);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum/Maximum Value
SequentialShutterIndex
setting value
Minimum
(*)
1
Maximum
16
* initial factory setting
SequentialShutterEntry
setting value
Minimum
(*)
1
Maximum
15
* initial factory setting