Skip to content

BAlert test#169

Open
HaoyanChen626 wants to merge 3 commits intomasterfrom
BAlertTest
Open

BAlert test#169
HaoyanChen626 wants to merge 3 commits intomasterfrom
BAlertTest

Conversation

@HaoyanChen626
Copy link
Collaborator

BAlert interface test

Copy link
Member

@ApocalyVec ApocalyVec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When ESU is not connected, this error comes up when trying to start the stream:

[BAlert] status: 1, Initializing SDK
[BAlert] status: 2, Detecting device
[BAlert.exe] [BAlert] cfg_dir=D:\Season\PhysioLabXR\physiolabxr\third_party\BAlert\Config
[BAlert.exe] [BAlert] bin_dir=D:\Season\PhysioLabXR\physiolabxr\third_party\BAlert\SDK64\bin
[BAlert.exe] [BAlert] lic_dir=D:\Season\PhysioLabXR\physiolabxr\interfaces\DeviceInterface\BAlert\x64\Release\License
[BAlert.exe] [ABM] IsConnectionOpened=FALSE
[BAlert] status: 8, Stopped OK
Traceback (most recent call last):
File "D:\Season\PhysioLabXR\physiolabxr\ui\DeviceWidget.py", line 72, in start_stop_stream_btn_clicked
self.data_worker.start_stream(**start_stream_args)
File "D:\Season\PhysioLabXR\physiolabxr\threadings\DeviceWorker.py", line 112, in start_stream
self.device_interface.start_stream(*args, **kwargs)
File "D:\Season\PhysioLabXR\physiolabxr\interfaces\DeviceInterface\BAlert\BAlert_Interface.py", line 225, in start_stream
self._wait_until_ready_or_lsl(timeout=90)
File "D:\Season\PhysioLabXR\physiolabxr\interfaces\DeviceInterface\BAlert\BAlert_Interface.py", line 483, in _wait_until_ready_or_lsl
raise RuntimeError(f"BAlert error/stop: {msg}")
RuntimeError: BAlert error/stop: Stopped OK
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Season\PhysioLabXR\physiolabxr\ui\MainWindow.py", line 295, in on_start_all_btn_clicked
x.start_stop_stream_btn_clicked()
File "D:\Season\PhysioLabXR\physiolabxr\ui\DeviceWidget.py", line 98, in start_stop_stream_btn_clicked
raise UnsupportedErrorTypeError(str(e))
physiolabxr.exceptions.exceptions.UnsupportedErrorTypeError: This error type should not be raised
BAlert error/stop: Stopped OK
python-BaseException

@ApocalyVec
Copy link
Member

Remove the "sync license" button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants