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
278cdd5e
Commit
278cdd5e
authored
Jul 23, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update lwir16.php and related files
parent
3b0788d7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
162 additions
and
29 deletions
+162
-29
Makefile
src/index/Makefile
+1
-0
lwir16.ini
src/lwir16/lwir16.ini
+6
-0
lwir16.php
src/lwir16/lwir16.php
+145
-23
elphel_functions_include.php
src/php_top/elphel_functions_include.php
+10
-6
No files found.
src/index/Makefile
View file @
278cdd5e
...
@@ -5,6 +5,7 @@ INSTALL = install
...
@@ -5,6 +5,7 @@ INSTALL = install
DOCS
=
img.html
\
DOCS
=
img.html
\
index.html
\
index.html
\
index.php
\
index.php
\
index1.php
\
mjpeg.html
mjpeg.html
all
:
all
:
...
...
src/lwir16/lwir16.ini
View file @
278cdd5e
ips
=
"192.168.0.41,192.168.0.42,192.168.0.43,192.168.0.44,192.168.0.45"
ips
=
"192.168.0.41,192.168.0.42,192.168.0.43,192.168.0.44,192.168.0.45"
port_masks
=
"15,15,15,15,15"
duration
=
100
duration
=
100
pre_delay
=
3.0
pre_delay
=
3.0
ffc_period
=
30.0
ffc_period
=
30.0
ffc_groups
=
2
ffc_groups
=
2
ffc_frames
=
8
ffc_frames
=
8
ffc
=
1
ffc
=
1
tiff_telem
=
1
tiff_mn
=
0
tiff_mx
=
65535
tiff_bin_shift
=
1
tiff_auto
=
0
debug
=
1
debug
=
1
# no spaces around commas!
# no spaces around commas!
CMD
=
INIT,START
CMD
=
INIT,START
\ No newline at end of file
src/lwir16/lwir16.php
View file @
278cdd5e
This diff is collapsed.
Click to expand it.
src/php_top/elphel_functions_include.php
View file @
278cdd5e
...
@@ -178,12 +178,16 @@ function curl_multi_finish($data, $use_xml=true, $ntry=0, $echo = false, $with_h
...
@@ -178,12 +178,16 @@ function curl_multi_finish($data, $use_xml=true, $ntry=0, $echo = false, $with_h
$xml
=
simplexml_load_string
(
curl_multi_getcontent
(
$ch
));
$xml
=
simplexml_load_string
(
curl_multi_getcontent
(
$ch
));
curl_multi_remove_handle
(
$curl_mh
,
$ch
);
curl_multi_remove_handle
(
$curl_mh
,
$ch
);
$results
[
$i
]
=
array
();
$results
[
$i
]
=
array
();
foreach
(
$xml
as
$tag
=>
$value
)
{
try
{
$svalue
=
(
string
)
$value
;
foreach
(
$xml
as
$tag
=>
$value
)
{
if
(
strlen
(
$svalue
)
>
0
)
{
$svalue
=
(
string
)
$value
;
if
(
$svalue
[
0
]
==
'"'
)
$results
[
$i
][
$tag
]
=
trim
(
$svalue
,
'"'
);
if
(
strlen
(
$svalue
)
>
0
)
{
else
$results
[
$i
][
$tag
]
=
(
int
)
$svalue
;
if
(
$svalue
[
0
]
==
'"'
)
$results
[
$i
][
$tag
]
=
trim
(
$svalue
,
'"'
);
}
else
$results
[
$i
][
$tag
]
=
(
int
)
$svalue
;
}
}
}
catch
(
exception
$e
)
{
// empty array?
}
}
}
}
}
else
{
}
else
{
...
...
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