Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F75542113
empatica_recorder.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 2, 20:45
Size
2 KB
Mime Type
text/html
Expires
Sun, Aug 4, 20:45 (2 d)
Engine
blob
Format
Raw Data
Handle
19566103
Attached To
R7177 epiph
empatica_recorder.html
View Options
<template
name=
"empaticaRecorder"
>
{{#if isUsedForAnotherSession}}
empatica data is recorded for another visit. You need to end this session before you can record here.
{{else}}
{{#unless isAuthenticated}}
{{#if isAuthenticating}}
<i
class=
"fa fa-spinner fa-spin"
></i>
Authenticating Empatica...
{{else}}
<span
class=
"text-danger"
>
{{authenticationError}}
</span>
<br>
<br>
<button
id=
"authenticate"
class=
"btn btn-default"
>
Authenticate
</button>
{{/if}}
{{else}}
{{#unless isConnected}}
{{#if isDiscovering}}
<i
class=
"fa fa-spinner fa-spin"
></i>
Discovering devices...
{{else}}
{{#if isConnecting}}
<i
class=
"fa fa-spinner fa-spin"
></i>
Connecting devices...
{{else}}
<button
id=
"discoverDevices"
class=
"btn btn-default"
>
Discover devices
<i
class=
"fa fa-wifi"
></i>
</button>
{{/if}}
{{/if}}
<h5>
Devices
</h5>
{{#if discoveredDevices}}
<table
class=
"table devicesTable"
>
{{#each discoveredDevices}}
<tr>
<td>
{{this}}
</td>
<!-- <td><input type="checkbox"></input></td> -->
</tr>
{{/each}}
</table>
<br>
<button
id=
"connectDevices"
class=
"btn btn-default"
>
connect devices
<i
class=
"fa fa-wifi"
></i>
</button>
{{else}}
no devices found!
{{/if}}
{{else}}
{{#unless isRecording}}
<button
id=
"startRecording"
class=
"btn btn-warning"
>
record physiological data
<i
class=
"fa fa-heartbeat"
></i>
</button>
<br>
<br>
<button
id=
"disconnectDevices"
class=
"btn btn-default"
>
disconnect devices
</button>
{{else}}
<button
id=
"stopRecording"
class=
"btn btn-warning"
>
stop recording
<i
class=
"fa fa-heartbeat"
></i>
</button>
<br>
<br>
<span
class=
"text-success"
>
Recording physiological data...
</span>
{{/unless}}
{{/unless}}
{{/unless}}
{{/if}}
<!--
<br>
<br>
<button id="listRecords" class="btn btn-warning">
list records
</button>
-->
</template>
Event Timeline
Log In to Comment