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
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ requirements:
Before running the regression tests, import the appropriate NI MAX configuration files:
- ``tests\max_config\nidaqmxMaxConfig.ini``: Contains custom scales, global channels, simulated devices,
and tasks used by many regression tests.
- **Note:** If you have DAQmx 26Q1 or later, also import ``tests\max_config\nidaqmxMaxConfig26Q1.ini`` to validate new features.
- **Note:** On Linux, use ``tests\max_config\linux\nidaqmxMaxConfig.ini`` to avoid importing an unsupported device.
- ``tests\max_config\examplesMaxConfig.ini``: Contains simulated devices used by the example programs.
Importing this file is optional. It is used to run a subset of the example programs as test cases.
Expand Down
3 changes: 3 additions & 0 deletions tests/component/task/channels/test_ai_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,9 @@ def test___task___add_ai_chans_with_name___sets_channel_name(
(CurrentShuntResistorLocation.EXTERNAL, CurrentShuntResistorLocation.EXTERNAL),
],
)
@pytest.mark.library_only(
reason="AB#4000847: calculated power channel doesn't work over grpc in Python since it requires internal_get_last_created_chan"
)
def test___task___add_ai_calculated_power_chan___sets_channel_attributes(
task: Task,
sim_4311_device: Device,
Expand Down
2 changes: 1 addition & 1 deletion tests/max_config/nidaqmxMaxConfig26Q1.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ScaleType = Linear
ProductType = PXIe-4311
DevSerialNum = 0x0
DevIsSimulated = 1
ProductNum = 0x7B1AC4C4
ProductNum = 0x7B90C4C4
BusType = PXIe
PXI.ChassisNum = 1
PXI.SlotNum = 4