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
4 changes: 2 additions & 2 deletions examples/analog_in/calculated_power_acq_int_clk.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

with nidaqmx.Task() as task:
task.ai_channels.add_ai_calculated_power_chan(
voltage_physical_channel="Dev1/ai0",
current_physical_channel="Dev1/ai1",
voltage_physical_channel="PXI1Slot4/ai0",
current_physical_channel="PXI1Slot4/ai1",
voltage_min_val=0.0,
voltage_max_val=5.0,
current_min_val=0.0,
Expand Down
4 changes: 2 additions & 2 deletions examples/analog_in/cont_calculated_power_acq_int_clk.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

with nidaqmx.Task() as task:
task.ai_channels.add_ai_calculated_power_chan(
voltage_physical_channel="Dev1/ai0",
current_physical_channel="Dev1/ai1",
voltage_physical_channel="PXI1Slot4/ai0",
current_physical_channel="PXI1Slot4/ai1",
voltage_min_val=0.0,
voltage_max_val=5.0,
current_min_val=0.0,
Expand Down
9 changes: 9 additions & 0 deletions tests/max_config/examplesMaxConfig.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ BusType = PXIe
PXI.ChassisNum = 1
PXI.SlotNum = 3

[DAQmxDevice PXI1Slot4]
ProductType = PXIe-4311
DevSerialNum = 0x0
DevIsSimulated = 1
ProductNum = 0x7B90C4C4
BusType = PXIe
PXI.ChassisNum = 1
PXI.SlotNum = 4

[DAQmxDevice PXI1Slot7]
ProductType = PXIe-6368
DevSerialNum = 0x0
Expand Down