add test for timing APIs #1214
16 fail, 364 skipped, 1 938 pass in 55m 15s
34 files 34 suites 55m 15s ⏱️
2 318 tests 1 938 ✅ 364 💤 16 ❌
41 062 runs 34 610 ✅ 6 180 💤 272 ❌
Results for commit 3ac59e9.
Annotations
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_pipelined_samp_clk___no_errors[library_init_kwargs-/Dev1/PFI0-Edge.RISING] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 1s]
test_results/system-py310-base-win-10-py64.xml [took 1s]
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-base-win-10-py32.xml [took 1s]
test_results/system-py311-base-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-base-win-10-py32.xml [took 1s]
test_results/system-py312-base-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-base-win-10-py32.xml [took 1s]
test_results/system-py38-base-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 1s]
test_results/system-py39-base-win-10-py32.xml [took 1s]
test_results/system-py39-base-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<121>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<121>)
clk_source = '/Dev1/PFI0', active_edge = <Edge.RISING: 10280>
@pytest.mark.parametrize(
"clk_source, active_edge",
[
("/Dev1/PFI0", Edge.RISING),
("/Dev1/PFI1", Edge.FALLING),
],
)
def test___timing___cfg_pipelined_samp_clk___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
):
sim_6535_di_single_line_task.timing.cfg_pipelined_samp_clk_timing(
rate=32000.0,
source=clk_source,
active_edge=active_edge,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_src == clk_source
tests\component\task\test_timing.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:749: in samp_clk_src
val = self._interpreter.get_timing_attribute_string(self._handle, 0x1852)
generated\nidaqmx\_library_interpreter.py:3697: in get_timing_attribute_string
self.check_for_error(size_or_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9B236480>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<121>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_pipelined_samp_clk___no_errors[library_init_kwargs-/Dev1/PFI1-Edge.FALLING] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 1s]
test_results/system-py310-base-win-10-py64.xml [took 1s]
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-base-win-10-py32.xml [took 1s]
test_results/system-py311-base-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-base-win-10-py32.xml [took 1s]
test_results/system-py312-base-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-base-win-10-py32.xml [took 1s]
test_results/system-py38-base-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 1s]
test_results/system-py39-base-win-10-py32.xml [took 1s]
test_results/system-py39-base-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<122>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<122>)
clk_source = '/Dev1/PFI1', active_edge = <Edge.FALLING: 10171>
@pytest.mark.parametrize(
"clk_source, active_edge",
[
("/Dev1/PFI0", Edge.RISING),
("/Dev1/PFI1", Edge.FALLING),
],
)
def test___timing___cfg_pipelined_samp_clk___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
):
sim_6535_di_single_line_task.timing.cfg_pipelined_samp_clk_timing(
rate=32000.0,
source=clk_source,
active_edge=active_edge,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_src == clk_source
tests\component\task\test_timing.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:749: in samp_clk_src
val = self._interpreter.get_timing_attribute_string(self._handle, 0x1852)
generated\nidaqmx\_library_interpreter.py:3697: in get_timing_attribute_string
self.check_for_error(size_or_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9B2379C0>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<122>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_burst_handshaking_import_clock___no_errors[library_init_kwargs-/Dev1/PFI0-Edge.RISING-Level.HIGH-Polarity.ACTIVE_HIGH] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 1s]
test_results/system-py310-base-win-10-py64.xml [took 1s]
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-base-win-10-py32.xml [took 1s]
test_results/system-py311-base-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-base-win-10-py32.xml [took 1s]
test_results/system-py312-base-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-base-win-10-py32.xml [took 1s]
test_results/system-py38-base-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 1s]
test_results/system-py39-base-win-10-py32.xml [took 1s]
test_results/system-py39-base-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<123>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<123>)
clk_source = '/Dev1/PFI0', active_edge = <Edge.RISING: 10280>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_HIGH: 10095>
@pytest.mark.parametrize(
"clk_source, active_edge, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Edge.RISING, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Edge.FALLING, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Edge.FALLING, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_import_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_import_clock(
sample_clk_rate=32000.0,
sample_clk_src=clk_source,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_active_edge=active_edge,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_library_interpreter.py:3553: in get_timing_attribute_double
self.check_for_error(error_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9B25B3E0>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<123>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_burst_handshaking_import_clock___no_errors[library_init_kwargs-/Dev1/PFI1-Edge.FALLING-Level.HIGH-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 1s]
test_results/system-py310-base-win-10-py64.xml [took 1s]
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-base-win-10-py32.xml [took 1s]
test_results/system-py311-base-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-base-win-10-py32.xml [took 1s]
test_results/system-py312-base-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-base-win-10-py32.xml [took 1s]
test_results/system-py38-base-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 1s]
test_results/system-py39-base-win-10-py32.xml [took 1s]
test_results/system-py39-base-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<124>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<124>)
clk_source = '/Dev1/PFI1', active_edge = <Edge.FALLING: 10171>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_source, active_edge, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Edge.RISING, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Edge.FALLING, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Edge.FALLING, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_import_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_import_clock(
sample_clk_rate=32000.0,
sample_clk_src=clk_source,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_active_edge=active_edge,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_library_interpreter.py:3553: in get_timing_attribute_double
self.check_for_error(error_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9B237F40>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<124>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_burst_handshaking_import_clock___no_errors[library_init_kwargs-/Dev1/PFI1-Edge.FALLING-Level.LOW-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 1s]
test_results/system-py310-base-win-10-py64.xml [took 1s]
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-base-win-10-py32.xml [took 1s]
test_results/system-py311-base-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-base-win-10-py32.xml [took 1s]
test_results/system-py312-base-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-base-win-10-py32.xml [took 1s]
test_results/system-py38-base-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 1s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 1s]
test_results/system-py39-base-win-10-py32.xml [took 1s]
test_results/system-py39-base-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<125>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<125>)
clk_source = '/Dev1/PFI1', active_edge = <Edge.FALLING: 10171>
pause_when = <Level.LOW: 10214>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_source, active_edge, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Edge.RISING, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Edge.FALLING, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Edge.FALLING, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_import_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_import_clock(
sample_clk_rate=32000.0,
sample_clk_src=clk_source,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_active_edge=active_edge,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_library_interpreter.py:3553: in get_timing_attribute_double
self.check_for_error(error_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9E9CD700>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<125>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_burst_handshaking_export_clock___no_errors[library_init_kwargs-/Dev1/PFI0-Polarity.ACTIVE_HIGH-Level.HIGH-Polarity.ACTIVE_HIGH] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 0s]
test_results/system-py310-base-win-10-py64.xml [took 0s]
test_results/system-py310-grpc-win-10-py32.xml [took 0s]
test_results/system-py310-grpc-win-10-py64.xml [took 0s]
test_results/system-py311-base-win-10-py32.xml [took 0s]
test_results/system-py311-base-win-10-py64.xml [took 0s]
test_results/system-py311-grpc-win-10-py32.xml [took 0s]
test_results/system-py311-grpc-win-10-py64.xml [took 0s]
test_results/system-py312-base-win-10-py32.xml [took 0s]
test_results/system-py312-base-win-10-py64.xml [took 0s]
test_results/system-py312-grpc-win-10-py32.xml [took 0s]
test_results/system-py312-grpc-win-10-py64.xml [took 0s]
test_results/system-py38-base-win-10-py32.xml [took 0s]
test_results/system-py38-base-win-10-py64.xml [took 0s]
test_results/system-py38-grpc-win-10-py32.xml [took 0s]
test_results/system-py38-grpc-win-10-py64.xml [took 0s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 0s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 0s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 0s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 0s]
test_results/system-py39-base-win-10-py32.xml [took 0s]
test_results/system-py39-base-win-10-py64.xml [took 0s]
test_results/system-py39-grpc-win-10-py32.xml [took 0s]
test_results/system-py39-grpc-win-10-py64.xml [took 0s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<126>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<126>)
clk_outp_term = '/Dev1/PFI0', clk_pulse_polarity = <Polarity.ACTIVE_HIGH: 10095>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_HIGH: 10095>
@pytest.mark.parametrize(
"clk_outp_term, clk_pulse_polarity, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Polarity.ACTIVE_LOW, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_export_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_outp_term: str,
clk_pulse_polarity: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_export_clock(
sample_clk_rate=32000.0,
sample_clk_outp_term=clk_outp_term,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_pulse_polarity=clk_pulse_polarity,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_library_interpreter.py:3553: in get_timing_attribute_double
self.check_for_error(error_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9B25B540>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<126>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_burst_handshaking_export_clock___no_errors[library_init_kwargs-/Dev1/PFI1-Polarity.ACTIVE_HIGH-Level.HIGH-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 0s]
test_results/system-py310-base-win-10-py64.xml [took 0s]
test_results/system-py310-grpc-win-10-py32.xml [took 0s]
test_results/system-py310-grpc-win-10-py64.xml [took 0s]
test_results/system-py311-base-win-10-py32.xml [took 0s]
test_results/system-py311-base-win-10-py64.xml [took 0s]
test_results/system-py311-grpc-win-10-py32.xml [took 0s]
test_results/system-py311-grpc-win-10-py64.xml [took 0s]
test_results/system-py312-base-win-10-py32.xml [took 0s]
test_results/system-py312-base-win-10-py64.xml [took 0s]
test_results/system-py312-grpc-win-10-py32.xml [took 0s]
test_results/system-py312-grpc-win-10-py64.xml [took 0s]
test_results/system-py38-base-win-10-py32.xml [took 0s]
test_results/system-py38-base-win-10-py64.xml [took 0s]
test_results/system-py38-grpc-win-10-py32.xml [took 0s]
test_results/system-py38-grpc-win-10-py64.xml [took 0s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 0s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 0s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 0s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 0s]
test_results/system-py39-base-win-10-py32.xml [took 0s]
test_results/system-py39-base-win-10-py64.xml [took 0s]
test_results/system-py39-grpc-win-10-py32.xml [took 0s]
test_results/system-py39-grpc-win-10-py64.xml [took 0s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<127>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<127>)
clk_outp_term = '/Dev1/PFI1', clk_pulse_polarity = <Polarity.ACTIVE_HIGH: 10095>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_outp_term, clk_pulse_polarity, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Polarity.ACTIVE_LOW, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_export_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_outp_term: str,
clk_pulse_polarity: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_export_clock(
sample_clk_rate=32000.0,
sample_clk_outp_term=clk_outp_term,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_pulse_polarity=clk_pulse_polarity,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_library_interpreter.py:3553: in get_timing_attribute_double
self.check_for_error(error_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9E6CC720>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<127>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 24 runs failed: test___timing___cfg_burst_handshaking_export_clock___no_errors[library_init_kwargs-/Dev1/PFI1-Polarity.ACTIVE_LOW-Level.LOW-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-base-win-10-py32.xml [took 0s]
test_results/system-py310-base-win-10-py64.xml [took 0s]
test_results/system-py310-grpc-win-10-py32.xml [took 0s]
test_results/system-py310-grpc-win-10-py64.xml [took 0s]
test_results/system-py311-base-win-10-py32.xml [took 0s]
test_results/system-py311-base-win-10-py64.xml [took 0s]
test_results/system-py311-grpc-win-10-py32.xml [took 0s]
test_results/system-py311-grpc-win-10-py64.xml [took 0s]
test_results/system-py312-base-win-10-py32.xml [took 0s]
test_results/system-py312-base-win-10-py64.xml [took 0s]
test_results/system-py312-grpc-win-10-py32.xml [took 0s]
test_results/system-py312-grpc-win-10-py64.xml [took 0s]
test_results/system-py38-base-win-10-py32.xml [took 0s]
test_results/system-py38-base-win-10-py64.xml [took 0s]
test_results/system-py38-grpc-win-10-py32.xml [took 0s]
test_results/system-py38-grpc-win-10-py64.xml [took 0s]
test_results/system-py39-base-nicai_utf8-win-10-py32.xml [took 0s]
test_results/system-py39-base-nicai_utf8-win-10-py64.xml [took 0s]
test_results/system-py39-base-nicaiu-win-10-py32.xml [took 0s]
test_results/system-py39-base-nicaiu-win-10-py64.xml [took 0s]
test_results/system-py39-base-win-10-py32.xml [took 0s]
test_results/system-py39-base-win-10-py64.xml [took 0s]
test_results/system-py39-grpc-win-10-py32.xml [took 0s]
test_results/system-py39-grpc-win-10-py64.xml [took 0s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<128>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<128>)
clk_outp_term = '/Dev1/PFI1', clk_pulse_polarity = <Polarity.ACTIVE_LOW: 10096>
pause_when = <Level.LOW: 10214>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_outp_term, clk_pulse_polarity, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Polarity.ACTIVE_LOW, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_export_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_outp_term: str,
clk_pulse_polarity: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_export_clock(
sample_clk_rate=32000.0,
sample_clk_outp_term=clk_outp_term,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_pulse_polarity=clk_pulse_polarity,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_library_interpreter.py:3553: in get_timing_attribute_double
self.check_for_error(error_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._library_interpreter.LibraryInterpreter object at 0x0000026D9B235600>
error_code = -88717, samps_per_chan_written = None, samps_per_chan_read = None
def check_for_error(self, error_code, samps_per_chan_written=None, samps_per_chan_read=None):
if not error_code:
return
if error_code < 0:
extended_error_info = self.get_extended_error_info()
if samps_per_chan_read is not None:
raise DaqReadError(extended_error_info, error_code, samps_per_chan_read)
elif samps_per_chan_written is not None:
raise DaqWriteError(extended_error_info, error_code, samps_per_chan_written)
else:
> raise DaqError(extended_error_info, error_code)
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<128>
E
E Status Code: -88717
generated\nidaqmx\_library_interpreter.py:6412: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_pipelined_samp_clk___no_errors[grpc_init_kwargs-/Dev1/PFI0-Edge.RISING] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<133>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<133>)
clk_source = '/Dev1/PFI0', active_edge = <Edge.RISING: 10280>
@pytest.mark.parametrize(
"clk_source, active_edge",
[
("/Dev1/PFI0", Edge.RISING),
("/Dev1/PFI1", Edge.FALLING),
],
)
def test___timing___cfg_pipelined_samp_clk___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
):
sim_6535_di_single_line_task.timing.cfg_pipelined_samp_clk_timing(
rate=32000.0,
source=clk_source,
active_edge=active_edge,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_src == clk_source
tests\component\task\test_timing.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:749: in samp_clk_src
val = self._interpreter.get_timing_attribute_string(self._handle, 0x1852)
generated\nidaqmx\_grpc_interpreter.py:2177: in get_timing_attribute_string
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x000002639469ABF0>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<133>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<133>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_pipelined_samp_clk___no_errors[grpc_init_kwargs-/Dev1/PFI1-Edge.FALLING] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<134>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<134>)
clk_source = '/Dev1/PFI1', active_edge = <Edge.FALLING: 10171>
@pytest.mark.parametrize(
"clk_source, active_edge",
[
("/Dev1/PFI0", Edge.RISING),
("/Dev1/PFI1", Edge.FALLING),
],
)
def test___timing___cfg_pipelined_samp_clk___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
):
sim_6535_di_single_line_task.timing.cfg_pipelined_samp_clk_timing(
rate=32000.0,
source=clk_source,
active_edge=active_edge,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_src == clk_source
tests\component\task\test_timing.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:749: in samp_clk_src
val = self._interpreter.get_timing_attribute_string(self._handle, 0x1852)
generated\nidaqmx\_grpc_interpreter.py:2177: in get_timing_attribute_string
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x0000026394FB89D0>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<134>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<134>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_burst_handshaking_import_clock___no_errors[grpc_init_kwargs-/Dev1/PFI0-Edge.RISING-Level.HIGH-Polarity.ACTIVE_HIGH] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<135>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<135>)
clk_source = '/Dev1/PFI0', active_edge = <Edge.RISING: 10280>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_HIGH: 10095>
@pytest.mark.parametrize(
"clk_source, active_edge, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Edge.RISING, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Edge.FALLING, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Edge.FALLING, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_import_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_import_clock(
sample_clk_rate=32000.0,
sample_clk_src=clk_source,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_active_edge=active_edge,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_grpc_interpreter.py:2123: in get_timing_attribute_double
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x000002639064F6A0>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<135>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<135>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_burst_handshaking_import_clock___no_errors[grpc_init_kwargs-/Dev1/PFI1-Edge.FALLING-Level.HIGH-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<136>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<136>)
clk_source = '/Dev1/PFI1', active_edge = <Edge.FALLING: 10171>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_source, active_edge, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Edge.RISING, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Edge.FALLING, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Edge.FALLING, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_import_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_import_clock(
sample_clk_rate=32000.0,
sample_clk_src=clk_source,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_active_edge=active_edge,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_grpc_interpreter.py:2123: in get_timing_attribute_double
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x00000263907C8970>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<136>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<136>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_burst_handshaking_import_clock___no_errors[grpc_init_kwargs-/Dev1/PFI1-Edge.FALLING-Level.LOW-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 1s]
test_results/system-py310-grpc-win-10-py64.xml [took 1s]
test_results/system-py311-grpc-win-10-py32.xml [took 1s]
test_results/system-py311-grpc-win-10-py64.xml [took 1s]
test_results/system-py312-grpc-win-10-py32.xml [took 1s]
test_results/system-py312-grpc-win-10-py64.xml [took 1s]
test_results/system-py38-grpc-win-10-py32.xml [took 1s]
test_results/system-py38-grpc-win-10-py64.xml [took 1s]
test_results/system-py39-grpc-win-10-py32.xml [took 1s]
test_results/system-py39-grpc-win-10-py64.xml [took 1s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<137>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<137>)
clk_source = '/Dev1/PFI1', active_edge = <Edge.FALLING: 10171>
pause_when = <Level.LOW: 10214>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_source, active_edge, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Edge.RISING, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Edge.FALLING, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Edge.FALLING, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_import_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_source: str,
active_edge: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_import_clock(
sample_clk_rate=32000.0,
sample_clk_src=clk_source,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_active_edge=active_edge,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_grpc_interpreter.py:2123: in get_timing_attribute_double
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x000002639458C5B0>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<137>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<137>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_burst_handshaking_export_clock___no_errors[grpc_init_kwargs-/Dev1/PFI0-Polarity.ACTIVE_HIGH-Level.HIGH-Polarity.ACTIVE_HIGH] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 0s]
test_results/system-py310-grpc-win-10-py64.xml [took 0s]
test_results/system-py311-grpc-win-10-py32.xml [took 0s]
test_results/system-py311-grpc-win-10-py64.xml [took 0s]
test_results/system-py312-grpc-win-10-py32.xml [took 0s]
test_results/system-py312-grpc-win-10-py64.xml [took 0s]
test_results/system-py38-grpc-win-10-py32.xml [took 0s]
test_results/system-py38-grpc-win-10-py64.xml [took 0s]
test_results/system-py39-grpc-win-10-py32.xml [took 0s]
test_results/system-py39-grpc-win-10-py64.xml [took 0s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<138>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<138>)
clk_outp_term = '/Dev1/PFI0', clk_pulse_polarity = <Polarity.ACTIVE_HIGH: 10095>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_HIGH: 10095>
@pytest.mark.parametrize(
"clk_outp_term, clk_pulse_polarity, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Polarity.ACTIVE_LOW, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_export_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_outp_term: str,
clk_pulse_polarity: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_export_clock(
sample_clk_rate=32000.0,
sample_clk_outp_term=clk_outp_term,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_pulse_polarity=clk_pulse_polarity,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_grpc_interpreter.py:2123: in get_timing_attribute_double
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x0000026394F12C80>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<138>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<138>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_burst_handshaking_export_clock___no_errors[grpc_init_kwargs-/Dev1/PFI1-Polarity.ACTIVE_HIGH-Level.HIGH-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 0s]
test_results/system-py310-grpc-win-10-py64.xml [took 0s]
test_results/system-py311-grpc-win-10-py32.xml [took 0s]
test_results/system-py311-grpc-win-10-py64.xml [took 0s]
test_results/system-py312-grpc-win-10-py32.xml [took 0s]
test_results/system-py312-grpc-win-10-py64.xml [took 0s]
test_results/system-py38-grpc-win-10-py32.xml [took 0s]
test_results/system-py38-grpc-win-10-py64.xml [took 0s]
test_results/system-py39-grpc-win-10-py32.xml [took 0s]
test_results/system-py39-grpc-win-10-py64.xml [took 0s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<139>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<139>)
clk_outp_term = '/Dev1/PFI1', clk_pulse_polarity = <Polarity.ACTIVE_HIGH: 10095>
pause_when = <Level.HIGH: 10192>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_outp_term, clk_pulse_polarity, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Polarity.ACTIVE_LOW, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_export_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_outp_term: str,
clk_pulse_polarity: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_export_clock(
sample_clk_rate=32000.0,
sample_clk_outp_term=clk_outp_term,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_pulse_polarity=clk_pulse_polarity,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_grpc_interpreter.py:2123: in get_timing_attribute_double
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x0000026394F43AF0>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<139>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<139>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError
Check warning on line 0 in tests.component.task.test_timing
github-actions / Test Results
All 10 runs failed: test___timing___cfg_burst_handshaking_export_clock___no_errors[grpc_init_kwargs-/Dev1/PFI1-Polarity.ACTIVE_LOW-Level.LOW-Polarity.ACTIVE_LOW] (tests.component.task.test_timing)
test_results/system-py310-grpc-win-10-py32.xml [took 0s]
test_results/system-py310-grpc-win-10-py64.xml [took 0s]
test_results/system-py311-grpc-win-10-py32.xml [took 0s]
test_results/system-py311-grpc-win-10-py64.xml [took 0s]
test_results/system-py312-grpc-win-10-py32.xml [took 0s]
test_results/system-py312-grpc-win-10-py64.xml [took 0s]
test_results/system-py38-grpc-win-10-py32.xml [took 0s]
test_results/system-py38-grpc-win-10-py64.xml [took 0s]
test_results/system-py39-grpc-win-10-py32.xml [took 0s]
test_results/system-py39-grpc-win-10-py64.xml [took 0s]
Raw output
nidaqmx.errors.DaqError: No device by the given name was found.
Device Specified: Dev1
Task Name: _unnamedTask<13A>
Status Code: -88717
sim_6535_di_single_line_task = Task(name=_unnamedTask<13A>)
clk_outp_term = '/Dev1/PFI1', clk_pulse_polarity = <Polarity.ACTIVE_LOW: 10096>
pause_when = <Level.LOW: 10214>
ready_event_active_level = <Polarity.ACTIVE_LOW: 10096>
@pytest.mark.parametrize(
"clk_outp_term, clk_pulse_polarity, pause_when, ready_event_active_level",
[
("/Dev1/PFI0", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_HIGH),
("/Dev1/PFI1", Polarity.ACTIVE_HIGH, Level.HIGH, Polarity.ACTIVE_LOW),
("/Dev1/PFI1", Polarity.ACTIVE_LOW, Level.LOW, Polarity.ACTIVE_LOW),
],
)
def test___timing___cfg_burst_handshaking_export_clock___no_errors(
sim_6535_di_single_line_task: Task,
clk_outp_term: str,
clk_pulse_polarity: int,
pause_when: int,
ready_event_active_level: int,
):
sim_6535_di_single_line_task.timing.cfg_burst_handshaking_timing_export_clock(
sample_clk_rate=32000.0,
sample_clk_outp_term=clk_outp_term,
sample_mode=AcquisitionType.FINITE,
samps_per_chan=2000,
sample_clk_pulse_polarity=clk_pulse_polarity,
pause_when=pause_when,
ready_event_active_level=ready_event_active_level,
)
> assert sim_6535_di_single_line_task.timing.samp_clk_rate == 32000
tests\component\task\test_timing.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
generated\nidaqmx\task\_timing.py:731: in samp_clk_rate
val = self._interpreter.get_timing_attribute_double(self._handle, 0x1344)
generated\nidaqmx\_grpc_interpreter.py:2123: in get_timing_attribute_double
response = self._invoke(
generated\nidaqmx\_grpc_interpreter.py:97: in _invoke
self._handle_rpc_error(rpc_error)
generated\nidaqmx\_grpc_interpreter.py:131: in _handle_rpc_error
self._raise_error(error_code, error_message, samps_per_chan_written, samps_per_chan_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <nidaqmx._grpc_interpreter.GrpcStubInterpreter object at 0x0000026394359210>
error_code = -88717
error_message = 'No device by the given name was found.\nDevice Specified: Dev1\n\nTask Name: _unnamedTask<13A>\n\nStatus Code: -88717'
samps_per_chan_written = None, samps_per_chan_read = None
def _raise_error(self, error_code, error_message, samps_per_chan_written=None, samps_per_chan_read=None):
if error_code < 0:
if samps_per_chan_read is not None:
raise errors.DaqReadError(error_message, error_code, samps_per_chan_read) from None
elif samps_per_chan_written is not None:
raise errors.DaqWriteError(error_message, error_code, samps_per_chan_written) from None
else:
> raise errors.DaqError(error_message, error_code) from None
E nidaqmx.errors.DaqError: No device by the given name was found.
E Device Specified: Dev1
E
E Task Name: _unnamedTask<13A>
E
E Status Code: -88717
generated\nidaqmx\_grpc_interpreter.py:148: DaqError