-
Notifications
You must be signed in to change notification settings - Fork 186
Description
Bug Report
These tests (tests/component/task/test_out_stream_write_properties.py) use a simulated PXIe-4322 ("aoTester") to validate basic functionality of runtime-checked attributes.
test___ao_current_task___get_bool_property___returns_default_value
test___ao_current_task___get_string_list_property___returns_default_value
We assume it will always return false (and therefore an empty set of channels), but that doesn't appear to be the case. I looked at the driver code and this goes all the way to the primitive even on simulated devices. It checks if an interrupt occurred or if a register is set. On a simulated device, that register value is random memory and seems like it can indicate a flipped bit.
Repro or Code Sample
Run the component tests and get (un)lucky.
Expected Behavior
This shouldn't be intermittent.
Current Behavior
It is intermittent, but thankfully quite rare.
Possible Solution
We either need to find a new device that we know is consistent or mayb disable these tests.
Context
This run failed on only a single OS for those tests, but consistently. This was for #831 . I am going to queue another one.
Your Environment
- Operating system and version: [e.g. Windows 11 24H2, Ubuntu Linux 24.04]
- NI-DAQmx version: [e.g. 2024 Q4]
nidaqmx-python
version: [e.g. 1.0.1]- Python version [e.g. 3.9]