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
76be07a7
Commit
76be07a7
authored
Dec 21, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better fix for trigger period application
parent
065636d7
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 @
76be07a7
...
@@ -1098,6 +1098,7 @@ function init_cameras(){ // $page) { init can only be from default page as page
...
@@ -1098,6 +1098,7 @@ function init_cameras(){ // $page) { init can only be from default page as page
// The line below applies the parameter in a normal way - otherwise, if unlucky, TRIG_PERIOD can jump
// The line below applies the parameter in a normal way - otherwise, if unlucky, TRIG_PERIOD can jump
// between 1 and $trig_period.
// between 1 and $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
,
0
);
elphel_set_P_value
(
$GLOBALS
[
'master_port'
],
ELPHEL_TRIG_PERIOD
,
$trig_period
);
// Set parameter immediately
// Set parameter immediately
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
);
...
...
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