diff --git a/.gitignore b/.gitignore
index 5dc0b2fcb5c5a83f73d7a79a2e64cd442b311567..abc3ece278e056833932542854cf1003ff596c15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -236,4 +236,7 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
-#.idea/
\ No newline at end of file
+#.idea/
+flexsensor.log
+autosave_configs/
+.sim/
\ No newline at end of file
diff --git a/.idea/flexsensor.iml b/.idea/flexsensor.iml
index 0597a8caa1273122db3fba2d0a49b28fd646fdbb..0e3b1929902b2190c6124e46ca66f77568a49df2 100644
--- a/.idea/flexsensor.iml
+++ b/.idea/flexsensor.iml
@@ -7,7 +7,7 @@
<excludeFolder url="file://$MODULE_DIR$/src/FlexSensor/MeasurementEvaluation" />
<excludeFolder url="file://$MODULE_DIR$/src/FlexSensor/MeasurementEvaluationTool" />
</content>
- <orderEntry type="jdk" jdkName="Python 3.12 (flexsensor)" jdkType="Python SDK" />
+ <orderEntry type="jdk" jdkName="Python 3.10 (flexsensor)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PackageRequirementsSettings">
diff --git a/.idea/misc.xml b/.idea/misc.xml
index babd515fd6c4a4a8d5a564ea695c95bd3b4c4ee2..27fc4695536ce009238567d10504fb16ad9a6376 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,5 +3,5 @@
<component name="Black">
<option name="sdkName" value="Python 3.11 (pythonProject1)" />
</component>
- <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (flexsensor)" project-jdk-type="Python SDK" />
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (flexsensor)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
diff --git a/.sim/laser_simulator.yaml b/.sim/laser_simulator.yaml
deleted file mode 100644
index ad32b777eecf586d7f1b5ec6d2f1516ac1061850..0000000000000000000000000000000000000000
--- a/.sim/laser_simulator.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-# - Configuration file stored 2024-01-07 19:15:50.237051 -
-LaserLibSimulatorConfig: #!!python/object:controller.LaserLibSimulatorConfig
- currentWavelengthPositionIs: 0.0 # Current wavelength position: Current wavelength position in nm
- current_wavelength: 840.0 # Current wavelength: Current wavelength in nm
- velocity: 1.0 # Velocity: Velocity in nm/s
- acceleration: 2.0 # Acceleration: Acceleration in nm/s^2
- deceleration: 2.0 # Deceleration: Deceleration in nm/s^2
diff --git a/README.md b/README.md
index ff1de8d0df72b38c4a3ae81f46cf26c30579ff80..eede0081513aa25c0de985880a9a3f4b97bf72b4 100644
--- a/README.md
+++ b/README.md
@@ -16,13 +16,25 @@ If you find any bugs or have any suggestions, please open an issue.

# Installation
+## Get the source files
+Clone the repository to your local machine.
+```bash
+git clone git@gitlab.tugraz.at:flexsensor-public/flexsensor.git
+```
+
Create a virtual environment (highly recommended) and install the dependencies.
```python
-python -m venv .venv
-source .venv/Scripts/Activate
+python -m venv .venv;
+source .venv/Scripts/Activate;
pip install -r requirements.txt
```
+# Starting the software
+To start the software, simply run the `examples/main.py` file.
+```python
+python main.py
+```
+
# Measuring using Flexsensor
## Input Structure File
The measuring process relies on a ```vas```-File that store the positions to the structures. in priciple
diff --git a/autosave_configs/init_config.yaml b/autosave_configs/init_config.yaml
deleted file mode 100644
index 609df8504cee1aacf4ba69ce85123c8c3f482840..0000000000000000000000000000000000000000
--- a/autosave_configs/init_config.yaml
+++ /dev/null
@@ -1,45 +0,0 @@
-# - Configuration file stored 2024-01-07 12:56:15.978896 -
-FlexSensorConfig: #!!python/object:controller.FlexSensorConfig
- wafer_version: "MaskARY1_Jakob_full" # Wafer Version: Wafer Version to be measured
- wafer_number: "T40741W177G0" # Wafer Number: Wafer Number to be measured
- output_directory: "@Path:<.>" # Output Directory: Measurement output directory
- log_file: "fs.log" # Log File:
-
-# Sub-Configurations
- wafer_config: #!!python/object:controller.WaferConfig
- dies: [29, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46] # dies: None
- structure_file: "@Path:<H:/ET PhD - Dokumente/Silicon Photonics/FlexSensor 6/flexsensor-public/flexsensor/jakob.vas>" # structure_file: None
- wafermap_file: "@Path:<H:/ET PhD - Dokumente/Silicon Photonics/FlexSensor 6/flexsensor-public/flexsensor/Wafermapary1_48dies.map>" # wafermap_file: None
- log_file: "@Path:<{output_directory}/log_{date_time}.log>" # log_file: None
- measurement_output: "@Path:<{output_directory}/measurement/measurement_{date_time}.csv>" # measurement_output: None
- measurement_mat_file: "@Path:<{output_directory}/measurement/measurement_die_{die}_struct_{structure}_{date_time}_{it}.mat>" # measurement_mat_file: None
- scope_image_file: "@Path:<{output_directory}/scope_shots/scope_{wafer_nr}_die_{die}_struct_{structure}_{time}.png>" # scope_image_file: None
- bookmark_file: "@Path:<{output_directory}/klayout_bookmarks/bookmarks_{wafer_version}.lyb>" # bookmark_file: None
-
- app_config: #!!python/object:controller.AppSettings
- ENABLE_CUSTOM_TITLE_BAR: True # ENABLE_CUSTOM_TITLE_BAR: None
- MENU_WIDTH: 240 # MENU_WIDTH: None
- LEFT_BOX_WIDTH: 240 # LEFT_BOX_WIDTH: None
- RIGHT_BOX_WIDTH: 240 # RIGHT_BOX_WIDTH: None
- TIME_ANIMATION: 500 # TIME_ANIMATION: None
- BTN_LEFT_BOX_COLOR: "background-color: rgb(44, 49, 58);" # BTN_LEFT_BOX_COLOR: None
- BTN_RIGHT_BOX_COLOR: "background-color: #ff79c6;" # BTN_RIGHT_BOX_COLOR: None
- MENU_SELECTED_STYLESHEET: " border-left: 22px solid qlineargradient(spread:pad, x1:0.034, y1:0, x2:0.216, y2:0, stop:0.499 rgba(255, 121, 198, 255), stop:0.5 rgba(85, 170, 255, 0)); background-color: rgb(40, 44, 52); " # MENU_SELECTED_STYLESHEET: None
-
- laser_config: #!!python/object:controller.LaserConfig
- wl_sweep_start: 830 # wl_sweep_start: None
- wl_sweep_stop: 840 # wl_sweep_stop: None
- velocity: 1.0 # velocity: None
- acceleration: 1.0 # acceleration: None
- deceleration: 2.0 # deceleration: None
- available_ports: ['USB0', 'USB1', 'USB2', 'USB3', 'USB4', 'USB5', 'USB6', 'USB7', 'USB8', 'USB9'] # available_ports: None
- port: "USB0" # port: None
-
- captdev_config: #!!python/object:controller.CaptDeviceConfig
- selected_device_index: 0 # Selected device: Selected device from the device list provided by the DreamWaves API.
- sample_rate: 500 # Sample rate: Sample rate of the device
- streaming_rate: 500 # Streaming rate: Streaming rate in Hz (should be below 1kHz)
- ain_channel: <1>[(0, 'Channel 0'), (1, 'Channel 1')]> # -> 1 # Analog In Channel: Analog in channel. Defines which channel is used for capturing.
- show_simulator: True # Show Simulators: Show available simulators in the device list provided by the DreamWaves API.
- streaming_history: <3>[(100, '100 ms'), (200, '200 ms'), (500, '500 ms'), (1000, '1 s'), (2000, '2 s'), (5000, '5 s'), (10000, '10 s'), (20000, '20 s'), (30000, '30 s')]> # -> 1000 # Streaming history: Defines the range of the stream in ms
-
diff --git a/jakob.vas b/example_input_file.vas
similarity index 100%
rename from jakob.vas
rename to example_input_file.vas
diff --git a/fs.log) b/fs.log)
deleted file mode 100644
index eb77ff4d2b4ddd30c628cb98a5e11ccac33f942e..0000000000000000000000000000000000000000
--- a/fs.log)
+++ /dev/null
@@ -1,1072 +0,0 @@
-INFO 2024-01-04 14:36:11,379 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with handlers [<RichHandler (WARNING)>, <FileHandler H:\ET PhD - Dokumente\Silicon Photonics\FlexSensor 6\flexsensor-public\flexsensor\fs.log) (DEBUG)>] and has been enabled (Level 30).)
-INFO 2024-01-04 14:36:12,380 - BaseAD2CaptDevice(37380) Logger BaseAD2CaptDevice(37380) created with handlers [<RichHandler (WARNING)>, <FileHandler H:\ET PhD - Dokumente\Silicon Photonics\FlexSensor 6\flexsensor-public\flexsensor\fs.log) (DEBUG)>] and has been enabled (Level 30).)
-DEBUG 2024-01-04 14:36:12,382 - (cmp) BaseAD2CaptDevice Registering child process.)
-DEBUG 2024-01-04 14:36:12,618 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 14:36:12,618 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 14:36:12,618 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 14:36:12,619 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 14:36:12,619 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 14:36:12,619 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-INFO 2024-01-04 14:36:12,619 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 14:36:12,620 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 32176(MPCaptDevice-1) created with handlers [<QueueHandler (WARNING)>, <FileHandler H:\ET PhD - Dokumente\Silicon Photonics\FlexSensor 6\flexsensor-public\flexsensor\fs.log) (DEBUG)>] and has been enabled (Level 30).)
-INFO Logger 32176(MPCaptDevice) created with handlers [<QueueHandler (DEBUG)>, <FileHandler H:\ET PhD - Dokumente\Silicon Photonics\FlexSensor 6\flexsensor-public\flexsensor\fs.log) (DEBUG)>] and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 14:36:14,343 - 32176(MPCaptDevice) Logger 32176(MPCaptDevice) created with handlers [<QueueHandler (DEBUG)>, <FileHandler H:\ET PhD - Dokumente\Silicon Photonics\FlexSensor 6\flexsensor-public\flexsensor\fs.log) (DEBUG)>] and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG 2024-01-04 14:36:14,351 - 32176(MPCaptDevice) Getting DWF version information...)
-INFO 2024-01-04 14:36:14,352 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 32176(MPCaptDevice-1).)
-DEBUG set_child_log_level->32176 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-INFO 2024-01-04 14:36:14,352 - (cmp) BaseAD2CaptDevice Function set_child_log_level->32176 returned None. No signal to emit.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 32176(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-INFO 2024-01-04 14:36:14,352 - 32176(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->32176 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-INFO 2024-01-04 14:36:14,402 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->32176 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 15:38:46,801 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 15:38:46,801 - BaseAD2CaptDevice(35068) Logger BaseAD2CaptDevice(35068) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 15:38:46,806 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 15:38:47,041 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 15:38:47,041 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 15:38:47,041 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 15:38:47,042 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 15:38:47,043 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 15:38:47,043 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 15:38:47,043 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO 2024-01-04 15:38:47,044 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-INFO Logger (cmp) 1304(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 1304(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 15:38:48,786 - 1304(MPCaptDevice) Logger 1304(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 1304(MPCaptDevice-1).)
-DEBUG set_child_log_level->1304 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 1304(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 15:38:48,795 - 1304(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 15:38:48,799 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:38:48,799 - (cmp) BaseAD2CaptDevice Function set_child_log_level->1304 returned None. No signal to emit.)
-INFO 2024-01-04 15:38:48,799 - BaseAD2CaptDevice(35068) DWF Version returned: 3.21.3)
-INFO 2024-01-04 15:38:48,796 - 1304(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->1304 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 15:38:48,846 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->1304 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 15:38:48,847 - BaseAD2CaptDevice(35068) Discovered devices: 12)
-DEBUG 2024-01-04 15:38:48,850 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 15:38:48,850 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 15:38:48,850 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 1304(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 15:38:48,851 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:38:48,851 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:38:48,852 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->1304 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->1304 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 15:38:48,996 - 1304(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 15:38:49,000 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:38:49,000 - (cmp) BaseAD2CaptDevice Function device_state->1304 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:38:49,001 - (cmp) BaseAD2CaptDevice Function open_device->1304 returned 1. No signal to emit.)
-DEBUG 2024-01-04 15:38:49,001 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG 2024-01-04 15:38:49,012 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-DEBUG set_selected_device->1304 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-INFO 2024-01-04 15:38:49,012 - 1304(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 15:38:49,012 - 1304(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 15:38:49,022 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:38:49,022 - (cmp) BaseAD2CaptDevice Function set_selected_device->1304 returned None. No signal to emit.)
-WARNING 2024-01-04 15:39:11,173 - (cmp) BaseAD2CaptDevice Shutting down ProcessControl 35068. Reason: )
-ERROR Control Process exited. Terminating Process 1304)
-ERROR Process 1304 received kill signal!)
-WARNING Child process monitor MPCaptDevice ended.)
-ERROR 2024-01-04 15:39:12,172 - (cmp) 1304(MPCaptDevice-1) Control Process exited. Terminating Process 1304)
-ERROR 2024-01-04 15:39:12,172 - (cmp) 1304(MPCaptDevice-1) Process 1304 received kill signal!)
-WARNING 2024-01-04 15:39:12,172 - (cmp) 1304(MPCaptDevice-1) Child process monitor MPCaptDevice ended.)
-INFO 2024-01-04 15:40:41,036 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 15:40:41,036 - BaseAD2CaptDevice(26920) Logger BaseAD2CaptDevice(26920) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 15:40:41,042 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 15:40:41,275 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 15:40:41,275 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 15:40:41,275 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 15:40:41,276 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 15:40:41,277 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 15:40:41,277 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 15:40:41,277 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO 2024-01-04 15:40:41,278 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-INFO Logger (cmp) 36588(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 36588(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 15:40:43,058 - 36588(MPCaptDevice) Logger 36588(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 36588(MPCaptDevice-1).)
-DEBUG set_child_log_level->36588 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 36588(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 15:40:43,068 - 36588(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 15:40:43,071 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:40:43,071 - (cmp) BaseAD2CaptDevice Function set_child_log_level->36588 returned None. No signal to emit.)
-INFO 2024-01-04 15:40:43,072 - BaseAD2CaptDevice(26920) DWF Version returned: 3.21.3)
-INFO 2024-01-04 15:40:43,069 - 36588(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->36588 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 15:40:43,111 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->36588 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 15:40:43,112 - BaseAD2CaptDevice(26920) Discovered devices: 12)
-DEBUG 2024-01-04 15:40:43,114 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 15:40:43,115 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 15:40:43,115 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 36588(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 15:40:43,115 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:40:43,115 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:40:43,116 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->36588 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->36588 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 15:40:43,265 - 36588(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 15:40:43,269 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:40:43,269 - (cmp) BaseAD2CaptDevice Function device_state->36588 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:40:43,270 - (cmp) BaseAD2CaptDevice Function open_device->36588 returned 1. No signal to emit.)
-DEBUG 2024-01-04 15:40:43,270 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG 2024-01-04 15:40:43,277 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-DEBUG set_selected_device->36588 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-INFO 2024-01-04 15:40:43,277 - 36588(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 15:40:43,277 - 36588(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 15:40:43,284 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:40:43,284 - (cmp) BaseAD2CaptDevice Function set_selected_device->36588 returned None. No signal to emit.)
-INFO 2024-01-04 15:47:21,683 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 15:47:21,683 - BaseAD2CaptDevice(36524) Logger BaseAD2CaptDevice(36524) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 15:47:21,688 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 15:47:21,913 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 15:47:21,913 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 15:47:21,914 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 15:47:21,914 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 15:47:21,915 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 15:47:21,915 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 15:47:21,915 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO 2024-01-04 15:47:21,947 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-INFO Logger (cmp) 35988(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 35988(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 15:47:23,616 - 35988(MPCaptDevice) Logger 35988(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 35988(MPCaptDevice-1).)
-DEBUG set_child_log_level->35988 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 35988(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 15:47:23,625 - 35988(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 15:47:23,628 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:47:23,628 - (cmp) BaseAD2CaptDevice Function set_child_log_level->35988 returned None. No signal to emit.)
-INFO 2024-01-04 15:47:23,628 - BaseAD2CaptDevice(36524) DWF Version returned: 3.21.3)
-INFO 2024-01-04 15:47:23,626 - 35988(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->35988 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 15:47:23,715 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->35988 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 15:47:23,715 - BaseAD2CaptDevice(36524) Discovered devices: 12)
-DEBUG 2024-01-04 15:47:23,719 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 15:47:23,719 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 15:47:23,719 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 35988(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 15:47:23,720 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:47:23,720 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:47:23,720 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->35988 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->35988 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 15:47:23,915 - 35988(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 15:47:23,919 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:47:23,919 - (cmp) BaseAD2CaptDevice Function device_state->35988 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:47:23,920 - (cmp) BaseAD2CaptDevice Function open_device->35988 returned 1. No signal to emit.)
-DEBUG 2024-01-04 15:47:23,920 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG set_selected_device->35988 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-DEBUG 2024-01-04 15:47:23,929 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-INFO 2024-01-04 15:47:23,929 - 35988(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 15:47:23,929 - 35988(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 15:47:23,940 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:47:23,941 - (cmp) BaseAD2CaptDevice Function set_selected_device->35988 returned None. No signal to emit.)
-INFO 2024-01-04 15:56:01,799 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 15:56:01,799 - BaseAD2CaptDevice(22712) Logger BaseAD2CaptDevice(22712) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 15:56:01,805 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 15:56:02,088 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 15:56:02,088 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 15:56:02,089 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 15:56:02,089 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 15:56:02,090 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 15:56:02,090 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-INFO 2024-01-04 15:56:02,090 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 15:56:02,090 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 3972(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 3972(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 15:56:04,341 - 3972(MPCaptDevice) Logger 3972(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 3972(MPCaptDevice-1).)
-DEBUG set_child_log_level->3972 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 3972(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 15:56:04,354 - 3972(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 15:56:04,357 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:04,357 - (cmp) BaseAD2CaptDevice Function set_child_log_level->3972 returned None. No signal to emit.)
-INFO 2024-01-04 15:56:04,358 - BaseAD2CaptDevice(22712) DWF Version returned: 3.21.3)
-INFO 2024-01-04 15:56:04,355 - 3972(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->3972 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 15:56:04,402 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->3972 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 15:56:04,403 - BaseAD2CaptDevice(22712) Discovered devices: 12)
-DEBUG 2024-01-04 15:56:04,406 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 15:56:04,406 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 15:56:04,406 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 3972(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 15:56:04,407 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:04,407 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:04,407 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->3972 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->3972 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 15:56:04,557 - 3972(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 15:56:04,560 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:04,561 - (cmp) BaseAD2CaptDevice Function device_state->3972 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:04,562 - (cmp) BaseAD2CaptDevice Function open_device->3972 returned 1. No signal to emit.)
-DEBUG 2024-01-04 15:56:04,562 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 15:56:04,572 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-DEBUG set_selected_device->3972 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-INFO 2024-01-04 15:56:04,572 - 3972(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 15:56:04,572 - 3972(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 15:56:04,578 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:04,579 - (cmp) BaseAD2CaptDevice Function set_selected_device->3972 returned None. No signal to emit.)
-DEBUG 2024-01-04 15:56:11,313 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.open_device() -> open_device_finished(int))
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice Executing open_device with args () and kwargs {})
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_sample_rate(500))
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice Executing set_sample_rate with args (500,) and kwargs {})
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_sample_rate(500) put into cmd_queue.)
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_ain_channel(1))
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_sample_rate(500), args: (500,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_sample_rate(500) in 3972(MPCaptDevice-1).)
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice Executing set_selected_ain_channel with args (1,) and kwargs {})
-DEBUG set_sample_rate->3972 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_sample_rate(500) finished.)
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_ain_channel(1) put into cmd_queue.)
-DEBUG 2024-01-04 15:56:11,314 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.open_device() put into cmd_queue.)
-e)
-INFO Executing Function <MPCaptDevice-1>.set_selected_ain_channel(1) in 3972(MPCaptDevice-1).)
-DEBUG Setting selected_ain_channel_changed!)
-DEBUG set_selected_ain_channel->3972 finished. No signal to emit.)
-ple_rate returned 500. Emitting Signal sample_rate_changed(500) in BaseAD2CaptDevice.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_ain_channel(1) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.open_device(), args: (), kwargs: {}, Signal to emit: open_device_finished)
-INFO Executing Function <MPCaptDevice-1>.open_device() in 3972(MPCaptDevice-1).)
-DEBUG 2024-01-04 15:56:11,315 - (cmp) BaseAD2CaptDevice Function set_sample_rate->3972 returned None. No signal to emit.)
-DEBUG 2024-01-04 15:56:11,315 - (cmp) BaseAD2CaptDevice Function selected_ain_channel returned 1. Emitting Signal selected_ain_channel_changed(1) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:11,315 - (cmp) BaseAD2CaptDevice Function set_selected_ain_channel->3972 returned None. No signal to emit.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->3972 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->3972 finished. Emitting signal open_device_finished in control class.)
-DEBUG Command Function <MPCaptDevice-1>.open_device() finished.)
-INFO 2024-01-04 15:56:11,545 - 3972(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 15:56:11,549 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:11,549 - (cmp) BaseAD2CaptDevice Function device_state->3972 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:11,550 - (cmp) BaseAD2CaptDevice Function open_device->3972 returned 1. Emitting Signal open_device_finished(1) in BaseAD2CaptDevice.)
-INFO 2024-01-04 15:56:11,577 - BaseAD2CaptDevice(22712) Opening device finished with handle 1)
-DEBUG 2024-01-04 15:56:11,580 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.start_capturing_process() -> capture_process_state_changed(PyObject))
-DEBUG 2024-01-04 15:56:11,580 - (cmp) BaseAD2CaptDevice Executing start_capturing_process with args () and kwargs {})
-DEBUG 2024-01-04 15:56:11,581 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.start_capturing_process() put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.start_capturing_process(), args: (), kwargs: {}, Signal to emit: capture_process_state_changed)
-INFO Executing Function <MPCaptDevice-1>.start_capturing_process() in 3972(MPCaptDevice-1).)
-INFO Starting capture on channel 1 with rate 500 Hz.)
-DEBUG device_state->3972 finished. Emitting signal device_state_changed in control class.)
-INFO 2024-01-04 15:56:11,581 - 3972(MPCaptDevice) Starting capture on channel 1 with rate 500 Hz.)
-DEBUG 2024-01-04 15:56:11,585 - (cmp) BaseAD2CaptDevice Function device_state->3972 returned 5. Emitting Signal device_state_changed(5) in BaseAD2CaptDevice.)
-INFO [Task] Setup for acquisition on channel 1 with rate 500 Hz.)
-INFO [Task] Wait 2 seconds for the offset to stabilize.)
-INFO 2024-01-04 15:56:12,586 - 3972(MPCaptDevice) [Task] Setup for acquisition on channel 1 with rate 500 Hz.)
-INFO 2024-01-04 15:56:12,588 - 3972(MPCaptDevice) [Task] Wait 2 seconds for the offset to stabilize.)
-INFO [Task] Setup for acquisition done.)
-INFO 2024-01-04 15:56:14,588 - 3972(MPCaptDevice) [Task] Setup for acquisition done.)
-DEBUG device_state->3972 finished. Emitting signal device_state_changed in control class.)
-DEBUG Setting ready_for_recording_changed!)
-DEBUG 2024-01-04 15:56:16,589 - (cmp) BaseAD2CaptDevice Function device_state->3972 returned 6. Emitting Signal device_state_changed(6) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:56:16,590 - (cmp) BaseAD2CaptDevice Function ready_for_recording returned True. Emitting Signal ready_for_recording_changed(True) in BaseAD2CaptDevice.)
-WARNING 2024-01-04 15:56:31,554 - (cmp) BaseAD2CaptDevice Shutting down ProcessControl 22712. Reason: )
-WARNING Received KeyboardInterrupt! Exiting Process 3972)
-WARNING 2024-01-04 15:56:32,799 - (cmp) 3972(MPCaptDevice-1) Received KeyboardInterrupt! Exiting Process 3972)
-INFO 2024-01-04 15:58:21,241 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 15:58:21,241 - BaseAD2CaptDevice(20368) Logger BaseAD2CaptDevice(20368) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 15:58:21,248 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 15:58:21,480 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 15:58:21,480 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 15:58:21,480 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 15:58:21,481 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 15:58:21,482 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 15:58:21,482 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 15:58:21,482 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO 2024-01-04 15:58:21,507 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-INFO Logger (cmp) 20924(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 20924(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 15:58:23,433 - 20924(MPCaptDevice) Logger 20924(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 20924(MPCaptDevice-1).)
-DEBUG set_child_log_level->20924 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 20924(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 15:58:23,444 - 20924(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 15:58:23,448 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 15:58:23,448 - (cmp) BaseAD2CaptDevice Function set_child_log_level->20924 returned None. No signal to emit.)
-INFO 2024-01-04 15:58:23,445 - 20924(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->20924 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 15:58:23,521 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->20924 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:01:15,736 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 16:01:15,736 - BaseAD2CaptDevice(35836) Logger BaseAD2CaptDevice(35836) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 16:01:15,742 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 16:01:15,972 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 16:01:15,972 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 16:01:15,972 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 16:01:15,973 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-INFO 2024-01-04 16:01:15,973 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 16:01:15,974 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 16:01:15,974 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 16:01:15,974 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 31668(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 31668(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 16:01:17,929 - 31668(MPCaptDevice) Logger 31668(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 31668(MPCaptDevice-1).)
-DEBUG set_child_log_level->31668 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 31668(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 16:01:17,941 - 31668(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 16:01:17,945 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:17,945 - (cmp) BaseAD2CaptDevice Function set_child_log_level->31668 returned None. No signal to emit.)
-INFO 2024-01-04 16:01:17,942 - 31668(MPCaptDevice) Discovering connected devices...)
-INFO 2024-01-04 16:01:17,947 - BaseAD2CaptDevice(35836) DWF Version returned: 3.21.3)
-DEBUG discover_connected_devices->31668 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 16:01:17,989 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->31668 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:01:17,990 - BaseAD2CaptDevice(35836) Discovered devices: 12)
-DEBUG 2024-01-04 16:01:17,992 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 16:01:17,993 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 16:01:17,993 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 31668(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 16:01:17,993 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:17,993 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:17,993 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->31668 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->31668 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 16:01:18,189 - 31668(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 16:01:18,192 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:18,193 - (cmp) BaseAD2CaptDevice Function device_state->31668 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:18,193 - (cmp) BaseAD2CaptDevice Function open_device->31668 returned 1. No signal to emit.)
-DEBUG 2024-01-04 16:01:18,193 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 16:01:18,201 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-DEBUG Setting ain_channels_changed!)
-DEBUG set_selected_device->31668 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-INFO 2024-01-04 16:01:18,201 - 31668(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 16:01:18,201 - 31668(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 16:01:18,207 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:18,207 - (cmp) BaseAD2CaptDevice Function set_selected_device->31668 returned None. No signal to emit.)
-WARNING 2024-01-04 16:01:25,689 - (cmp) BaseAD2CaptDevice Shutting down ProcessControl 35836. Reason: )
-ERROR Control Process exited. Terminating Process 31668)
-ERROR Process 31668 received kill signal!)
-WARNING Child process monitor MPCaptDevice ended.)
-ERROR 2024-01-04 16:01:26,254 - (cmp) 31668(MPCaptDevice-1) Control Process exited. Terminating Process 31668)
-ERROR 2024-01-04 16:01:26,254 - (cmp) 31668(MPCaptDevice-1) Process 31668 received kill signal!)
-WARNING 2024-01-04 16:01:26,254 - (cmp) 31668(MPCaptDevice-1) Child process monitor MPCaptDevice ended.)
-INFO 2024-01-04 16:01:27,279 - (cmp) BaseAD2CaptDevice Ended monitor thread. Child process alive: False)
-INFO 2024-01-04 16:01:55,809 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 16:01:55,809 - BaseAD2CaptDevice(38116) Logger BaseAD2CaptDevice(38116) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 16:01:55,814 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 16:01:56,043 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 16:01:56,043 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 16:01:56,043 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 16:01:56,044 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 16:01:56,044 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 16:01:56,045 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 16:01:56,045 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO 2024-01-04 16:01:56,055 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-INFO Logger (cmp) 38720(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 38720(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 16:01:57,862 - 38720(MPCaptDevice) Logger 38720(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 38720(MPCaptDevice-1).)
-DEBUG set_child_log_level->38720 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 38720(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 16:01:57,875 - 38720(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 16:01:57,879 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:57,880 - (cmp) BaseAD2CaptDevice Function set_child_log_level->38720 returned None. No signal to emit.)
-INFO 2024-01-04 16:01:57,876 - 38720(MPCaptDevice) Discovering connected devices...)
-INFO 2024-01-04 16:01:57,885 - BaseAD2CaptDevice(38116) DWF Version returned: 3.21.3)
-DEBUG discover_connected_devices->38720 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 16:01:57,926 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->38720 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:01:57,927 - BaseAD2CaptDevice(38116) Discovered devices: 12)
-DEBUG 2024-01-04 16:01:57,929 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 16:01:57,929 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 16:01:57,931 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 38720(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 16:01:57,931 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:57,931 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:57,932 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->38720 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->38720 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 16:01:58,124 - 38720(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 16:01:58,130 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:58,131 - (cmp) BaseAD2CaptDevice Function device_state->38720 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:58,131 - (cmp) BaseAD2CaptDevice Function open_device->38720 returned 1. No signal to emit.)
-DEBUG 2024-01-04 16:01:58,131 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG 2024-01-04 16:01:58,154 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-DEBUG set_selected_device->38720 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-INFO 2024-01-04 16:01:58,154 - 38720(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 16:01:58,154 - 38720(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 16:01:58,163 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:01:58,164 - (cmp) BaseAD2CaptDevice Function set_selected_device->38720 returned None. No signal to emit.)
-DEBUG 2024-01-04 16:02:04,435 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.open_device() -> open_device_finished(int))
-DEBUG 2024-01-04 16:02:04,435 - (cmp) BaseAD2CaptDevice Executing open_device with args () and kwargs {})
-DEBUG 2024-01-04 16:02:04,435 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_sample_rate(500))
-DEBUG 2024-01-04 16:02:04,435 - (cmp) BaseAD2CaptDevice Executing set_sample_rate with args (500,) and kwargs {})
-DEBUG 2024-01-04 16:02:04,435 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_sample_rate(500) put into cmd_queue.)
-DEBUG 2024-01-04 16:02:04,435 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_ain_channel(1))
-DEBUG 2024-01-04 16:02:04,435 - (cmp) BaseAD2CaptDevice Executing set_selected_ain_channel with args (1,) and kwargs {})
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_sample_rate(500), args: (500,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_sample_rate(500) in 38720(MPCaptDevice-1).)
-DEBUG Setting sample_rate_changed!)
-DEBUG set_sample_rate->38720 finished. No signal to emit.)
-DEBUG 2024-01-04 16:02:04,436 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_ain_channel(1) put into cmd_queue.)
-DEBUG Command Function <MPCaptDevice-1>.set_sample_rate(500) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_ain_channel(1), args: (1,), kwargs: {}, Signal to emit: None)
-DEBUG 2024-01-04 16:02:04,436 - (cmp) BaseAD2CaptDevice Function sample_rate returned 500. Emitting Signal sample_rate_changed(500) in BaseAD2CaptDevice.)
-INFO Executing Function <MPCaptDevice-1>.set_selected_ain_channel(1) in 38720(MPCaptDevice-1).)
-DEBUG Setting selected_ain_channel_changed!)
-DEBUG set_selected_ain_channel->38720 finished. No signal to emit.)
-DEBUG 2024-01-04 16:02:04,436 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.open_device() put into cmd_queue.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_ain_channel(1) finished.)
-DEBUG 2024-01-04 16:02:04,436 - (cmp) BaseAD2CaptDevice Function set_sample_rate->38720 returned None. No signal to emit.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.open_device(), args: (), kwargs: {}, Signal to emit: open_device_finished)
-INFO Executing Function <MPCaptDevice-1>.open_device() in 38720(MPCaptDevice-1).)
-DEBUG 2024-01-04 16:02:04,436 - (cmp) BaseAD2CaptDevice Function selected_ain_channel returned 1. Emitting Signal selected_ain_channel_changed(1) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:04,437 - (cmp) BaseAD2CaptDevice Function set_selected_ain_channel->38720 returned None. No signal to emit.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->38720 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->38720 finished. Emitting signal open_device_finished in control class.)
-DEBUG Command Function <MPCaptDevice-1>.open_device() finished.)
-INFO 2024-01-04 16:02:04,592 - 38720(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 16:02:04,596 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:04,596 - (cmp) BaseAD2CaptDevice Function device_state->38720 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:04,597 - (cmp) BaseAD2CaptDevice Function open_device->38720 returned 1. Emitting Signal open_device_finished(1) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:02:04,625 - BaseAD2CaptDevice(38116) Opening device finished with handle 1)
-DEBUG 2024-01-04 16:02:04,628 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.start_capturing_process() -> capture_process_state_changed(PyObject))
-DEBUG 2024-01-04 16:02:04,628 - (cmp) BaseAD2CaptDevice Executing start_capturing_process with args () and kwargs {})
-DEBUG 2024-01-04 16:02:04,628 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.start_capturing_process() put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.start_capturing_process(), args: (), kwargs: {}, Signal to emit: capture_process_state_changed)
-INFO Executing Function <MPCaptDevice-1>.start_capturing_process() in 38720(MPCaptDevice-1).)
-INFO Starting capture on channel 1 with rate 500 Hz.)
-DEBUG device_state->38720 finished. Emitting signal device_state_changed in control class.)
-INFO 2024-01-04 16:02:04,629 - 38720(MPCaptDevice) Starting capture on channel 1 with rate 500 Hz.)
-DEBUG 2024-01-04 16:02:04,632 - (cmp) BaseAD2CaptDevice Function device_state->38720 returned 5. Emitting Signal device_state_changed(5) in BaseAD2CaptDevice.)
-INFO [Task] Setup for acquisition on channel 1 with rate 500 Hz.)
-INFO [Task] Wait 2 seconds for the offset to stabilize.)
-INFO 2024-01-04 16:02:05,634 - 38720(MPCaptDevice) [Task] Setup for acquisition on channel 1 with rate 500 Hz.)
-INFO 2024-01-04 16:02:05,634 - 38720(MPCaptDevice) [Task] Wait 2 seconds for the offset to stabilize.)
-WARNING 2024-01-04 16:02:06,472 - (cmp) BaseAD2CaptDevice Shutting down ProcessControl 38116. Reason: )
-INFO [Task] Setup for acquisition done.)
-INFO 2024-01-04 16:02:07,635 - 38720(MPCaptDevice) [Task] Setup for acquisition done.)
-DEBUG device_state->38720 finished. Emitting signal device_state_changed in control class.)
-DEBUG Setting ready_for_recording_changed!)
-DEBUG 2024-01-04 16:02:09,636 - (cmp) BaseAD2CaptDevice Function device_state->38720 returned 6. Emitting Signal device_state_changed(6) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:09,637 - (cmp) BaseAD2CaptDevice Function ready_for_recording returned True. Emitting Signal ready_for_recording_changed(True) in BaseAD2CaptDevice.)
-WARNING Received KeyboardInterrupt! Exiting Process 38720)
-WARNING 2024-01-04 16:02:14,786 - (cmp) 38720(MPCaptDevice-1) Received KeyboardInterrupt! Exiting Process 38720)
-INFO 2024-01-04 16:02:19,577 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 16:02:19,577 - BaseAD2CaptDevice(2960) Logger BaseAD2CaptDevice(2960) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 16:02:19,583 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 16:02:19,813 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 16:02:19,813 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 16:02:19,813 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 16:02:19,814 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-INFO 2024-01-04 16:02:19,815 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 16:02:19,815 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 16:02:19,815 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 16:02:19,815 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 38736(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 38736(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 16:02:21,598 - 38736(MPCaptDevice) Logger 38736(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 38736(MPCaptDevice-1).)
-DEBUG set_child_log_level->38736 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 38736(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 16:02:21,610 - 38736(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 16:02:21,613 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:21,613 - (cmp) BaseAD2CaptDevice Function set_child_log_level->38736 returned None. No signal to emit.)
-INFO 2024-01-04 16:02:21,613 - BaseAD2CaptDevice(2960) DWF Version returned: 3.21.3)
-INFO 2024-01-04 16:02:21,610 - 38736(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->38736 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 16:02:21,658 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->38736 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:02:21,659 - BaseAD2CaptDevice(2960) Discovered devices: 12)
-DEBUG 2024-01-04 16:02:21,662 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 16:02:21,662 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 16:02:21,662 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 38736(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 16:02:21,663 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:21,663 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:21,663 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->38736 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->38736 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 16:02:21,809 - 38736(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 16:02:21,813 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:21,813 - (cmp) BaseAD2CaptDevice Function device_state->38736 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:21,814 - (cmp) BaseAD2CaptDevice Function open_device->38736 returned 1. No signal to emit.)
-DEBUG 2024-01-04 16:02:21,814 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG 2024-01-04 16:02:21,824 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-DEBUG set_selected_device->38736 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-INFO 2024-01-04 16:02:21,824 - 38736(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 16:02:21,824 - 38736(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 16:02:21,830 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:02:21,831 - (cmp) BaseAD2CaptDevice Function set_selected_device->38736 returned None. No signal to emit.)
-WARNING 2024-01-04 16:02:28,357 - (cmp) BaseAD2CaptDevice Shutting down ProcessControl 2960. Reason: )
-ERROR Control Process exited. Terminating Process 38736)
-ERROR Process 38736 received kill signal!)
-WARNING Child process monitor MPCaptDevice ended.)
-ERROR 2024-01-04 16:02:28,879 - (cmp) 38736(MPCaptDevice-1) Control Process exited. Terminating Process 38736)
-ERROR 2024-01-04 16:02:28,879 - (cmp) 38736(MPCaptDevice-1) Process 38736 received kill signal!)
-WARNING 2024-01-04 16:02:28,879 - (cmp) 38736(MPCaptDevice-1) Child process monitor MPCaptDevice ended.)
-INFO 2024-01-04 16:02:29,903 - (cmp) BaseAD2CaptDevice Ended monitor thread. Child process alive: False)
-INFO 2024-01-04 16:05:27,720 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 16:05:27,721 - BaseAD2CaptDevice(38432) Logger BaseAD2CaptDevice(38432) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 16:05:27,726 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 16:05:27,955 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 16:05:27,955 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 16:05:27,955 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 16:05:27,956 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-INFO 2024-01-04 16:05:27,956 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 16:05:27,957 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 16:05:27,957 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 16:05:27,957 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 36880(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 36880(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 16:05:29,688 - 36880(MPCaptDevice) Logger 36880(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 36880(MPCaptDevice-1).)
-DEBUG set_child_log_level->36880 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 36880(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 16:05:29,697 - 36880(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 16:05:29,701 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:29,701 - (cmp) BaseAD2CaptDevice Function set_child_log_level->36880 returned None. No signal to emit.)
-INFO 2024-01-04 16:05:29,702 - BaseAD2CaptDevice(38432) DWF Version returned: 3.21.3)
-INFO 2024-01-04 16:05:29,698 - 36880(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->36880 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 16:05:29,740 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->36880 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:05:29,741 - BaseAD2CaptDevice(38432) Discovered devices: 12)
-DEBUG 2024-01-04 16:05:29,746 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 16:05:29,746 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 16:05:29,746 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 36880(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 16:05:29,746 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:29,747 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:29,747 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->36880 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->36880 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 16:05:29,942 - 36880(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 16:05:29,946 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:29,946 - (cmp) BaseAD2CaptDevice Function device_state->36880 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:29,947 - (cmp) BaseAD2CaptDevice Function open_device->36880 returned 1. No signal to emit.)
-DEBUG 2024-01-04 16:05:29,947 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG set_selected_device->36880 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-DEBUG 2024-01-04 16:05:29,970 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:05:29,970 - 36880(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 16:05:29,970 - 36880(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 16:05:29,977 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:29,977 - (cmp) BaseAD2CaptDevice Function set_selected_device->36880 returned None. No signal to emit.)
-DEBUG 2024-01-04 16:05:36,900 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.open_device() -> open_device_finished(int))
-DEBUG 2024-01-04 16:05:36,901 - (cmp) BaseAD2CaptDevice Executing open_device with args () and kwargs {})
-DEBUG 2024-01-04 16:05:36,901 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_sample_rate(500))
-DEBUG 2024-01-04 16:05:36,901 - (cmp) BaseAD2CaptDevice Executing set_sample_rate with args (500,) and kwargs {})
-DEBUG 2024-01-04 16:05:36,901 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_sample_rate(500) put into cmd_queue.)
-DEBUG 2024-01-04 16:05:36,902 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_ain_channel(1))
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_sample_rate(500), args: (500,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_sample_rate(500) in 36880(MPCaptDevice-1).)
-DEBUG Setting sample_rate_changed!)
-DEBUG set_sample_rate->36880 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_sample_rate(500) finished.)
-DEBUG 2024-01-04 16:05:36,902 - (cmp) BaseAD2CaptDevice Executing set_selected_ain_channel with args (1,) and kwargs {})
-DEBUG 2024-01-04 16:05:36,902 - (cmp) BaseAD2CaptDevice Function sample_rate returned 500. Emitting Signal sample_rate_changed(500) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:36,902 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_ain_channel(1) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_ain_channel(1), args: (1,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_ain_channel(1) in 36880(MPCaptDevice-1).)
-DEBUG Setting selected_ain_channel_changed!)
-DEBUG 2024-01-04 16:05:36,902 - (cmp) BaseAD2CaptDevice Function set_sample_rate->36880 returned None. No signal to emit.)
-DEBUG set_selected_ain_channel->36880 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_ain_channel(1) finished.)
-DEBUG 2024-01-04 16:05:36,902 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.open_device() put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.open_device(), args: (), kwargs: {}, Signal to emit: open_device_finished)
-DEBUG 2024-01-04 16:05:36,903 - (cmp) BaseAD2CaptDevice Function selected_ain_channel returned 1. Emitting Signal selected_ain_channel_changed(1) in BaseAD2CaptDevice.)
-INFO Executing Function <MPCaptDevice-1>.open_device() in 36880(MPCaptDevice-1).)
-DEBUG 2024-01-04 16:05:36,903 - (cmp) BaseAD2CaptDevice Function set_selected_ain_channel->36880 returned None. No signal to emit.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->36880 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->36880 finished. Emitting signal open_device_finished in control class.)
-DEBUG Command Function <MPCaptDevice-1>.open_device() finished.)
-INFO 2024-01-04 16:05:37,058 - 36880(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 16:05:37,062 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:37,062 - (cmp) BaseAD2CaptDevice Function device_state->36880 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:37,063 - (cmp) BaseAD2CaptDevice Function open_device->36880 returned 1. Emitting Signal open_device_finished(1) in BaseAD2CaptDevice.)
-INFO 2024-01-04 16:05:37,091 - BaseAD2CaptDevice(38432) Opening device finished with handle 1)
-DEBUG 2024-01-04 16:05:37,094 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.start_capturing_process() -> capture_process_state_changed(PyObject))
-DEBUG 2024-01-04 16:05:37,094 - (cmp) BaseAD2CaptDevice Executing start_capturing_process with args () and kwargs {})
-DEBUG 2024-01-04 16:05:37,095 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.start_capturing_process() put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.start_capturing_process(), args: (), kwargs: {}, Signal to emit: capture_process_state_changed)
-INFO Executing Function <MPCaptDevice-1>.start_capturing_process() in 36880(MPCaptDevice-1).)
-INFO Starting capture on channel 1 with rate 500 Hz.)
-DEBUG device_state->36880 finished. Emitting signal device_state_changed in control class.)
-INFO 2024-01-04 16:05:37,095 - 36880(MPCaptDevice) Starting capture on channel 1 with rate 500 Hz.)
-DEBUG 2024-01-04 16:05:37,098 - (cmp) BaseAD2CaptDevice Function device_state->36880 returned 5. Emitting Signal device_state_changed(5) in BaseAD2CaptDevice.)
-INFO [Task] Setup for acquisition on channel 1 with rate 500 Hz.)
-INFO [Task] Wait 2 seconds for the offset to stabilize.)
-INFO 2024-01-04 16:05:38,100 - 36880(MPCaptDevice) [Task] Setup for acquisition on channel 1 with rate 500 Hz.)
-INFO 2024-01-04 16:05:38,101 - 36880(MPCaptDevice) [Task] Wait 2 seconds for the offset to stabilize.)
-WARNING 2024-01-04 16:05:38,993 - (cmp) BaseAD2CaptDevice Shutting down ProcessControl 38432. Reason: )
-INFO [Task] Setup for acquisition done.)
-INFO 2024-01-04 16:05:40,101 - 36880(MPCaptDevice) [Task] Setup for acquisition done.)
-DEBUG device_state->36880 finished. Emitting signal device_state_changed in control class.)
-DEBUG Setting ready_for_recording_changed!)
-DEBUG 2024-01-04 16:05:42,102 - (cmp) BaseAD2CaptDevice Function device_state->36880 returned 6. Emitting Signal device_state_changed(6) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 16:05:42,102 - (cmp) BaseAD2CaptDevice Function ready_for_recording returned True. Emitting Signal ready_for_recording_changed(True) in BaseAD2CaptDevice.)
-WARNING Received KeyboardInterrupt! Exiting Process 36880)
-WARNING 2024-01-04 17:41:45,964 - (cmp) 36880(MPCaptDevice-1) Received KeyboardInterrupt! Exiting Process 36880)
-INFO 2024-01-04 17:43:33,662 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 17:43:33,662 - BaseAD2CaptDevice(29216) Logger BaseAD2CaptDevice(29216) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 17:43:33,662 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-INFO 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 17:43:33,896 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 7648(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 7648(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 17:43:35,667 - 7648(MPCaptDevice) Logger 7648(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 7648(MPCaptDevice-1).)
-DEBUG set_child_log_level->7648 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 7648(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 17:43:35,683 - 7648(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 17:43:35,683 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:43:35,683 - (cmp) BaseAD2CaptDevice Function set_child_log_level->7648 returned None. No signal to emit.)
-INFO 2024-01-04 17:43:35,683 - BaseAD2CaptDevice(29216) DWF Version returned: 3.21.3)
-INFO 2024-01-04 17:43:35,683 - 7648(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->7648 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 17:43:35,731 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->7648 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 17:43:35,731 - BaseAD2CaptDevice(29216) Discovered devices: 12)
-DEBUG 2024-01-04 17:43:35,731 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 17:43:35,731 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 17:43:35,731 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 7648(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 17:43:35,731 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:43:35,731 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:43:35,731 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->7648 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->7648 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 17:43:35,895 - 7648(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 17:43:35,895 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:43:35,895 - (cmp) BaseAD2CaptDevice Function device_state->7648 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:43:35,895 - (cmp) BaseAD2CaptDevice Function open_device->7648 returned 1. No signal to emit.)
-DEBUG 2024-01-04 17:43:35,895 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG set_selected_device->7648 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-DEBUG 2024-01-04 17:43:35,927 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-INFO 2024-01-04 17:43:35,927 - 7648(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 17:43:35,927 - 7648(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 17:43:35,927 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:43:35,927 - (cmp) BaseAD2CaptDevice Function set_selected_device->7648 returned None. No signal to emit.)
-INFO 2024-01-04 17:51:09,945 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 17:51:09,945 - BaseAD2CaptDevice(15204) Logger BaseAD2CaptDevice(15204) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 17:51:09,952 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 17:51:10,188 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 17:51:10,188 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 17:51:10,189 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 17:51:10,189 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-INFO 2024-01-04 17:51:10,190 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 17:51:10,190 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 17:51:10,190 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 17:51:10,190 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 780(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 780(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 17:51:11,963 - 780(MPCaptDevice) Logger 780(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 780(MPCaptDevice-1).)
-DEBUG set_child_log_level->780 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 780(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 17:51:11,972 - 780(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 17:51:11,975 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:51:11,975 - (cmp) BaseAD2CaptDevice Function set_child_log_level->780 returned None. No signal to emit.)
-INFO 2024-01-04 17:51:11,975 - BaseAD2CaptDevice(15204) DWF Version returned: 3.21.3)
-INFO 2024-01-04 17:51:11,973 - 780(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->780 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 17:51:12,017 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->780 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 17:51:12,017 - BaseAD2CaptDevice(15204) Discovered devices: 12)
-DEBUG 2024-01-04 17:51:12,021 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 17:51:12,021 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 17:51:12,021 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 780(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 17:51:12,021 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:51:12,022 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:51:12,022 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->780 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->780 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 17:51:12,168 - 780(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 17:51:12,172 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:51:12,172 - (cmp) BaseAD2CaptDevice Function device_state->780 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:51:12,173 - (cmp) BaseAD2CaptDevice Function open_device->780 returned 1. No signal to emit.)
-DEBUG 2024-01-04 17:51:12,173 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG set_selected_device->780 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-DEBUG 2024-01-04 17:51:12,182 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-INFO 2024-01-04 17:51:12,182 - 780(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 17:51:12,182 - 780(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 17:51:12,188 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:51:12,189 - (cmp) BaseAD2CaptDevice Function set_selected_device->780 returned None. No signal to emit.)
-INFO 2024-01-04 17:53:59,006 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 17:53:59,006 - BaseAD2CaptDevice(12520) Logger BaseAD2CaptDevice(12520) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 17:53:59,013 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-INFO 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-DEBUG 2024-01-04 17:53:59,235 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 29432(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 29432(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 17:54:00,990 - 29432(MPCaptDevice) Logger 29432(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 29432(MPCaptDevice-1).)
-DEBUG set_child_log_level->29432 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 29432(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 17:54:01,006 - 29432(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 17:54:01,006 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:54:01,006 - (cmp) BaseAD2CaptDevice Function set_child_log_level->29432 returned None. No signal to emit.)
-INFO 2024-01-04 17:54:01,006 - BaseAD2CaptDevice(12520) DWF Version returned: 3.21.3)
-INFO 2024-01-04 17:54:01,006 - 29432(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->29432 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 17:54:01,052 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->29432 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 17:54:01,052 - BaseAD2CaptDevice(12520) Discovered devices: 12)
-DEBUG 2024-01-04 17:54:01,052 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 17:54:01,052 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 17:54:01,052 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 29432(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 17:54:01,052 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:54:01,052 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:54:01,052 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->29432 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->29432 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 17:54:01,242 - 29432(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 17:54:01,242 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:54:01,242 - (cmp) BaseAD2CaptDevice Function device_state->29432 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:54:01,242 - (cmp) BaseAD2CaptDevice Function open_device->29432 returned 1. No signal to emit.)
-DEBUG 2024-01-04 17:54:01,242 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG set_selected_device->29432 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-DEBUG 2024-01-04 17:54:01,258 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-INFO 2024-01-04 17:54:01,258 - 29432(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 17:54:01,258 - 29432(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 17:54:01,274 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:54:01,274 - (cmp) BaseAD2CaptDevice Function set_selected_device->29432 returned None. No signal to emit.)
-WARNING 2024-01-04 17:54:14,255 - (cmp) BaseAD2CaptDevice Shutting down ProcessControl 12520. Reason: )
-ERROR Control Process exited. Terminating Process 29432)
-ERROR Process 29432 received kill signal!)
-WARNING Child process monitor MPCaptDevice ended.)
-ERROR 2024-01-04 17:54:14,357 - (cmp) 29432(MPCaptDevice-1) Control Process exited. Terminating Process 29432)
-ERROR 2024-01-04 17:54:14,357 - (cmp) 29432(MPCaptDevice-1) Process 29432 received kill signal!)
-WARNING 2024-01-04 17:54:14,357 - (cmp) 29432(MPCaptDevice-1) Child process monitor MPCaptDevice ended.)
-INFO 2024-01-04 17:54:15,369 - (cmp) BaseAD2CaptDevice Ended monitor thread. Child process alive: False)
-INFO 2024-01-04 17:59:32,975 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 17:59:32,975 - BaseAD2CaptDevice(35452) Logger BaseAD2CaptDevice(35452) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 17:59:32,977 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-INFO 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 17:59:33,203 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 23404(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 23404(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 17:59:34,940 - 23404(MPCaptDevice) Logger 23404(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 23404(MPCaptDevice-1).)
-DEBUG set_child_log_level->23404 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 23404(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 17:59:34,949 - 23404(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 17:59:34,952 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 17:59:34,952 - (cmp) BaseAD2CaptDevice Function set_child_log_level->23404 returned None. No signal to emit.)
-INFO 2024-01-04 17:59:34,949 - 23404(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->23404 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 17:59:35,000 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->23404 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 17:59:59,101 - (cmp) BaseAD2CaptDevice Logger (cmp) BaseAD2CaptDevice created with (2) handlers and has been enabled (Level 30).)
-INFO 2024-01-04 17:59:59,101 - BaseAD2CaptDevice(7548) Logger BaseAD2CaptDevice(7548) created with (2) handlers and has been enabled (Level 10).)
-DEBUG 2024-01-04 17:59:59,101 - (cmp) BaseAD2CaptDevice Registering child process.)
-INFO 2024-01-04 17:59:59,338 - (cmp) BaseAD2CaptDevice Child process MPCaptDevice-1 created.)
-DEBUG 2024-01-04 17:59:59,338 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_child_log_level(20))
-DEBUG 2024-01-04 17:59:59,338 - (cmp) BaseAD2CaptDevice Executing set_child_log_level with args (20,) and kwargs {})
-DEBUG 2024-01-04 17:59:59,338 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_child_log_level(20) put into cmd_queue.)
-DEBUG 2024-01-04 17:59:59,343 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.discover_connected_devices() -> discovered_devices_changed(QVariantList))
-DEBUG 2024-01-04 17:59:59,343 - (cmp) BaseAD2CaptDevice Executing discover_connected_devices with args () and kwargs {})
-INFO 2024-01-04 17:59:59,343 - (cmp) BaseAD2CaptDevice Starting monitor thread.)
-DEBUG 2024-01-04 17:59:59,343 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.discover_connected_devices() put into cmd_queue.)
-INFO Logger (cmp) 30160(MPCaptDevice-1) created with (2) handlers and has been enabled (Level 30).)
-INFO Logger 30160(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Child process MPCaptDevice started.)
-INFO 2024-01-04 18:00:01,082 - 30160(MPCaptDevice) Logger 30160(MPCaptDevice) created with (2) handlers and has been enabled (Level 10).)
-DEBUG Getting DWF version information...)
-DEBUG Setting dwf_version_changed!)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_child_log_level(20), args: (20,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_child_log_level(20) in 30160(MPCaptDevice-1).)
-DEBUG set_child_log_level->30160 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_child_log_level(20) finished.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.discover_connected_devices(), args: (), kwargs: {}, Signal to emit: discovered_devices_changed)
-INFO Executing Function <MPCaptDevice-1>.discover_connected_devices() in 30160(MPCaptDevice-1).)
-INFO Discovering connected devices...)
-DEBUG 2024-01-04 18:00:01,090 - 30160(MPCaptDevice) Getting DWF version information...)
-DEBUG 2024-01-04 18:00:01,093 - (cmp) BaseAD2CaptDevice Function dwf_version returned 3.21.3. Emitting Signal dwf_version_changed('3.21.3') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 18:00:01,093 - (cmp) BaseAD2CaptDevice Function set_child_log_level->30160 returned None. No signal to emit.)
-INFO 2024-01-04 18:00:01,094 - BaseAD2CaptDevice(7548) DWF Version returned: 3.21.3)
-INFO 2024-01-04 18:00:01,091 - 30160(MPCaptDevice) Discovering connected devices...)
-DEBUG discover_connected_devices->30160 finished. Emitting signal discovered_devices_changed in control class.)
-DEBUG Command Function <MPCaptDevice-1>.discover_connected_devices() finished.)
-DEBUG 2024-01-04 18:00:01,179 - (cmp) BaseAD2CaptDevice Function discover_connected_devices->30160 returned [{'type': 'USB', 'device_id': 0, 'device_name': 'Analog Discovery 2', 'serial_number': '210321A80A7B'}, {'type': 'DEMO', 'device_id': 1, 'device_name': 'Analog Discovery Pro 3450', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 2, 'device_name': 'Analog Discovery Pro 3250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 3, 'device_name': 'Analog Discovery Pro 5250', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 4, 'device_name': 'Analog Discovery 3', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 5, 'device_name': 'Discovery Power Supply 3340', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 6, 'device_name': 'Analog Discovery 2', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 7, 'device_name': 'Analog Discovery Studio', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 8, 'device_name': 'Analog Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 9, 'device_name': 'Digital Discovery', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 10, 'device_name': 'Eclypse Z7', 'serial_number': 'DEMO'}, {'type': 'DEMO', 'device_id': 11, 'device_name': 'Electronics Explorer', 'serial_number': 'DEMO'}]. Emitting Signal discovered_devices_changed([{'type': ...: 'DEMO'}]) in BaseAD2CaptDevice.)
-INFO 2024-01-04 18:00:01,180 - BaseAD2CaptDevice(7548) Discovered devices: 12)
-DEBUG 2024-01-04 18:00:01,183 - (cmp) BaseAD2CaptDevice New function registered: Function <MPCaptDevice-1>.set_selected_device(0))
-DEBUG 2024-01-04 18:00:01,183 - (cmp) BaseAD2CaptDevice Executing set_selected_device with args (0,) and kwargs {})
-DEBUG 2024-01-04 18:00:01,184 - (cmp) BaseAD2CaptDevice Function <MPCaptDevice-1>.set_selected_device(0) put into cmd_queue.)
-DEBUG Received cmd: Function <MPCaptDevice-1>.set_selected_device(0), args: (0,), kwargs: {}, Signal to emit: None)
-INFO Executing Function <MPCaptDevice-1>.set_selected_device(0) in 30160(MPCaptDevice-1).)
-DEBUG Setting selected_device_index_changed!)
-DEBUG Setting device_name_changed!)
-DEBUG Setting device_serial_number_changed!)
-DEBUG 2024-01-04 18:00:01,184 - (cmp) BaseAD2CaptDevice Function selected_device_index returned 0. Emitting Signal selected_device_index_changed(0) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 18:00:01,184 - (cmp) BaseAD2CaptDevice Function device_name returned Analog Discovery 2. Emitting Signal device_name_changed('Analog Discovery 2') in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 18:00:01,185 - (cmp) BaseAD2CaptDevice Function device_serial_number returned 210321A80A7B. Emitting Signal device_serial_number_changed('210321A80A7B') in BaseAD2CaptDevice.)
-INFO Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG Setting device_connected_changed!)
-DEBUG device_state->30160 finished. Emitting signal device_state_changed in control class.)
-DEBUG open_device->30160 finished. No signal to emit.)
-DEBUG Setting ain_channels_changed!)
-INFO 2024-01-04 18:00:01,339 - 30160(MPCaptDevice) Device opened: Analog Discovery 2 (210321A80A7B))
-DEBUG 2024-01-04 18:00:01,343 - (cmp) BaseAD2CaptDevice Function connected returned True. Emitting Signal device_connected_changed(True) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 18:00:01,343 - (cmp) BaseAD2CaptDevice Function device_state->30160 returned 4. Emitting Signal device_state_changed(4) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 18:00:01,343 - (cmp) BaseAD2CaptDevice Function open_device->30160 returned 1. No signal to emit.)
-DEBUG 2024-01-04 18:00:01,343 - (cmp) BaseAD2CaptDevice Function ain_channels returned 2. Emitting Signal ain_channels_changed(2) in BaseAD2CaptDevice.)
-DEBUG Setting device_connected_changed!)
-INFO [Task] Device closed.)
-INFO Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG Setting ain_channels_changed!)
-DEBUG set_selected_device->30160 finished. No signal to emit.)
-DEBUG Command Function <MPCaptDevice-1>.set_selected_device(0) finished.)
-DEBUG 2024-01-04 18:00:01,352 - (cmp) BaseAD2CaptDevice Function connected returned False. Emitting Signal device_connected_changed(False) in BaseAD2CaptDevice.)
-INFO 2024-01-04 18:00:01,351 - 30160(MPCaptDevice) [Task] Device closed.)
-INFO 2024-01-04 18:00:01,351 - 30160(MPCaptDevice) Device Analog Discovery 2 (#0, SNR: 210321A80A7B) AIn: 2)
-DEBUG 2024-01-04 18:00:01,367 - (cmp) BaseAD2CaptDevice Function ain_channels returned [0, 1]. Emitting Signal ain_channels_changed([0, 1]) in BaseAD2CaptDevice.)
-DEBUG 2024-01-04 18:00:01,367 - (cmp) BaseAD2CaptDevice Function set_selected_device->30160 returned None. No signal to emit.)
diff --git a/src/FlexSensor/Prober/__init__.py b/src/FlexSensor/Prober/__init__.py
index 8dc2c303fdcfa863000d27b59aeecb7b3cdf4e14..95b5a7471c8a867464ba1c388ebea37539947c47 100644
--- a/src/FlexSensor/Prober/__init__.py
+++ b/src/FlexSensor/Prober/__init__.py
@@ -12,11 +12,18 @@ from .controller.ProberController import ProberController as Controller
from .controller.OpticalProbesPosition import OpticalProbesPosition as ProbePosition
if os.getenv("VELOX_SIM") == "TRUE":
- from .velox_api.simulator.VeloxSimulator import MessageServerInterface
- from .velox_api.simulator.VeloxSimulator import (MessageServerInterface, SetChuckHome, SetMapHome,
- ReadChuckPosition, ReadChuckHeights, MoveChuck,
- SnapImage, GetDieDataAsColRow, StepToDie,
- ReportKernelVersion)
+ try:
+ from .velox_api.simulator.VeloxSimulator import MessageServerInterface
+ from .velox_api.simulator.VeloxSimulator import (MessageServerInterface, SetChuckHome, SetMapHome,
+ ReadChuckPosition, ReadChuckHeights, MoveChuck,
+ SnapImage, GetDieDataAsColRow, StepToDie,
+ ReportKernelVersion)
+ except Exception as e:
+ from .velox_api.simulator.VeloxSimulator import MessageServerInterface
+ from .velox_api.simulator.VeloxSimulator import (MessageServerInterface, SetChuckHome, SetMapHome,
+ ReadChuckPosition, ReadChuckHeights, MoveChuck,
+ SnapImage, GetDieDataAsColRow, StepToDie,
+ ReportKernelVersion)
else:
try:
from .velox_api.velox.vxmessageserver import MessageServerInterface
diff --git a/src/FlexSensor/resources/resources/AD2ControlWindow.ui b/src/FlexSensor/resources/resources/AD2ControlWindow.ui
new file mode 100644
index 0000000000000000000000000000000000000000..1562af315f0ed2593fdd954ae25258a6ad4caac1
--- /dev/null
+++ b/src/FlexSensor/resources/resources/AD2ControlWindow.ui
@@ -0,0 +1,965 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>AD2ControlWindow</class>
+ <widget class="QMainWindow" name="AD2ControlWindow">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>646</width>
+ <height>765</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>MainWindow</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"/>
+ </property>
+ <widget class="QWidget" name="centralwidget">
+ <property name="styleSheet">
+ <string notr="true">/* /////////////////////////////////////////////////////////////////////////////////////////////////
+
+SET APP STYLESHEET - FULL STYLES HERE
+DARK THEME - DRACULA COLOR BASED
+
+///////////////////////////////////////////////////////////////////////////////////////////////// */
+QWidget{
+ background-color: rgb(40, 44, 52);
+ color: rgb(221, 221, 221);
+ font: 10pt "Segoe UI";
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+Tooltip */
+QToolTip {
+ color: #ffffff;
+ background-color: rgba(33, 37, 43, 180);
+ border: 1px solid rgb(44, 49, 58);
+ background-image: none;
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-left: 2px solid rgb(255, 121, 198);
+ text-align: left;
+ padding-left: 8px;
+ margin: 0px;
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+QTableWidget */
+QTableWidget {
+ background-color: transparent;
+ padding: 10px;
+ border-radius: 5px;
+ gridline-color: rgb(44, 49, 58);
+ border-bottom: 1px solid rgb(44, 49, 60);
+}
+QTableWidget::item{
+ border-color: rgb(44, 49, 60);
+ padding-left: 5px;
+ padding-right: 5px;
+ gridline-color: rgb(44, 49, 60);
+}
+QTableWidget::item:selected{
+ background-color: rgb(189, 147, 249);
+}
+QHeaderView::section{
+ background-color: rgb(33, 37, 43);
+ max-width: 30px;
+ border: 1px solid rgb(44, 49, 58);
+ border-style: none;
+ border-bottom: 1px solid rgb(44, 49, 60);
+ border-right: 1px solid rgb(44, 49, 60);
+}
+QTableWidget::horizontalHeader {
+ background-color: rgb(33, 37, 43);
+}
+QHeaderView::section:horizontal
+{
+ border: 1px solid rgb(33, 37, 43);
+ background-color: rgb(33, 37, 43);
+ padding: 3px;
+ border-top-left-radius: 7px;
+ border-top-right-radius: 7px;
+}
+QHeaderView::section:vertical
+{
+ border: 1px solid rgb(44, 49, 60);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+LineEdit */
+QLineEdit {
+ background-color: rgb(33, 37, 43);
+ border-radius: 5px;
+ border: 2px solid rgb(33, 37, 43);
+ padding-left: 10px;
+ selection-color: rgb(255, 255, 255);
+ selection-background-color: rgb(255, 121, 198);
+}
+QLineEdit:hover {
+ border: 2px solid rgb(64, 71, 88);
+}
+QLineEdit:focus {
+ border: 2px solid rgb(91, 101, 124);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+PlainTextEdit */
+QPlainTextEdit {
+ background-color: rgb(27, 29, 35);
+ border-radius: 5px;
+ padding: 10px;
+ selection-color: rgb(255, 255, 255);
+ selection-background-color: rgb(255, 121, 198);
+}
+QPlainTextEdit QScrollBar:vertical {
+ width: 8px;
+ }
+QPlainTextEdit QScrollBar:horizontal {
+ height: 8px;
+ }
+QPlainTextEdit:hover {
+ border: 2px solid rgb(64, 71, 88);
+}
+QPlainTextEdit:focus {
+ border: 2px solid rgb(91, 101, 124);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+ScrollBars */
+QScrollBar:horizontal {
+ border: none;
+ background: rgb(52, 59, 72);
+ height: 8px;
+ margin: 0px 21px 0 21px;
+ border-radius: 0px;
+}
+QScrollBar::handle:horizontal {
+ background: rgb(189, 147, 249);
+ min-width: 25px;
+ border-radius: 4px
+}
+QScrollBar::add-line:horizontal {
+ border: none;
+ background: rgb(55, 63, 77);
+ width: 20px;
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+ subcontrol-position: right;
+ subcontrol-origin: margin;
+}
+QScrollBar::sub-line:horizontal {
+ border: none;
+ background: rgb(55, 63, 77);
+ width: 20px;
+ border-top-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+ subcontrol-position: left;
+ subcontrol-origin: margin;
+}
+QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal
+{
+ background: none;
+}
+QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
+{
+ background: none;
+}
+ QScrollBar:vertical {
+ border: none;
+ background: rgb(52, 59, 72);
+ width: 8px;
+ margin: 21px 0 21px 0;
+ border-radius: 0px;
+ }
+ QScrollBar::handle:vertical {
+ background: rgb(189, 147, 249);
+ min-height: 25px;
+ border-radius: 4px
+ }
+ QScrollBar::add-line:vertical {
+ border: none;
+ background: rgb(55, 63, 77);
+ height: 20px;
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+ subcontrol-position: bottom;
+ subcontrol-origin: margin;
+ }
+ QScrollBar::sub-line:vertical {
+ border: none;
+ background: rgb(55, 63, 77);
+ height: 20px;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ subcontrol-position: top;
+ subcontrol-origin: margin;
+ }
+ QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
+ background: none;
+ }
+
+ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
+ background: none;
+ }
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+CheckBox */
+QCheckBox::indicator {
+ border: 3px solid rgb(52, 59, 72);
+ width: 15px;
+ height: 15px;
+ border-radius: 10px;
+ background: rgb(44, 49, 60);
+}
+QCheckBox::indicator:hover {
+ border: 3px solid rgb(58, 66, 81);
+}
+QCheckBox::indicator:checked {
+ background: 3px solid rgb(52, 59, 72);
+ border: 3px solid rgb(52, 59, 72);
+ background-image: url(:/icons/images/icons/cil-check-alt.png);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+RadioButton */
+QRadioButton::indicator {
+ border: 3px solid rgb(52, 59, 72);
+ width: 15px;
+ height: 15px;
+ border-radius: 10px;
+ background: rgb(44, 49, 60);
+}
+QRadioButton::indicator:hover {
+ border: 3px solid rgb(58, 66, 81);
+}
+QRadioButton::indicator:checked {
+ background: 3px solid rgb(94, 106, 130);
+ border: 3px solid rgb(52, 59, 72);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+ComboBox */
+QComboBox{
+ background-color: rgb(52, 59, 72);
+ border-radius: 2px;
+ border: 1px solid rgb(0, 0, 0);
+}
+QComboBox:hover{
+ border: 1px solid rgb(42, 175, 211);
+}
+QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 25px;
+ border-left-width: 2px;
+ border-left-color: rgba(39, 44, 54, 150);
+ border-left-style: solid;
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+ background-image: url(:/icons/icons/cil-arrow-bottom.png);
+ background-position: center;
+ background-repeat: no-reperat;
+ }
+QComboBox QAbstractItemView {
+ color: rgb(255, 121, 198);
+ background-color: rgb(33, 37, 43);
+ padding: 10px;
+ selection-background-color: rgb(39, 44, 54);
+}
+/*QComboBox QAbstractItemView::item {
+ min-height: 150px;
+}*/
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+Sliders */
+QSlider::groove:horizontal {
+ border-radius: 5px;
+ height: 10px;
+ margin: 0px;
+ background-color: rgb(52, 59, 72);
+}
+QSlider::groove:horizontal:hover {
+ background-color: rgb(55, 62, 76);
+}
+QSlider::handle:horizontal {
+ background-color: rgb(0, 0, 0);
+ border: 1px solid rgb(42, 175, 211);
+ height: 10px;
+ width: 8px;
+ margin: 0px;
+ border-radius: 5px;
+}
+QSlider::handle:horizontal:hover {
+ background-color: rgb(42, 141, 211);
+ border: none;
+ height: 10px;
+ width: 10px;
+ margin: 0px;
+ border-radius: 5px;
+}
+QSlider::handle:horizontal:pressed {
+ background-color: rgb(42, 141, 211);
+}
+
+QSlider::groove:vertical {
+ border-radius: 5px;
+ width: 10px;
+ margin: 0px;
+ background-color: rgb(52, 59, 72);
+}
+QSlider::groove:vertical:hover {
+ background-color: rgb(55, 62, 76);
+}
+QSlider::handle:vertical {
+ background-color: rgb(189, 147, 249);
+ border: none;
+ height: 10px;
+ width: 10px;
+ margin: 0px;
+ border-radius: 5px;
+}
+QSlider::handle:vertical:hover {
+ background-color: rgb(195, 155, 255);
+}
+QSlider::handle:vertical:pressed {
+ background-color: rgb(255, 121, 198);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+CommandLinkButton */
+QCommandLinkButton {
+ color: rgb(255, 121, 198);
+ border-radius: 5px;
+ padding: 5px;
+ color: rgb(255, 170, 255);
+}
+QCommandLinkButton:hover {
+ color: rgb(255, 170, 255);
+ background-color: rgb(44, 49, 60);
+}
+QCommandLinkButton:pressed {
+ color: rgb(189, 147, 249);
+ background-color: rgb(52, 58, 71);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+Button */
+QPushButton {
+ border: 1px solid rgb(42, 175, 211);
+ border-radius: 2px;
+ background-color: rgb(52, 59, 72);
+}
+QPushButton:hover {
+ border: 1px solid rgb(42, 141, 211);
+ border-radius: 2px;
+ background-color: rgb(42, 141, 211);
+}
+QPushButton:pressed {
+ border: 1px solid rgb(42, 141, 211);
+ border-radius: 2px;
+ background-color: rgb(35, 40, 49);
+}
+
+
+
+
+
+
+
+
+
+/* QMenu ------------------------------------------------------------------
+
+examples: https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
+
+--------------------------------------------------------------------------- */
+QMenu {
+ background-color: rgb(40, 44, 52);
+ margin: 2px; /* some spacing around the menu */
+}
+
+QMenu::item {
+ padding: 2px 25px 2px 20px;
+ border: 1px solid transparent; /* reserve space for selection border */
+}
+
+QMenu::item:selected {
+ border-color: darkblue;
+ background: rgba(100, 100, 100, 150);
+}
+
+QMenu::icon:checked { /* appearance of a 'checked' icon */
+ background: gray;
+ border: 1px inset gray;
+ position: absolute;
+ top: 1px;
+ right: 1px;
+ bottom: 1px;
+ left: 1px;
+}
+
+QMenu::separator {
+ height: 2px;
+ background: lightblue;
+ margin-left: 10px;
+ margin-right: 5px;
+}
+
+QMenu::indicator {
+ width: 13px;
+ height: 13px;
+}
+
+QTabWidget::pane {
+ border: 1px solid lightgray;
+ top:-1px;
+ background: rgb(40, 44, 52);
+}
+
+QTabBar::tab {
+ background: rgb(40, 44, 52);;
+ border: 1px solid lightgray;
+ padding: 2px;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+QTabBar::tab:selected {
+ background: rgb(189, 147, 249);
+ margin-bottom: -1px;
+}
+</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <widget class="QWidget" name="widget" native="true">
+ <layout class="QGridLayout" name="gridLayout_3">
+ <item row="0" column="0">
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="6" column="0" colspan="4">
+ <widget class="QFrame" name="gridFrame_2">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QGridLayout" name="grd_capturing_information">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetDefaultConstraint</enum>
+ </property>
+ <item row="6" column="0" colspan="4">
+ <widget class="QFrame" name="frame">
+ <property name="frameShape">
+ <enum>QFrame::HLine</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="lineWidth">
+ <number>5</number>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="4">
+ <widget class="QFrame" name="frame_2">
+ <property name="frameShape">
+ <enum>QFrame::HLine</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" colspan="4">
+ <widget class="QGroupBox" name="groupBox_2">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="title">
+ <string>AD2 Sample Information</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_10">
+ <property name="topMargin">
+ <number>3</number>
+ </property>
+ <property name="bottomMargin">
+ <number>5</number>
+ </property>
+ <item row="0" column="0">
+ <layout class="QGridLayout" name="gridLayout_9">
+ <item row="2" column="1">
+ <widget class="QLCDNumber" name="lcd_unconsumed_capture">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>20</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>Samples lost</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="3">
+ <widget class="QLCDNumber" name="lcd_samples_corrupted">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="segmentStyle">
+ <enum>QLCDNumber::Filled</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLCDNumber" name="lcd_samples_lost">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="segmentStyle">
+ <enum>QLCDNumber::Filled</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>Samples corrupted</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_8">
+ <property name="text">
+ <string>Uncons. Capture</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QLabel" name="label_9">
+ <property name="text">
+ <string>Uncons. Stream</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="3">
+ <widget class="QLCDNumber" name="lcd_unconsumed_stream">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>20</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" colspan="4">
+ <widget class="QFrame" name="frame_3">
+ <property name="frameShape">
+ <enum>QFrame::HLine</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLCDNumber" name="lcd_captured_samples">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="lineWidth">
+ <number>1</number>
+ </property>
+ <property name="midLineWidth">
+ <number>0</number>
+ </property>
+ <property name="digitCount">
+ <number>25</number>
+ </property>
+ <property name="segmentStyle">
+ <enum>QLCDNumber::Filled</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Current Captured Samples</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_10">
+ <property name="text">
+ <string>Total Captured Samples</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLCDNumber" name="lcd_total_captured_samples">
+ <property name="digitCount">
+ <number>25</number>
+ </property>
+ <property name="value" stdset="0">
+ <double>99999.000000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2" rowspan="2">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Sampled Time (s)</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="3" rowspan="2">
+ <widget class="QLCDNumber" name="lcd_sampled_time">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>32</height>
+ </size>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="digitCount">
+ <number>6</number>
+ </property>
+ <property name="mode">
+ <enum>QLCDNumber::Dec</enum>
+ </property>
+ <property name="segmentStyle">
+ <enum>QLCDNumber::Filled</enum>
+ </property>
+ <property name="value" stdset="0">
+ <double>1.423521000000000</double>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="3" column="0" colspan="2">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>History</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="0" colspan="4">
+ <layout class="QGridLayout" name="grd_plot"/>
+ </item>
+ <item row="2" column="0" colspan="2">
+ <widget class="QLabel" name="lbl_hz_acquisition">
+ <property name="text">
+ <string>Acquisition Rate</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" colspan="2">
+ <widget class="QComboBox" name="cb_device_select"/>
+ </item>
+ <item row="5" column="1" colspan="3">
+ <layout class="QGridLayout" name="grd_information"/>
+ </item>
+ <item row="1" column="3">
+ <widget class="QPushButton" name="btn_connect">
+ <property name="text">
+ <string>Connect</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="2" colspan="2">
+ <widget class="QComboBox" name="cb_duration_streaming_history"/>
+ </item>
+ <item row="0" column="2">
+ <widget class="QLabel" name="label_7">
+ <property name="text">
+ <string>Channel</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2" colspan="2">
+ <widget class="QSpinBox" name="sb_acquisition_rate">
+ <property name="suffix">
+ <string> Hz</string>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>999999999</number>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_6">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Device</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QFrame" name="verticalFrame">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_4">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetMinimumSize</enum>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item row="2" column="0">
+ <widget class="QFrame" name="verticalFrame_1">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetMinimumSize</enum>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="PlayPushButton" name="btn_start_capture">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>60</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>60</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QPushButton {
+ background-color: rgb(36, 209, 21);
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-radius: 0px;
+ border-left: 22px solid transparent;
+ text-align: left;
+ padding-left: 44px;
+ background-image: url(:/icons/icons/cil-media-play.png);
+}
+
+QPushButton:hover {
+ background-color: rgb(26, 153, 16);
+}
+
+QPushButton:pressed {
+ background-color: rgb(20, 120, 12);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:disabled {
+ background-color: rgb(153, 153, 153);
+ color: rgb(255, 255, 255);
+}
+</string>
+ </property>
+ <property name="text">
+ <string>Start Capture</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="PlayPushButton" name="btn_stop">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>60</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>60</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QPushButton {
+ background-color: rgb(242, 41, 41);
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-radius: 0px;
+ border-left: 22px solid transparent;
+ text-align: left;
+ padding-left: 44px;
+ background-image: url(:/icons/icons/cil-media-stop.png)
+}
+
+QPushButton:hover {
+ background-color: rgb(235, 64, 52);
+}
+
+QPushButton:pressed {
+ background-color: rgb(201, 17, 4);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:disabled {
+ background-color: rgb(153, 153, 153);
+ color: rgb(255, 255, 255);
+}
+</string>
+ </property>
+ <property name="text">
+ <string>PushButton</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QComboBox" name="cb_channel_select"/>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QMenuBar" name="menubar">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>646</width>
+ <height>22</height>
+ </rect>
+ </property>
+ </widget>
+ <widget class="QStatusBar" name="statusbar"/>
+ </widget>
+ <customwidgets>
+ <customwidget>
+ <class>PlayPushButton</class>
+ <extends>QPushButton</extends>
+ <header>fswidgets.h</header>
+ </customwidget>
+ </customwidgets>
+ <resources>
+ <include location="resources.qrc"/>
+ </resources>
+ <connections/>
+</ui>
diff --git a/src/FlexSensor/resources/resources/AD2ControlWindowNew.ui b/src/FlexSensor/resources/resources/AD2ControlWindowNew.ui
new file mode 100644
index 0000000000000000000000000000000000000000..b781c7bc7c393a46dd5b138e5e969ceab5251a10
--- /dev/null
+++ b/src/FlexSensor/resources/resources/AD2ControlWindowNew.ui
@@ -0,0 +1,1196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>AD2ControlWindowNew</class>
+ <widget class="QMainWindow" name="AD2ControlWindowNew">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>629</width>
+ <height>813</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>MainWindow</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"/>
+ </property>
+ <widget class="QWidget" name="centralwidget">
+ <property name="styleSheet">
+ <string notr="true">/* /////////////////////////////////////////////////////////////////////////////////////////////////
+
+SET APP STYLESHEET - FULL STYLES HERE
+DARK THEME - DRACULA COLOR BASED
+
+///////////////////////////////////////////////////////////////////////////////////////////////// */
+QWidget{
+ background-color: rgb(40, 44, 52);
+ color: rgb(221, 221, 221);
+ font: 10pt "Segoe UI";
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+Tooltip */
+QToolTip {
+ color: #ffffff;
+ background-color: rgba(33, 37, 43, 180);
+ border: 1px solid rgb(44, 49, 58);
+ background-image: none;
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-left: 2px solid rgb(255, 121, 198);
+ text-align: left;
+ padding-left: 8px;
+ margin: 0px;
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+QTableWidget */
+QTableWidget {
+ background-color: transparent;
+ padding: 10px;
+ border-radius: 5px;
+ gridline-color: rgb(44, 49, 58);
+ border-bottom: 1px solid rgb(44, 49, 60);
+}
+QTableWidget::item{
+ border-color: rgb(44, 49, 60);
+ padding-left: 5px;
+ padding-right: 5px;
+ gridline-color: rgb(44, 49, 60);
+}
+QTableWidget::item:selected{
+ background-color: rgb(189, 147, 249);
+}
+QHeaderView::section{
+ background-color: rgb(33, 37, 43);
+ max-width: 30px;
+ border: 1px solid rgb(44, 49, 58);
+ border-style: none;
+ border-bottom: 1px solid rgb(44, 49, 60);
+ border-right: 1px solid rgb(44, 49, 60);
+}
+QTableWidget::horizontalHeader {
+ background-color: rgb(33, 37, 43);
+}
+QHeaderView::section:horizontal
+{
+ border: 1px solid rgb(33, 37, 43);
+ background-color: rgb(33, 37, 43);
+ padding: 3px;
+ border-top-left-radius: 7px;
+ border-top-right-radius: 7px;
+}
+QHeaderView::section:vertical
+{
+ border: 1px solid rgb(44, 49, 60);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+LineEdit */
+QLineEdit {
+ background-color: rgb(33, 37, 43);
+ border-radius: 5px;
+ border: 2px solid rgb(33, 37, 43);
+ padding-left: 10px;
+ selection-color: rgb(255, 255, 255);
+ selection-background-color: rgb(255, 121, 198);
+}
+QLineEdit:hover {
+ border: 2px solid rgb(64, 71, 88);
+}
+QLineEdit:focus {
+ border: 2px solid rgb(91, 101, 124);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+PlainTextEdit */
+QPlainTextEdit {
+ background-color: rgb(27, 29, 35);
+ border-radius: 5px;
+ padding: 10px;
+ selection-color: rgb(255, 255, 255);
+ selection-background-color: rgb(255, 121, 198);
+}
+QPlainTextEdit QScrollBar:vertical {
+ width: 8px;
+ }
+QPlainTextEdit QScrollBar:horizontal {
+ height: 8px;
+ }
+QPlainTextEdit:hover {
+ border: 2px solid rgb(64, 71, 88);
+}
+QPlainTextEdit:focus {
+ border: 2px solid rgb(91, 101, 124);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+ScrollBars */
+QScrollBar:horizontal {
+ border: none;
+ background: rgb(52, 59, 72);
+ height: 8px;
+ margin: 0px 21px 0 21px;
+ border-radius: 0px;
+}
+QScrollBar::handle:horizontal {
+ background: rgb(189, 147, 249);
+ min-width: 25px;
+ border-radius: 4px
+}
+QScrollBar::add-line:horizontal {
+ border: none;
+ background: rgb(55, 63, 77);
+ width: 20px;
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+ subcontrol-position: right;
+ subcontrol-origin: margin;
+}
+QScrollBar::sub-line:horizontal {
+ border: none;
+ background: rgb(55, 63, 77);
+ width: 20px;
+ border-top-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+ subcontrol-position: left;
+ subcontrol-origin: margin;
+}
+QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal
+{
+ background: none;
+}
+QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
+{
+ background: none;
+}
+ QScrollBar:vertical {
+ border: none;
+ background: rgb(52, 59, 72);
+ width: 8px;
+ margin: 21px 0 21px 0;
+ border-radius: 0px;
+ }
+ QScrollBar::handle:vertical {
+ background: rgb(189, 147, 249);
+ min-height: 25px;
+ border-radius: 4px
+ }
+ QScrollBar::add-line:vertical {
+ border: none;
+ background: rgb(55, 63, 77);
+ height: 20px;
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+ subcontrol-position: bottom;
+ subcontrol-origin: margin;
+ }
+ QScrollBar::sub-line:vertical {
+ border: none;
+ background: rgb(55, 63, 77);
+ height: 20px;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ subcontrol-position: top;
+ subcontrol-origin: margin;
+ }
+ QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
+ background: none;
+ }
+
+ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
+ background: none;
+ }
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+CheckBox */
+QCheckBox::indicator {
+ border: 3px solid rgb(52, 59, 72);
+ width: 15px;
+ height: 15px;
+ border-radius: 10px;
+ background: rgb(44, 49, 60);
+}
+QCheckBox::indicator:hover {
+ border: 3px solid rgb(58, 66, 81);
+}
+QCheckBox::indicator:checked {
+ background: 3px solid rgb(52, 59, 72);
+ border: 3px solid rgb(52, 59, 72);
+ background-image: url(:/icons/images/icons/cil-check-alt.png);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+RadioButton */
+QRadioButton::indicator {
+ border: 3px solid rgb(52, 59, 72);
+ width: 15px;
+ height: 15px;
+ border-radius: 10px;
+ background: rgb(44, 49, 60);
+}
+QRadioButton::indicator:hover {
+ border: 3px solid rgb(58, 66, 81);
+}
+QRadioButton::indicator:checked {
+ background: 3px solid rgb(94, 106, 130);
+ border: 3px solid rgb(52, 59, 72);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+ComboBox */
+QComboBox{
+ background-color: rgb(52, 59, 72);
+ border-radius: 2px;
+ border: 1px solid rgb(0, 0, 0);
+}
+QComboBox:hover{
+ border: 1px solid rgb(42, 175, 211);
+}
+QComboBox::drop-down {
+ subcontrol-origin: padding;
+ subcontrol-position: top right;
+ width: 25px;
+ border-left-width: 2px;
+ border-left-color: rgba(39, 44, 54, 150);
+ border-left-style: solid;
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+ background-image: url(:/icons/icons/cil-arrow-bottom.png);
+ background-position: center;
+ background-repeat: no-reperat;
+ }
+QComboBox QAbstractItemView {
+ color: rgb(255, 121, 198);
+ background-color: rgb(33, 37, 43);
+ padding: 10px;
+ selection-background-color: rgb(39, 44, 54);
+}
+/*QComboBox QAbstractItemView::item {
+ min-height: 150px;
+}*/
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+Sliders */
+QSlider::groove:horizontal {
+ border-radius: 5px;
+ height: 10px;
+ margin: 0px;
+ background-color: rgb(52, 59, 72);
+}
+QSlider::groove:horizontal:hover {
+ background-color: rgb(55, 62, 76);
+}
+QSlider::handle:horizontal {
+ background-color: rgb(0, 0, 0);
+ border: 1px solid rgb(42, 175, 211);
+ height: 10px;
+ width: 8px;
+ margin: 0px;
+ border-radius: 5px;
+}
+QSlider::handle:horizontal:hover {
+ background-color: rgb(42, 141, 211);
+ border: none;
+ height: 10px;
+ width: 10px;
+ margin: 0px;
+ border-radius: 5px;
+}
+QSlider::handle:horizontal:pressed {
+ background-color: rgb(42, 141, 211);
+}
+
+QSlider::groove:vertical {
+ border-radius: 5px;
+ width: 10px;
+ margin: 0px;
+ background-color: rgb(52, 59, 72);
+}
+QSlider::groove:vertical:hover {
+ background-color: rgb(55, 62, 76);
+}
+QSlider::handle:vertical {
+ background-color: rgb(189, 147, 249);
+ border: none;
+ height: 10px;
+ width: 10px;
+ margin: 0px;
+ border-radius: 5px;
+}
+QSlider::handle:vertical:hover {
+ background-color: rgb(195, 155, 255);
+}
+QSlider::handle:vertical:pressed {
+ background-color: rgb(255, 121, 198);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+CommandLinkButton */
+QCommandLinkButton {
+ color: rgb(255, 121, 198);
+ border-radius: 5px;
+ padding: 5px;
+ color: rgb(255, 170, 255);
+}
+QCommandLinkButton:hover {
+ color: rgb(255, 170, 255);
+ background-color: rgb(44, 49, 60);
+}
+QCommandLinkButton:pressed {
+ color: rgb(189, 147, 249);
+ background-color: rgb(52, 58, 71);
+}
+
+/* /////////////////////////////////////////////////////////////////////////////////////////////////
+Button */
+QPushButton {
+ border: 1px solid rgb(42, 175, 211);
+ border-radius: 2px;
+ background-color: rgb(52, 59, 72);
+}
+QPushButton:hover {
+ border: 1px solid rgb(42, 141, 211);
+ border-radius: 2px;
+ background-color: rgb(42, 141, 211);
+}
+QPushButton:pressed {
+ border: 1px solid rgb(42, 141, 211);
+ border-radius: 2px;
+ background-color: rgb(35, 40, 49);
+}
+
+
+
+
+
+
+
+
+
+/* QMenu ------------------------------------------------------------------
+
+examples: https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
+
+--------------------------------------------------------------------------- */
+QMenu {
+ background-color: rgb(40, 44, 52);
+ margin: 2px; /* some spacing around the menu */
+}
+
+QMenu::item {
+ padding: 2px 25px 2px 20px;
+ border: 1px solid transparent; /* reserve space for selection border */
+}
+
+QMenu::item:selected {
+ border-color: darkblue;
+ background: rgba(100, 100, 100, 150);
+}
+
+QMenu::icon:checked { /* appearance of a 'checked' icon */
+ background: gray;
+ border: 1px inset gray;
+ position: absolute;
+ top: 1px;
+ right: 1px;
+ bottom: 1px;
+ left: 1px;
+}
+
+QMenu::separator {
+ height: 2px;
+ background: lightblue;
+ margin-left: 10px;
+ margin-right: 5px;
+}
+
+QMenu::indicator {
+ width: 13px;
+ height: 13px;
+}
+
+QTabWidget::pane {
+ border: 1px solid lightgray;
+ top:-1px;
+ background: rgb(40, 44, 52);
+}
+
+QTabBar::tab {
+ background: rgb(40, 44, 52);;
+ border: 1px solid lightgray;
+ padding: 2px;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+QTabBar::tab:selected {
+ background: rgb(189, 147, 249);
+ margin-bottom: -1px;
+}
+</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="3" column="0">
+ <layout class="QGridLayout" name="grd_information"/>
+ </item>
+ <item row="0" column="0">
+ <widget class="QFrame" name="contentTopBg">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>50</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_6">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>10</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QFrame" name="vl_header">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_7">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QFrame" name="verticalFrame">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QFormLayout" name="formLayout">
+ <property name="horizontalSpacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item row="1" column="0">
+ <widget class="QFrame" name="menuBar">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_8" stretch="0,0,0">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetDefaultConstraint</enum>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QToolButton" name="menu_file">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>10</pointsize>
+ <italic>false</italic>
+ <bold>false</bold>
+ <kerning>true</kerning>
+ </font>
+ </property>
+ <property name="mouseTracking">
+ <bool>true</bool>
+ </property>
+ <property name="layoutDirection">
+ <enum>Qt::LeftToRight</enum>
+ </property>
+ <property name="autoFillBackground">
+ <bool>false</bool>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"/>
+ </property>
+ <property name="text">
+ <string>File</string>
+ </property>
+ <property name="checkable">
+ <bool>false</bool>
+ </property>
+ <property name="popupMode">
+ <enum>QToolButton::InstantPopup</enum>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextOnly</enum>
+ </property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="menu_edit">
+ <property name="text">
+ <string>Edit</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="menu_run">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"/>
+ </property>
+ <property name="text">
+ <string>Run</string>
+ </property>
+ <property name="popupMode">
+ <enum>QToolButton::InstantPopup</enum>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextOnly</enum>
+ </property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="titleRight">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>45</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>10</pointsize>
+ <italic>false</italic>
+ <bold>false</bold>
+ </font>
+ </property>
+ <property name="text">
+ <string>FlexSensor 6</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="QFrame" name="grd_device_connect">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>350</width>
+ <height>44</height>
+ </size>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_4">
+ <item row="2" column="3">
+ <widget class="QComboBox" name="cb_channel_select">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>22</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" rowspan="2">
+ <widget class="QFrame" name="sep1">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::VLine</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QComboBox" name="cb_device_select">
+ <property name="minimumSize">
+ <size>
+ <width>200</width>
+ <height>22</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="2" colspan="2">
+ <widget class="QPushButton" name="btn_connect">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Connect</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QFrame" name="grd_controls">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_3">
+ <item row="0" column="1">
+ <widget class="QLabel" name="lbl_acquisition_rate">
+ <property name="text">
+ <string>Acquisition Rate</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QSpinBox" name="sb_acquisition_rate">
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>999999999</number>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QComboBox" name="cb_streaming_history"/>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="lbl_streaming_history">
+ <property name="text">
+ <string>Streaming History</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" rowspan="2">
+ <widget class="QFrame" name="horizontalFrame">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetMaximumSize</enum>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QPushButton" name="btn_play">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">/*Play Button*/
+QPushButton {
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-radius: 0px;
+ text-align: center;
+}
+
+QPushButton:hover {
+ background-color: rgb(47, 104, 57);
+}
+
+QPushButton:pressed {
+ background-color: rgb(44, 134, 46);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:disabled {
+ background-color: rgb(153, 153, 153);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:checked {
+ background-color: rgb(49, 89, 62);
+ color: rgb(255, 255, 255);
+}
+</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normalon>:/icons-svg/icons-svg/cil-media-play.svg</normalon>
+ </iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ <property name="autoExclusive">
+ <bool>false</bool>
+ </property>
+ <property name="default">
+ <bool>false</bool>
+ </property>
+ <property name="flat">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="btn_stop">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">/* Stop Button*/
+
+QPushButton {
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-radius: 0px;
+ text-align: center;
+ icon: url(:/icons-svg/icons-svg/cil-media-stop.svg);
+ icon-size: 16px 16px;
+}
+
+QPushButton:hover {
+ background-color: rgb(113, 41, 50);
+}
+
+QPushButton:pressed {
+ background-color: rgb(154, 29, 36);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:disabled {
+ background-color: rgb(153, 153, 153);
+ color: rgb(255, 255, 255);
+}
+</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="resources.qrc">
+ <normaloff>:/icons-svg/icons-svg/cil-media-stop.svg</normaloff>:/icons-svg/icons-svg/cil-media-stop.svg</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="btn_pause">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QPushButton {
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-radius: 0px;
+ text-align: center;
+ icon: url(:/icons-svg/icons-svg/cil-media-pause.svg);
+ icon-size: 16px 16px;
+}
+
+QPushButton:hover {
+ background-color: rgb(113, 105, 50);
+}
+
+QPushButton:pressed {
+ background-color: rgb(154, 136, 36);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:disabled {
+ background-color: rgb(153, 153, 153);
+ color: rgb(255, 255, 255);
+}
+</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="resources.qrc">
+ <normaloff>:/icons-svg/icons-svg/cil-media-pause.svg</normaloff>:/icons-svg/icons-svg/cil-media-pause.svg</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QFrame" name="sep2">
+ <property name="styleSheet">
+ <string notr="true">QFrame[frameShape="5"] /* QFrame::VLine == 0x0005 */
+{
+ color: green;
+ background-color: green;
+}</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::VLine</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="btn_record">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="baseSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QPushButton {
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-radius: 0px;
+ text-align: center;
+ icon: url(:/icons-svg/icons-svg/cil-media-record.svg);
+ icon-size: 16px 16px;
+}
+
+QPushButton:hover {
+ background-color: rgb(113, 41, 50);
+}
+
+QPushButton:pressed {
+ background-color: rgb(154, 29, 36);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:disabled {
+ background-color: rgb(153, 153, 153);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:checked {
+ background-color: rgb(78, 47, 58);
+ icon: url(:/single-color/icons-svg/single_color/cil-media-play.svg);
+ background-color: rgb(183, 0, 0);
+}
+</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="resources.qrc">
+ <normaloff>:/icons-svg/icons-svg/cil-media-record.svg</normaloff>
+ <selectedon>:/single-color/icons-svg/single_color/cil-media-play.svg</selectedon>:/icons-svg/icons-svg/cil-media-record.svg</iconset>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="btn_reset">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="baseSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QPushButton {
+ background-position: left center;
+ background-repeat: no-repeat;
+ border: none;
+ border-radius: 0px;
+ text-align: center;
+ icon: url(:/icons-svg/icons-svg/cil-reload.svg);
+ icon-size: 16px 16px;
+}
+
+QPushButton:hover {
+ background-color: rgb(113, 41, 50);
+}
+
+QPushButton:pressed {
+ background-color: rgb(154, 29, 36);
+ color: rgb(255, 255, 255);
+}
+
+QPushButton:disabled {
+ background-color: rgb(153, 153, 153);
+ color: rgb(255, 255, 255);
+}
+</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <layout class="QGridLayout" name="grd_plot"/>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QMenuBar" name="menubar">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>629</width>
+ <height>22</height>
+ </rect>
+ </property>
+ </widget>
+ </widget>
+ <resources>
+ <include location="resources.qrc"/>
+ </resources>
+ <connections/>
+</ui>