Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def read_waveforms(
waveforms: list[AnalogWaveform[numpy.float64]],
number_of_samples_per_channel: int = READ_ALL_AVAILABLE,
reallocation_policy: ReallocationPolicy = ReallocationPolicy.TO_GROW,
timeout: int = 10,
timeout: float = 10.0,
) -> int:
"""Reads one or more floating-point samples from one or more analog input channels into a list of waveforms.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def read_waveform(
waveform: AnalogWaveform[numpy.float64],
number_of_samples_per_channel: int = READ_ALL_AVAILABLE,
reallocation_policy: ReallocationPolicy = ReallocationPolicy.TO_GROW,
timeout: int = 10,
timeout: float = 10.0,
) -> int:
"""Reads one or more floating-point samples from a single analog input channel into a waveform.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def read_waveforms(
waveforms: list[DigitalWaveform[Any]],
number_of_samples_per_channel: int = READ_ALL_AVAILABLE,
reallocation_policy: ReallocationPolicy = ReallocationPolicy.TO_GROW,
timeout: int = 10,
timeout: float = 10.0,
) -> list[DigitalWaveform[Any]]:
"""Reads one or more samples from one or more digital input channels into a list of waveforms.

Expand Down
1 change: 1 addition & 0 deletions generated/nidaqmx/system/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""NI-DAQmx system classes."""

from nidaqmx.system import storage
Copy link
Collaborator

@bkeryan bkeryan Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this start causing problems now and not previously?

from nidaqmx.system.device import Device
from nidaqmx.system.physical_channel import PhysicalChannel
from nidaqmx.system.system import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def read_waveforms(
waveforms: list[AnalogWaveform[numpy.float64]],
number_of_samples_per_channel: int = READ_ALL_AVAILABLE,
reallocation_policy: ReallocationPolicy = ReallocationPolicy.TO_GROW,
timeout: int = 10,
timeout: float = 10.0,
) -> int:
"""Reads one or more floating-point samples from one or more analog input channels into a list of waveforms.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def read_waveform(
waveform: AnalogWaveform[numpy.float64],
number_of_samples_per_channel: int = READ_ALL_AVAILABLE,
reallocation_policy: ReallocationPolicy = ReallocationPolicy.TO_GROW,
timeout: int = 10,
timeout: float = 10.0,
) -> int:
"""Reads one or more floating-point samples from a single analog input channel into a waveform.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def read_waveforms(
waveforms: list[DigitalWaveform[Any]],
number_of_samples_per_channel: int = READ_ALL_AVAILABLE,
reallocation_policy: ReallocationPolicy = ReallocationPolicy.TO_GROW,
timeout: int = 10,
timeout: float = 10.0,
) -> list[DigitalWaveform[Any]]:
"""Reads one or more samples from one or more digital input channels into a list of waveforms.

Expand Down
1 change: 1 addition & 0 deletions src/handwritten/system/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""NI-DAQmx system classes."""

from nidaqmx.system import storage
from nidaqmx.system.device import Device
from nidaqmx.system.physical_channel import PhysicalChannel
from nidaqmx.system.system import (
Expand Down