Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
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-web-393
Commits
9b991c90
Commit
9b991c90
authored
Sep 26, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaking eysis mode startup
parent
8861af0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
framepars.php
src/php_top/framepars.php
+11
-7
No files found.
src/php_top/framepars.php
View file @
9b991c90
...
@@ -457,13 +457,13 @@ CAPTION;
...
@@ -457,13 +457,13 @@ CAPTION;
elphel_set_P_value
(
$sensor_port
,
ELPHEL_BIN_HOR
,
1
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
elphel_set_P_value
(
$sensor_port
,
ELPHEL_BIN_HOR
,
1
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
elphel_set_P_value
(
$sensor_port
,
ELPHEL_BIN_VERT
,
1
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
elphel_set_P_value
(
$sensor_port
,
ELPHEL_BIN_VERT
,
1
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// elphel_set_P_value ( $sensor_port, ELPHEL_COMPRESSOR_RUN, 2, $frame + 5, ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC ); // / run compressor
elphel_set_P_value
(
$sensor_port
,
ELPHEL_AUTOEXP_EXP_MAX
,
200000
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// elphel_set_P_value ( $sensor_port, ELPHEL_COMPRESSOR_RUN, 2, $frame + 8, ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC ); // / run compressor
elphel_set_P_value
(
$sensor_port
,
ELPHEL_COMPRESSOR_RUN
,
2
,
$frame
+
9
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// / run compressor
elphel_set_P_value
(
$sensor_port
,
ELPHEL_COMPRESSOR_RUN
,
2
,
$frame
+
5
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// / run compressor
// elphel_set_P_value ( $sensor_port, ELPHEL_COMPRESSOR_RUN, 2, $frame +
13
, ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC ); // / run compressor
// elphel_set_P_value ( $sensor_port, ELPHEL_COMPRESSOR_RUN, 2, $frame +
9
, ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC ); // / run compressor
// Turn external trigger at 4fps
// Turn external trigger at 4fps
/*
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_PERIOD
,
25000000
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
//0.25 s
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_PERIOD
,
25000000
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
//0.25 s
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_BITLENGTH
,
31
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
//0.32 usec
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_BITLENGTH
,
31
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
//0.32 usec
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_DELAY
,
0
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// no delay
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_DELAY
,
0
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// no delay
...
@@ -473,7 +473,11 @@ CAPTION;
...
@@ -473,7 +473,11 @@ CAPTION;
/// change to "internal" (0x8000) when wired
/// change to "internal" (0x8000) when wired
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_CONDITION
,
0
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// 0x0 - from FPGA, 0x80000 - ext, 0x8000 - int, 0x88000 - any, 0x95555 - add ext, 0x59999 - add int
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG_CONDITION
,
0
,
$frame
+
4
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// 0x0 - from FPGA, 0x80000 - ext, 0x8000 - int, 0x88000 - any, 0x95555 - add ext, 0x59999 - add int
// elphel_set_P_value ( $sensor_port, ELPHEL_TRIG, 0x4, $frame + 6, ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC ); // 0 - free running, 4 - extrnal ERS, 5 - external GRR
// elphel_set_P_value ( $sensor_port, ELPHEL_TRIG, 0x4, $frame + 6, ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC ); // 0 - free running, 4 - extrnal ERS, 5 - external GRR
*/
elphel_set_P_value
(
$sensor_port
,
ELPHEL_TRIG
,
0x4
,
$frame
+
10
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// 0 - free running, 4 - extrnal ERS, 5 - external GRR
elphel_set_P_value
(
$sensor_port
,
ELPHEL_MULTI_MODE
,
1
,
$frame
+
11
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// 0 - free running, 4 - extrnal ERS, 5 - external GRR
elphel_set_P_value
(
$sensor_port
,
ELPHEL_MULTI_SEQUENCE
,
0x39
,
$frame
+
11
,
ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC
);
// 0 - free running, 4 - extrnal ERS, 5 - external GRR
//
$xml
->
addChild
(
'frame_after'
.
strval
(
$sensor_port
),
elphel_get_frame
(
$sensor_port
));
$xml
->
addChild
(
'frame_after'
.
strval
(
$sensor_port
),
elphel_get_frame
(
$sensor_port
));
fclose
(
$framepars_file
);
fclose
(
$framepars_file
);
...
...
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