Changelog
1.3.0
Fixed:
Replaced
print()warning messages in temperature module with proper Pythonloggingto stderr (issue #56)
Added:
Custom exception classes for unified error handling in
errors.py:BCQError(base class) and specific subclasses for common error scenarios (e.g.,EmptySerialNumberError,HardwareIncompatibilityError, etc.)Most of these come from the LabVIEW API
Two are Python specific (
DMMParameterErrorandTemperatureError).
These exceptions are now used throughout the codebase for clearer and more maintainable error handling.
Changed:
Testing is now done with the new Error Handling Framework.
1.2.1
Added:
TemperatureAware.validate_temperature(target_temperature)- Measures and Validates temperature for measurement classes (ACIR, EIS, etc.)Historical changelog to documentation
New Warnings to temperature validation logic, when delta was overwritten and when target is set but no measurement is available
Two new examples showing error handling with both temperature and switching support is present
New
temperatureproperty forTemperatureAwareclass, containing only the measured temperature value, without the delta limits
Changed:
Temperature submodule:
Made
TemperatureCapability.run_task()PublicMade
TemperatureCapability.validate_latest_temperature()PublicWarning messages now prefixed with
[nibcq]for clarityRenamed
TemperatureParameterto a more genericCenteredRangename. The new field names arecenteranddelta
Measurement classes:
Now
ACIRandEISrun()includes temperature validation when it is necessary and supported
Examples:
Examples demonstrating temperature validation workflow in
acir_with_temperature.pyandeis_with_temperature.pyError handling in examples with temperature measurement
Updated documentation, including new examples
Renamed
temperature_measurementproperty totemperature_range
Fixed:
Temperature validation now correctly uses overridden
acceptable_temperature_deltawhen user sets custom valueSetting temperature delta now actually possible during device creation
Compensation file creation examples set temperature delta correctly
Added None check for
target_temperatureparameter in validation methods, solving an issue when usingNo Compensationcompensation methodSome typos
1.2.0
Added:
Basic functionality for OCV, ACIR, DCIR and EIS measurements
Switching support for multi-channel measurements
Temperature measurement support with thermocouple integration