quarchpy 2.2.8__py2.py3-none-any.whl → 2.2.9.dev1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- quarchpy/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/__pycache__/_version.cpython-311.pyc +0 -0
- quarchpy/__pycache__/_version.cpython-313.pyc +0 -0
- quarchpy/__pycache__/connection.cpython-311.pyc +0 -0
- quarchpy/__pycache__/connection.cpython-313.pyc +0 -0
- quarchpy/_version.py +1 -1
- quarchpy/config_files/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/config_files/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/config_files/__pycache__/quarch_config_parser.cpython-311.pyc +0 -0
- quarchpy/config_files/__pycache__/quarch_config_parser.cpython-313.pyc +0 -0
- quarchpy/connection_specific/QPS/win-amd64/License/Netty-license.txt +143 -0
- quarchpy/connection_specific/QPS/win-amd64/{3rdPartyLicenses/argparse4j-LICENSE.txt → License/argparse4j-license.txt} +25 -23
- quarchpy/connection_specific/QPS/win-amd64/License/controlsfx-license.txt +26 -0
- quarchpy/connection_specific/QPS/win-amd64/License/usb4java-license.txt +167 -0
- quarchpy/connection_specific/QPS/win-amd64/app.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/launchQPSJ21.bat +4 -0
- quarchpy/connection_specific/QPS/win-amd64/launchQPSJ21.sh +4 -0
- quarchpy/connection_specific/QPS/win-amd64/qis/qis.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qis/qis_lib/CInterface-2.3.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qis/qis_lib/CInterface-2.5.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qis/qis_lib/QuarchCommon-2.0.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qis/qis_lib/{TorridonCommon-1.1.jar → TorridonCommon-1.0.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qis/qis_lib/TorridonCommon-1.3.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qis/qis_lib/usb4java-1.3.1.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps-command-reference.html +104 -104
- quarchpy/connection_specific/QPS/win-amd64/qps.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/JFXUtilities-1.0.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/QuarchCommon-2.0.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-x64/{javafx-base-21.0.6-linux.jar → javafx-base-21.0.5-linux.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-x64/{javafx-controls-21.0.6-linux.jar → javafx-controls-21.0.5-linux.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-x64/{javafx-fxml-21.0.6-linux.jar → javafx-fxml-21.0.5-linux.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-x64/{javafx-graphics-21.0.6-linux.jar → javafx-graphics-21.0.5-linux.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-x64/{javafx-swing-21.0.6-linux.jar → javafx-swing-21.0.5-linux.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/{mac-x64/javafx-base-21.0.6-mac.jar → mac-arm64/javafx-base-21.0.5-mac-aarch64.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/mac-arm64/{javafx-controls-21.0.6-mac-aarch64.jar → javafx-controls-21.0.5-mac-aarch64.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/{mac-x64/javafx-fxml-21.0.6-mac.jar → mac-arm64/javafx-fxml-21.0.5-mac-aarch64.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/mac-arm64/{javafx-graphics-21.0.6-mac-aarch64.jar → javafx-graphics-21.0.5-mac-aarch64.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/{mac-x64/javafx-swing-21.0.6-mac.jar → mac-arm64/javafx-swing-21.0.5-mac-aarch64.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/{mac-arm64/javafx-base-21.0.6-mac-aarch64.jar → mac-x64/javafx-base-21.0.5-mac.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/mac-x64/{javafx-controls-21.0.6-mac.jar → javafx-controls-21.0.5-mac.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/{mac-arm64/javafx-fxml-21.0.6-mac-aarch64.jar → mac-x64/javafx-fxml-21.0.5-mac.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/mac-x64/{javafx-graphics-21.0.6-mac.jar → javafx-graphics-21.0.5-mac.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/{mac-arm64/javafx-swing-21.0.6-mac-aarch64.jar → mac-x64/javafx-swing-21.0.5-mac.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/win-x64/{javafx-base-21.0.6-win.jar → javafx-base-21.0.5-win.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/win-x64/{javafx-controls-21.0.6-win.jar → javafx-controls-21.0.5-win.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/win-x64/{javafx-fxml-21.0.6-win.jar → javafx-fxml-21.0.5-win.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/win-x64/{javafx-graphics-21.0.6-win.jar → javafx-graphics-21.0.5-win.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/win-x64/{javafx-swing-21.0.6-win.jar → javafx-swing-21.0.5-win.jar} +0 -0
- quarchpy/connection_specific/QPS/win-amd64/scriptCommands.txt +4 -4
- quarchpy/connection_specific/QPS/win-amd64/whats-new.txt +12 -20
- quarchpy/connection_specific/__pycache__/StreamChannels.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/StreamChannels.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QIS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QIS.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QPS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_QPS.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_ReST.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_ReST.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_Serial.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_Serial.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_TCP.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_TCP.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_USB.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/connection_USB.cpython-313.pyc +0 -0
- quarchpy/connection_specific/__pycache__/mDNS.cpython-311.pyc +0 -0
- quarchpy/connection_specific/__pycache__/mDNS.cpython-313.pyc +0 -0
- quarchpy/connection_specific/jdk_j21_jres/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/jdk_j21_jres/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/connection_specific/jdk_j21_jres/__pycache__/fix_permissions.cpython-311.pyc +0 -0
- quarchpy/connection_specific/jdk_j21_jres/__pycache__/fix_permissions.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialutil.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialutil.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialwin32.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/serialwin32.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/win32.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/__pycache__/win32.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_common.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_common.cpython-313.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_windows.cpython-311.pyc +0 -0
- quarchpy/connection_specific/serial/tools/__pycache__/list_ports_windows.cpython-313.pyc +0 -0
- quarchpy/connection_specific/usb_libs/__pycache__/libusb1.cpython-311.pyc +0 -0
- quarchpy/connection_specific/usb_libs/__pycache__/usb1.cpython-311.pyc +0 -0
- quarchpy/connection_specific/usb_libs/usb1.py +2360 -2360
- quarchpy/debug/SystemTest.py +8 -1
- quarchpy/debug/__pycache__/SystemTest.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/SystemTest.cpython-313.pyc +0 -0
- quarchpy/debug/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/debug/__pycache__/module_debug.cpython-313.pyc +0 -0
- quarchpy/debug/__pycache__/simple_terminal.cpython-313.pyc +0 -0
- quarchpy/debug/__pycache__/upgrade_quarchpy.cpython-313.pyc +0 -0
- quarchpy/debug/__pycache__/versionCompare.cpython-311.pyc +0 -0
- quarchpy/debug/__pycache__/versionCompare.cpython-313.pyc +0 -0
- quarchpy/device/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/device/__pycache__/device.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/device.cpython-313.pyc +0 -0
- quarchpy/device/__pycache__/quarchArray.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchArray.cpython-313.pyc +0 -0
- quarchpy/device/__pycache__/quarchPPM.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchPPM.cpython-313.pyc +0 -0
- quarchpy/device/__pycache__/quarchQPS.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/quarchQPS.cpython-313.pyc +0 -0
- quarchpy/device/__pycache__/scanDevices.cpython-311.pyc +0 -0
- quarchpy/device/__pycache__/scanDevices.cpython-313.pyc +0 -0
- quarchpy/device/quarchQPS.py +20 -17
- quarchpy/disk_test/__pycache__/AbsDiskFinder.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/AbsDiskFinder.cpython-313.pyc +0 -0
- quarchpy/disk_test/__pycache__/DiskTargetSelection.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/DiskTargetSelection.cpython-313.pyc +0 -0
- quarchpy/disk_test/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/disk_test/__pycache__/iometerDiskFinder.cpython-311.pyc +0 -0
- quarchpy/disk_test/__pycache__/iometerDiskFinder.cpython-313.pyc +0 -0
- quarchpy/docs/Makefile +20 -20
- quarchpy/docs/_build/html/_static/custom.css +1 -1
- quarchpy/docs/_build/html/_static/doctools.js +149 -149
- quarchpy/docs/_build/html/_static/jquery-3.4.1.js +10598 -10598
- quarchpy/docs/_build/html/_static/jquery.js +2 -2
- quarchpy/docs/_build/html/_static/searchtools.js +632 -632
- quarchpy/docs/_build/html/_static/sphinx_highlight.js +154 -154
- quarchpy/docs/_build/html/_static/underscore-1.3.1.js +999 -999
- quarchpy/docs/_build/html/_static/underscore.js +5 -5
- quarchpy/fio/HIDEtest_performance_class.py +1 -1
- quarchpy/fio/__pycache__/FIO_interface.cpython-311.pyc +0 -0
- quarchpy/fio/__pycache__/FIO_interface.cpython-313.pyc +0 -0
- quarchpy/fio/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/fio/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/iometer/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/iometer/__pycache__/gen_iometer_template.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/gen_iometer_template.cpython-313.pyc +0 -0
- quarchpy/iometer/__pycache__/iometerFuncs.cpython-311.pyc +0 -0
- quarchpy/iometer/__pycache__/iometerFuncs.cpython-313.pyc +0 -0
- quarchpy/qis/__pycache__/StreamHeaderInfo.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/StreamHeaderInfo.cpython-313.pyc +0 -0
- quarchpy/qis/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/qis/__pycache__/qisFuncs.cpython-311.pyc +0 -0
- quarchpy/qis/__pycache__/qisFuncs.cpython-313.pyc +0 -0
- quarchpy/qis/qisFuncs.py +2 -0
- quarchpy/qps/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/qps/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/qps/__pycache__/qpsFuncs.cpython-311.pyc +0 -0
- quarchpy/qps/__pycache__/qpsFuncs.cpython-313.pyc +0 -0
- quarchpy/user_interface/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/user_interface/__pycache__/__init__.cpython-313.pyc +0 -0
- quarchpy/user_interface/__pycache__/user_interface.cpython-311.pyc +0 -0
- quarchpy/user_interface/__pycache__/user_interface.cpython-313.pyc +0 -0
- quarchpy/utilities/__pycache__/TestCenter.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/TestCenter.cpython-313.pyc +0 -0
- quarchpy/utilities/__pycache__/TimeValue.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/TimeValue.cpython-313.pyc +0 -0
- quarchpy/utilities/__pycache__/Version.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/Version.cpython-313.pyc +0 -0
- quarchpy/utilities/__pycache__/__init__.cpython-311.pyc +0 -0
- quarchpy/utilities/__pycache__/__init__.cpython-313.pyc +0 -0
- {quarchpy-2.2.8.dist-info → quarchpy-2.2.9.dev1.dist-info}/METADATA +3 -12
- {quarchpy-2.2.8.dist-info → quarchpy-2.2.9.dev1.dist-info}/RECORD +174 -77
- {quarchpy-2.2.8.dist-info → quarchpy-2.2.9.dev1.dist-info}/WHEEL +1 -1
- quarchpy/connection_specific/QPS/win-amd64/3rdPartyLicenses/com.sun.istack-license.html +0 -59
- quarchpy/connection_specific/QPS/win-amd64/3rdPartyLicenses/commons-io-LICENSE-2.0.txt +0 -202
- quarchpy/connection_specific/QPS/win-amd64/3rdPartyLicenses/controlsfx-license.txt +0 -29
- quarchpy/connection_specific/QPS/win-amd64/3rdPartyLicenses/jakarta.activation-license.html +0 -59
- quarchpy/connection_specific/QPS/win-amd64/3rdPartyLicenses/jakarta.xml.bind-api-license.html +0 -59
- quarchpy/connection_specific/QPS/win-amd64/3rdPartyLicenses/netty-LICENSE.txt +0 -202
- quarchpy/connection_specific/QPS/win-amd64/3rdPartyLicenses/netty-NOTICE.txt +0 -239
- quarchpy/connection_specific/QPS/win-amd64/InstallType.dat +0 -1
- quarchpy/connection_specific/QPS/win-amd64/app.properties +0 -6
- quarchpy/connection_specific/QPS/win-amd64/license.txt +0 -1
- quarchpy/connection_specific/QPS/win-amd64/qis/qis_lib/jmdns-3.5.9.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/commons-io-2.18.0.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-arm64/javafx-base-21.0.6-linux-aarch64.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-arm64/javafx-controls-21.0.6-linux-aarch64.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-arm64/javafx-fxml-21.0.6-linux-aarch64.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-arm64/javafx-graphics-21.0.6-linux-aarch64.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/lin-arm64/javafx-swing-21.0.6-linux-aarch64.jar +0 -0
- quarchpy/connection_specific/QPS/win-amd64/qps_lib/qutils-1.0.jar +0 -0
- quarchpy/fio_tests_file.fio +0 -1
- quarchpy/tests/test_device/test_scanDevices.py +0 -21
- quarchpy/utilities/utils.py +0 -64
- /quarchpy/connection_specific/QPS/win-amd64/DeviceConfig/{QTL1995-02.xml → QTL1995-02.XML} +0 -0
- /quarchpy/connection_specific/QPS/win-amd64/DeviceConfig/{QTL1999-02.xml → QTL1999-02.XML} +0 -0
- /quarchpy/connection_specific/QPS/win-amd64/DeviceConfig/{QTL2312-01.xml → QTL2312-01.XML} +0 -0
- /quarchpy/connection_specific/QPS/win-amd64/{3rdPartyLicenses → License}/Material-Icons-license.txt +0 -0
- {quarchpy-2.2.8.dist-info → quarchpy-2.2.9.dev1.dist-info}/top_level.txt +0 -0
quarchpy/debug/SystemTest.py
CHANGED
@@ -108,7 +108,14 @@ def QuarchSimpleIdentify(device1):
|
|
108
108
|
print("")
|
109
109
|
# Print the module identify and version information
|
110
110
|
print("Module Identity Information: ")
|
111
|
-
|
111
|
+
idn_info = device1.sendCommand("*idn?")
|
112
|
+
print(idn_info)
|
113
|
+
if "fixture" in idn_info.lower():
|
114
|
+
print("\nFixture Identity Information: ")
|
115
|
+
|
116
|
+
fixture_info = device1.sendCommand("fix idn?")
|
117
|
+
print(fixture_info)
|
118
|
+
|
112
119
|
|
113
120
|
|
114
121
|
def get_QIS_version():
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
quarchpy/device/quarchQPS.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
from quarchpy.device import quarchDevice
|
2
2
|
from quarchpy.utilities.Version import Version
|
3
3
|
from quarchpy.user_interface.user_interface import requestDialog
|
4
|
-
from quarchpy.utilities.utils import check_stream_stopped_status, check_export_status
|
4
|
+
#from quarchpy.utilities.utils import check_stream_stopped_status, check_export_status
|
5
5
|
|
6
6
|
import os, time, datetime, sys, logging
|
7
7
|
|
@@ -134,11 +134,12 @@ class quarchStream:
|
|
134
134
|
if command_response.startswith("Fail"):
|
135
135
|
raise Exception(command_response)
|
136
136
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
137
|
+
#UNCOMMENT
|
138
|
+
# if poll_till_complete:
|
139
|
+
# is_exporting = check_export_status(self.get_stats_export_status())
|
140
|
+
# while is_exporting:
|
141
|
+
# is_exporting = check_export_status(self.get_stats_export_status())
|
142
|
+
# time.sleep(check_interval)
|
142
143
|
return command_response
|
143
144
|
|
144
145
|
def get_custom_stats_range(self, start_time, end_time):
|
@@ -321,11 +322,11 @@ class quarchStream:
|
|
321
322
|
if delimiter != None:
|
322
323
|
args += " -s" + delimiter
|
323
324
|
|
324
|
-
if pollTillComplete:
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
325
|
+
# if pollTillComplete:
|
326
|
+
# is_exporting = check_export_status(self.get_stream_export_status())
|
327
|
+
# while is_exporting:
|
328
|
+
# is_exporting = check_export_status(self.get_stream_export_status())
|
329
|
+
# time.sleep(checkInterval)
|
329
330
|
|
330
331
|
# , filePath, linesPerFile, cr, delimiter
|
331
332
|
return self.connectionObj.qps.sendCmdVerbose("$save csv \"" + filePath + "\" " + args, timeout=timeout)
|
@@ -360,12 +361,12 @@ class quarchStream:
|
|
360
361
|
# Get the current stream status
|
361
362
|
streamState = self.getStreamState().lower()
|
362
363
|
# Verify the stream stopped correctly
|
363
|
-
response = check_stream_stopped_status(streamState)
|
364
|
-
while "running" in streamState:
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
364
|
+
# response = check_stream_stopped_status(streamState)
|
365
|
+
# while "running" in streamState:
|
366
|
+
# logging.debug("Stream buffer still emptying: " + streamState)
|
367
|
+
# streamState = self.getStreamState().lower()
|
368
|
+
# response = check_stream_stopped_status(streamState)
|
369
|
+
# time.sleep(checkInterval)
|
369
370
|
|
370
371
|
return response
|
371
372
|
|
@@ -407,6 +408,8 @@ class quarchStream:
|
|
407
408
|
dataPointTime = qpsNowStr()
|
408
409
|
else:
|
409
410
|
dataPointTime = int(dataPointTime)
|
411
|
+
logging.warning("$stream data add " + channelName + " " + groupName + " " + str(dataPointTime) + " " + str(
|
412
|
+
dataValue) + " " + timeFormat)
|
410
413
|
self.connectionObj.qps.sendCmdVerbose(
|
411
414
|
"$stream data add " + channelName + " " + groupName + " " + str(dataPointTime) + " " + str(
|
412
415
|
dataValue) + " " + timeFormat)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
quarchpy/docs/Makefile
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
# Minimal makefile for Sphinx documentation
|
2
|
-
#
|
3
|
-
|
4
|
-
# You can set these variables from the command line, and also
|
5
|
-
# from the environment for the first two.
|
6
|
-
SPHINXOPTS ?=
|
7
|
-
SPHINXBUILD ?= sphinx-build
|
8
|
-
SOURCEDIR = .
|
9
|
-
BUILDDIR = _build
|
10
|
-
|
11
|
-
# Put it first so that "make" without argument is like "make help".
|
12
|
-
help:
|
13
|
-
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
14
|
-
|
15
|
-
.PHONY: help Makefile
|
16
|
-
|
17
|
-
# Catch-all target: route all unknown targets to Sphinx using the new
|
18
|
-
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
19
|
-
%: Makefile
|
20
|
-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
1
|
+
# Minimal makefile for Sphinx documentation
|
2
|
+
#
|
3
|
+
|
4
|
+
# You can set these variables from the command line, and also
|
5
|
+
# from the environment for the first two.
|
6
|
+
SPHINXOPTS ?=
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
8
|
+
SOURCEDIR = .
|
9
|
+
BUILDDIR = _build
|
10
|
+
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
12
|
+
help:
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
14
|
+
|
15
|
+
.PHONY: help Makefile
|
16
|
+
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
19
|
+
%: Makefile
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@@ -1 +1 @@
|
|
1
|
-
/* This file intentionally left blank. */
|
1
|
+
/* This file intentionally left blank. */
|
@@ -1,149 +1,149 @@
|
|
1
|
-
/*
|
2
|
-
* Base JavaScript utilities for all Sphinx HTML documentation.
|
3
|
-
*/
|
4
|
-
"use strict";
|
5
|
-
|
6
|
-
const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([
|
7
|
-
"TEXTAREA",
|
8
|
-
"INPUT",
|
9
|
-
"SELECT",
|
10
|
-
"BUTTON",
|
11
|
-
]);
|
12
|
-
|
13
|
-
const _ready = (callback) => {
|
14
|
-
if (document.readyState !== "loading") {
|
15
|
-
callback();
|
16
|
-
} else {
|
17
|
-
document.addEventListener("DOMContentLoaded", callback);
|
18
|
-
}
|
19
|
-
};
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Small JavaScript module for the documentation.
|
23
|
-
*/
|
24
|
-
const Documentation = {
|
25
|
-
init: () => {
|
26
|
-
Documentation.initDomainIndexTable();
|
27
|
-
Documentation.initOnKeyListeners();
|
28
|
-
},
|
29
|
-
|
30
|
-
/**
|
31
|
-
* i18n support
|
32
|
-
*/
|
33
|
-
TRANSLATIONS: {},
|
34
|
-
PLURAL_EXPR: (n) => (n === 1 ? 0 : 1),
|
35
|
-
LOCALE: "unknown",
|
36
|
-
|
37
|
-
// gettext and ngettext don't access this so that the functions
|
38
|
-
// can safely bound to a different name (_ = Documentation.gettext)
|
39
|
-
gettext: (string) => {
|
40
|
-
const translated = Documentation.TRANSLATIONS[string];
|
41
|
-
switch (typeof translated) {
|
42
|
-
case "undefined":
|
43
|
-
return string; // no translation
|
44
|
-
case "string":
|
45
|
-
return translated; // translation exists
|
46
|
-
default:
|
47
|
-
return translated[0]; // (singular, plural) translation tuple exists
|
48
|
-
}
|
49
|
-
},
|
50
|
-
|
51
|
-
ngettext: (singular, plural, n) => {
|
52
|
-
const translated = Documentation.TRANSLATIONS[singular];
|
53
|
-
if (typeof translated !== "undefined")
|
54
|
-
return translated[Documentation.PLURAL_EXPR(n)];
|
55
|
-
return n === 1 ? singular : plural;
|
56
|
-
},
|
57
|
-
|
58
|
-
addTranslations: (catalog) => {
|
59
|
-
Object.assign(Documentation.TRANSLATIONS, catalog.messages);
|
60
|
-
Documentation.PLURAL_EXPR = new Function(
|
61
|
-
"n",
|
62
|
-
`return (${catalog.plural_expr})`
|
63
|
-
);
|
64
|
-
Documentation.LOCALE = catalog.locale;
|
65
|
-
},
|
66
|
-
|
67
|
-
/**
|
68
|
-
* helper function to focus on search bar
|
69
|
-
*/
|
70
|
-
focusSearchBar: () => {
|
71
|
-
document.querySelectorAll("input[name=q]")[0]?.focus();
|
72
|
-
},
|
73
|
-
|
74
|
-
/**
|
75
|
-
* Initialise the domain index toggle buttons
|
76
|
-
*/
|
77
|
-
initDomainIndexTable: () => {
|
78
|
-
const toggler = (el) => {
|
79
|
-
const idNumber = el.id.substr(7);
|
80
|
-
const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`);
|
81
|
-
if (el.src.substr(-9) === "minus.png") {
|
82
|
-
el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`;
|
83
|
-
toggledRows.forEach((el) => (el.style.display = "none"));
|
84
|
-
} else {
|
85
|
-
el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`;
|
86
|
-
toggledRows.forEach((el) => (el.style.display = ""));
|
87
|
-
}
|
88
|
-
};
|
89
|
-
|
90
|
-
const togglerElements = document.querySelectorAll("img.toggler");
|
91
|
-
togglerElements.forEach((el) =>
|
92
|
-
el.addEventListener("click", (event) => toggler(event.currentTarget))
|
93
|
-
);
|
94
|
-
togglerElements.forEach((el) => (el.style.display = ""));
|
95
|
-
if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler);
|
96
|
-
},
|
97
|
-
|
98
|
-
initOnKeyListeners: () => {
|
99
|
-
// only install a listener if it is really needed
|
100
|
-
if (
|
101
|
-
!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS &&
|
102
|
-
!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS
|
103
|
-
)
|
104
|
-
return;
|
105
|
-
|
106
|
-
document.addEventListener("keydown", (event) => {
|
107
|
-
// bail for input elements
|
108
|
-
if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return;
|
109
|
-
// bail with special keys
|
110
|
-
if (event.altKey || event.ctrlKey || event.metaKey) return;
|
111
|
-
|
112
|
-
if (!event.shiftKey) {
|
113
|
-
switch (event.key) {
|
114
|
-
case "ArrowLeft":
|
115
|
-
if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break;
|
116
|
-
|
117
|
-
const prevLink = document.querySelector('link[rel="prev"]');
|
118
|
-
if (prevLink && prevLink.href) {
|
119
|
-
window.location.href = prevLink.href;
|
120
|
-
event.preventDefault();
|
121
|
-
}
|
122
|
-
break;
|
123
|
-
case "ArrowRight":
|
124
|
-
if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break;
|
125
|
-
|
126
|
-
const nextLink = document.querySelector('link[rel="next"]');
|
127
|
-
if (nextLink && nextLink.href) {
|
128
|
-
window.location.href = nextLink.href;
|
129
|
-
event.preventDefault();
|
130
|
-
}
|
131
|
-
break;
|
132
|
-
}
|
133
|
-
}
|
134
|
-
|
135
|
-
// some keyboard layouts may need Shift to get /
|
136
|
-
switch (event.key) {
|
137
|
-
case "/":
|
138
|
-
if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break;
|
139
|
-
Documentation.focusSearchBar();
|
140
|
-
event.preventDefault();
|
141
|
-
}
|
142
|
-
});
|
143
|
-
},
|
144
|
-
};
|
145
|
-
|
146
|
-
// quick alias for translations
|
147
|
-
const _ = Documentation.gettext;
|
148
|
-
|
149
|
-
_ready(Documentation.init);
|
1
|
+
/*
|
2
|
+
* Base JavaScript utilities for all Sphinx HTML documentation.
|
3
|
+
*/
|
4
|
+
"use strict";
|
5
|
+
|
6
|
+
const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([
|
7
|
+
"TEXTAREA",
|
8
|
+
"INPUT",
|
9
|
+
"SELECT",
|
10
|
+
"BUTTON",
|
11
|
+
]);
|
12
|
+
|
13
|
+
const _ready = (callback) => {
|
14
|
+
if (document.readyState !== "loading") {
|
15
|
+
callback();
|
16
|
+
} else {
|
17
|
+
document.addEventListener("DOMContentLoaded", callback);
|
18
|
+
}
|
19
|
+
};
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Small JavaScript module for the documentation.
|
23
|
+
*/
|
24
|
+
const Documentation = {
|
25
|
+
init: () => {
|
26
|
+
Documentation.initDomainIndexTable();
|
27
|
+
Documentation.initOnKeyListeners();
|
28
|
+
},
|
29
|
+
|
30
|
+
/**
|
31
|
+
* i18n support
|
32
|
+
*/
|
33
|
+
TRANSLATIONS: {},
|
34
|
+
PLURAL_EXPR: (n) => (n === 1 ? 0 : 1),
|
35
|
+
LOCALE: "unknown",
|
36
|
+
|
37
|
+
// gettext and ngettext don't access this so that the functions
|
38
|
+
// can safely bound to a different name (_ = Documentation.gettext)
|
39
|
+
gettext: (string) => {
|
40
|
+
const translated = Documentation.TRANSLATIONS[string];
|
41
|
+
switch (typeof translated) {
|
42
|
+
case "undefined":
|
43
|
+
return string; // no translation
|
44
|
+
case "string":
|
45
|
+
return translated; // translation exists
|
46
|
+
default:
|
47
|
+
return translated[0]; // (singular, plural) translation tuple exists
|
48
|
+
}
|
49
|
+
},
|
50
|
+
|
51
|
+
ngettext: (singular, plural, n) => {
|
52
|
+
const translated = Documentation.TRANSLATIONS[singular];
|
53
|
+
if (typeof translated !== "undefined")
|
54
|
+
return translated[Documentation.PLURAL_EXPR(n)];
|
55
|
+
return n === 1 ? singular : plural;
|
56
|
+
},
|
57
|
+
|
58
|
+
addTranslations: (catalog) => {
|
59
|
+
Object.assign(Documentation.TRANSLATIONS, catalog.messages);
|
60
|
+
Documentation.PLURAL_EXPR = new Function(
|
61
|
+
"n",
|
62
|
+
`return (${catalog.plural_expr})`
|
63
|
+
);
|
64
|
+
Documentation.LOCALE = catalog.locale;
|
65
|
+
},
|
66
|
+
|
67
|
+
/**
|
68
|
+
* helper function to focus on search bar
|
69
|
+
*/
|
70
|
+
focusSearchBar: () => {
|
71
|
+
document.querySelectorAll("input[name=q]")[0]?.focus();
|
72
|
+
},
|
73
|
+
|
74
|
+
/**
|
75
|
+
* Initialise the domain index toggle buttons
|
76
|
+
*/
|
77
|
+
initDomainIndexTable: () => {
|
78
|
+
const toggler = (el) => {
|
79
|
+
const idNumber = el.id.substr(7);
|
80
|
+
const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`);
|
81
|
+
if (el.src.substr(-9) === "minus.png") {
|
82
|
+
el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`;
|
83
|
+
toggledRows.forEach((el) => (el.style.display = "none"));
|
84
|
+
} else {
|
85
|
+
el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`;
|
86
|
+
toggledRows.forEach((el) => (el.style.display = ""));
|
87
|
+
}
|
88
|
+
};
|
89
|
+
|
90
|
+
const togglerElements = document.querySelectorAll("img.toggler");
|
91
|
+
togglerElements.forEach((el) =>
|
92
|
+
el.addEventListener("click", (event) => toggler(event.currentTarget))
|
93
|
+
);
|
94
|
+
togglerElements.forEach((el) => (el.style.display = ""));
|
95
|
+
if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler);
|
96
|
+
},
|
97
|
+
|
98
|
+
initOnKeyListeners: () => {
|
99
|
+
// only install a listener if it is really needed
|
100
|
+
if (
|
101
|
+
!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS &&
|
102
|
+
!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS
|
103
|
+
)
|
104
|
+
return;
|
105
|
+
|
106
|
+
document.addEventListener("keydown", (event) => {
|
107
|
+
// bail for input elements
|
108
|
+
if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return;
|
109
|
+
// bail with special keys
|
110
|
+
if (event.altKey || event.ctrlKey || event.metaKey) return;
|
111
|
+
|
112
|
+
if (!event.shiftKey) {
|
113
|
+
switch (event.key) {
|
114
|
+
case "ArrowLeft":
|
115
|
+
if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break;
|
116
|
+
|
117
|
+
const prevLink = document.querySelector('link[rel="prev"]');
|
118
|
+
if (prevLink && prevLink.href) {
|
119
|
+
window.location.href = prevLink.href;
|
120
|
+
event.preventDefault();
|
121
|
+
}
|
122
|
+
break;
|
123
|
+
case "ArrowRight":
|
124
|
+
if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break;
|
125
|
+
|
126
|
+
const nextLink = document.querySelector('link[rel="next"]');
|
127
|
+
if (nextLink && nextLink.href) {
|
128
|
+
window.location.href = nextLink.href;
|
129
|
+
event.preventDefault();
|
130
|
+
}
|
131
|
+
break;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
// some keyboard layouts may need Shift to get /
|
136
|
+
switch (event.key) {
|
137
|
+
case "/":
|
138
|
+
if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break;
|
139
|
+
Documentation.focusSearchBar();
|
140
|
+
event.preventDefault();
|
141
|
+
}
|
142
|
+
});
|
143
|
+
},
|
144
|
+
};
|
145
|
+
|
146
|
+
// quick alias for translations
|
147
|
+
const _ = Documentation.gettext;
|
148
|
+
|
149
|
+
_ready(Documentation.init);
|