Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-autocampars
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-autocampars
Commits
9f187c0b
Commit
9f187c0b
authored
Nov 20, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix internal trigger period application
parent
cbddd2b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
autocampars.php
src/autocampars.php
+1
-0
No files found.
src/autocampars.php
View file @
9f187c0b
...
@@ -1095,6 +1095,7 @@ function init_cameras(){ // $page) { init can only be from default page as page
...
@@ -1095,6 +1095,7 @@ function init_cameras(){ // $page) { init can only be from default page as page
elphel_set_P_arr
(
$GLOBALS
[
'master_port'
],
$GLOBALS
[
'trig_pars'
]);
// set other parameters - they will not take effect immediately
elphel_set_P_arr
(
$GLOBALS
[
'master_port'
],
$GLOBALS
[
'trig_pars'
]);
// set other parameters - they will not take effect immediately
usleep
(
$GLOBALS
[
'camera_state_arr'
][
'max_frame_time'
]);
usleep
(
$GLOBALS
[
'camera_state_arr'
][
'max_frame_time'
]);
if
(
$trig_period
){
if
(
$trig_period
){
elphel_set_P_value
(
$GLOBALS
[
'master_port'
],
ELPHEL_TRIG_PERIOD
,
$trig_period
,
0
);
elphel_set_P_value
(
$GLOBALS
[
'master_port'
],
ELPHEL_TRIG_PERIOD
,
$trig_period
,
ELPHEL_CONST_FRAME_IMMED
);
elphel_set_P_value
(
$GLOBALS
[
'master_port'
],
ELPHEL_TRIG_PERIOD
,
$trig_period
,
ELPHEL_CONST_FRAME_IMMED
);
log_msg
(
"Started camera in periodic self-triggered mode, period = "
.
(
0.00000001
*
$trig_period
)
.
" s"
,
3
);
log_msg
(
"Started camera in periodic self-triggered mode, period = "
.
(
0.00000001
*
$trig_period
)
.
" s"
,
3
);
}
else
{
// manually advance frames
}
else
{
// manually advance frames
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment