Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anton Klarén
LabComm
Commits
b276e5ff
Commit
b276e5ff
authored
10 years ago
by
Anton Klarén
Browse files
Options
Downloads
Patches
Plain Diff
Code clean up
parent
6d87ad27
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/js/index.html
+16
-1
16 additions, 1 deletion
lib/js/index.html
lib/js/lc.js
+198
-89
198 additions, 89 deletions
lib/js/lc.js
with
214 additions
and
90 deletions
lib/js/index.html
+
16
−
1
View file @
b276e5ff
...
...
@@ -3,10 +3,25 @@
<head>
<meta
charset=
"utf-8"
>
<title>
title
</title>
<link
rel=
"stylesheet"
href=
"style.css"
>
<script
src=
"lc.js"
></script>
</head>
<body>
<!-- page content -->
<script>
var
oReq
=
new
XMLHttpRequest
();
oReq
.
open
(
"
GET
"
,
"
http://fair-2014-4.lab1.cs.lth.se:8080/logdata/clamping/experiments/bc4b3d5e-509a-40d1-81ec-1799c2ee167b/data
"
,
true
);
oReq
.
responseType
=
"
arraybuffer
"
;
oReq
.
onload
=
function
(
oEvent
)
{
var
arrayBuffer
=
oReq
.
response
;
// Note: not oReq.responseText
if
(
arrayBuffer
)
{
var
buff
=
new
LabComm
.
Buffer
(
new
DataView
(
arrayBuffer
));
console
.
log
(
buff
);
new
LabComm
.
Parser
(
buff
);
}
};
oReq
.
send
(
null
);
</script>
</body>
</html>
This diff is collapsed.
Click to expand it.
lib/js/lc.js
+
198
−
89
View file @
b276e5ff
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment