Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
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-camogm
Commits
976af575
Commit
976af575
authored
Oct 27, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add frame delay parameter
parent
b07575cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
camogm_interface.php
src/camogmgui/camogm_interface.php
+7
-1
No files found.
src/camogmgui/camogm_interface.php
View file @
976af575
...
...
@@ -262,9 +262,15 @@ else if ($cmd=="set_parameter") {
//elphel_skip_frames($sensor_port,1);
$thisFrameNumber
=
elphel_get_frame
(
$sensor_port
);
if
(
isset
(
$_GET
[
'pframe'
]))
{
$pframe
=
intval
(
$_GET
[
'pframe'
]);
}
else
{
$pframe
=
3
;
}
$constant
=
constant
(
"ELPHEL_
$pname
"
);
elphel_set_P_value
(
$sensor_port
,
$constant
,
$pvalue
+
0
,
$thisFrameNumber
+
3
);
elphel_set_P_value
(
$sensor_port
,
$constant
,
$pvalue
+
0
,
$thisFrameNumber
+
$pframe
);
xml_header
();
echo
"<command>"
.
$cmd
.
"</command>"
;
...
...
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