Skip to content

Commit b191bc2

Browse files
xichenheApocalyVec
authored andcommitted
B-Alert updates
1 parent c0123e5 commit b191bc2

97 files changed

Lines changed: 13766 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,12 @@ UserConfig.json
144144
/John_EEG_Project/
145145

146146
# IDE
147-
.idea
147+
.idea
148+
149+
# BAlert License
150+
physiolabxr/interfaces/DeviceInterface/BAlert/x64/Release/License/
151+
152+
# BAlert runtime output
153+
physiolabxr/third_party/BAlert/Config/balert_command.txt
154+
physiolabxr/third_party/BAlert/Config/balert_status.txt
155+
physiolabxr/third_party/BAlert/Config/balert_impedance.json
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{ "StreamName":"BAlert",
2+
"NominalSamplingRate": 256,
3+
"NumChan": 24,
4+
"ChannelNames": [
5+
"Fp1", "F7", "F8", "T4", "T6", "T5", "T3", "Fp2",
6+
"O1", "P3", "Pz", "F3", "Fz", "F4", "C4", "P4",
7+
"POz", "C3", "Cz", "O2", "EKG", "AUX1", "AUX2", "AUX3"
8+
],
9+
"GroupInfo": [20, 21],
10+
"DataType": "float32"}

physiolabxr/_ui/BAlert_Options.ui

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ui version="4.0">
3+
<class>form</class>
4+
<widget class="QWidget" name="form">
5+
<property name="geometry">
6+
<rect><x>0</x><y>0</y><width>640</width><height>280</height></rect>
7+
</property>
8+
<property name="windowTitle">
9+
<string>Options for B-Alert</string>
10+
</property>
11+
12+
<layout class="QVBoxLayout" name="root_vlayout">
13+
14+
15+
<item>
16+
<layout class="QFormLayout" name="formLayout">
17+
<property name="labelAlignment">
18+
<set>Qt::AlignRight|Qt::AlignVCenter</set>
19+
</property>
20+
21+
<item row="0" column="0">
22+
<widget class="QLabel" name="label_license">
23+
<property name="text"><string>Select your ABM license folder</string></property>
24+
</widget>
25+
</item>
26+
<item row="0" column="1">
27+
<layout class="QHBoxLayout" name="hl_license">
28+
<item>
29+
<widget class="QLineEdit" name="license_dir_lineedit">
30+
<property name="placeholderText">
31+
<string>e.g. C:\ABM\B-Alert\License</string>
32+
</property>
33+
</widget>
34+
</item>
35+
<item>
36+
<widget class="QToolButton" name="license_browse_btn">
37+
<property name="text"><string>…</string></property>
38+
<property name="toolTip"><string>Browse for license folder</string></property>
39+
</widget>
40+
</item>
41+
</layout>
42+
</item>
43+
</layout>
44+
</item>
45+
46+
47+
<item>
48+
<layout class="QHBoxLayout" name="row_check_impedance">
49+
<item>
50+
<spacer name="spacer_ci_left">
51+
<property name="orientation"><enum>Qt::Horizontal</enum></property>
52+
<property name="sizeHint"><size><width>40</width><height>20</height></size></property>
53+
</spacer>
54+
</item>
55+
<item>
56+
<widget class="QPushButton" name="sync_license_btn">
57+
<property name="text"><string>Sync License</string></property>
58+
<property name="toolTip"><string>Copy selected license files into EXE\License</string></property>
59+
</widget>
60+
</item>
61+
<item>
62+
<widget class="QPushButton" name="check_impedance_btn">
63+
<property name="text"><string>Check Impedance</string></property>
64+
<property name="toolTip"><string>Measure electrode impedances (no streaming)</string></property>
65+
</widget>
66+
</item>
67+
<item>
68+
<spacer name="spacer_ci_right">
69+
<property name="orientation"><enum>Qt::Horizontal</enum></property>
70+
<property name="sizeHint"><size><width>40</width><height>20</height></size></property>
71+
</spacer>
72+
</item>
73+
</layout>
74+
</item>
75+
76+
77+
<item>
78+
<widget class="QLabel" name="status_label">
79+
<property name="text"><string/></property>
80+
<property name="wordWrap"><bool>true</bool></property>
81+
<property name="styleSheet">
82+
<string notr="true">color: #c8c8c8;</string>
83+
</property>
84+
</widget>
85+
</item>
86+
87+
</layout>
88+
</widget>
89+
<resources/>
90+
<connections/>
91+
</ui>

0 commit comments

Comments
 (0)