-
Notifications
You must be signed in to change notification settings - Fork 188
[26Q1] Add features from DAQmx 26.0 release (Calculated Power and A, C-type Thermocouples) #876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bkeryan
merged 13 commits into
ni:master
from
HSKhor-NI:users/khsheng/daqmx/vpc_python_api
Nov 19, 2025
Merged
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9084a1a
add DAQmxCreateAICalculatedPowerChan python api
HSKhor-NI 1ff8f91
Fix formatting
HSKhor-NI 65a11a6
Fix codegen error
HSKhor-NI 67355f5
Add grpc codegen error workaround
HSKhor-NI 53d6bc6
Remove waveform changes from nidaqmx proto
HSKhor-NI c464d66
Fix PR build
HSKhor-NI e4730a4
Remove waveform channges from function metadata
HSKhor-NI 9986bd9
Merge branch 'master' into users/khsheng/daqmx/vpc_python_api
HSKhor-NI f081e29
Update Changelog
HSKhor-NI 120a055
Update nidaqmx MAX config file
HSKhor-NI 043f5e1
CalculatedPowerPythonAPI
HSKhor-NI 6605ab4
Resolve merge conflict
HSKhor-NI 569fe69
Update 26Q1 MAX config files
HSKhor-NI File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,325 @@ | ||
| [DAQmx] | ||
HSKhor-NI marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| MajorVersion = 26 | ||
| MinorVersion = 0 | ||
|
|
||
| [DAQmxChannel AOTesterTask/VoltageOut_0] | ||
| AO.OutputType = Voltage | ||
| AO.Voltage.Units = Volts | ||
| AO.Max = 16 | ||
| AO.Min = -16 | ||
| ChanType = Analog Output | ||
| AO.TermCfg = Differential | ||
| PhysicalChanName = aoTester/ao0 | ||
|
|
||
| [DAQmxChannel AOTesterTask/VoltageOut_1] | ||
| AO.OutputType = Voltage | ||
| AO.Voltage.Units = Volts | ||
| AO.Max = 16 | ||
| AO.Min = -16 | ||
| ChanType = Analog Output | ||
| AO.TermCfg = Differential | ||
| PhysicalChanName = aoTester/ao1 | ||
|
|
||
| [DAQmxChannel AOTesterTask/VoltageOut_2] | ||
| AO.OutputType = Voltage | ||
| AO.Voltage.Units = Volts | ||
| AO.Max = 16 | ||
| AO.Min = -16 | ||
| ChanType = Analog Output | ||
| AO.TermCfg = Differential | ||
| PhysicalChanName = aoTester/ao2 | ||
|
|
||
| [DAQmxTask AOTesterTask] | ||
| Channels = AOTesterTask/VoltageOut_0, AOTesterTask/VoltageOut_1, AOTesterTask/VoltageOut_2 | ||
| SampQuant.SampMode = Finite Samples | ||
| SampClk.ActiveEdge = Rising | ||
| SampQuant.SampPerChan = 100 | ||
| SampClk.Rate = 1000 | ||
| SampTimingType = Sample Clock | ||
| RegenMode = Allow Regeneration | ||
| SampClk.Src = | ||
|
|
||
| [DAQmxChannel VoltageTesterChannel] | ||
| AI.MeasType = Voltage | ||
| AI.Voltage.Units = Volts | ||
| AI.TermCfg = Differential | ||
| AI.Max = 10 | ||
| AI.Min = -10 | ||
| ChanType = Analog Input | ||
| PhysicalChanName = tsVoltageTester1/ai0 | ||
| Descr = | ||
| Author = "Test Author" | ||
| AllowInteractiveEditing = True | ||
|
|
||
| [DAQmxChannel VoltageTesterChannel2] | ||
| AI.MeasType = Voltage | ||
| AI.Voltage.Units = Volts | ||
| AI.TermCfg = Differential | ||
| AI.Max = 5 | ||
| AI.Min = -5 | ||
| ChanType = Analog Input | ||
| PhysicalChanName = tsVoltageTester1/ai1 | ||
| Descr = "Another channel" | ||
| Author = "Another Test Author" | ||
| AllowInteractiveEditing = True | ||
|
|
||
| [DAQmxChannel VoltageTesterTask/Voltage_0] | ||
| AI.MeasType = Voltage | ||
| AI.Voltage.Units = Volts | ||
| AI.TermCfg = Differential | ||
| AI.Max = 10 | ||
| AI.Min = -10 | ||
| ChanType = Analog Input | ||
| PhysicalChanName = tsVoltageTester1/ai0 | ||
|
|
||
| [DAQmxTask VoltageTesterTask] | ||
| Channels = VoltageTesterTask/Voltage_0 | ||
| SampQuant.SampMode = Finite Samples | ||
| SampClk.ActiveEdge = Rising | ||
| SampQuant.SampPerChan = 100 | ||
| SampClk.Rate = 1000 | ||
| SampTimingType = Sample Clock | ||
| SampClk.Src = | ||
| Author = Test Author | ||
| AllowInteractiveEditing = True | ||
|
|
||
| [DAQmxScale double_gain_scale] | ||
| Lin.Slope = 2 | ||
| Lin.YIntercept = 0 | ||
| PreScaledUnits = Volts | ||
| ScaledUnits = | ||
| ScaleType = Linear | ||
| Author = Test Author | ||
| AllowInteractiveEditing = True | ||
| Descr = Twice the gain | ||
|
|
||
| [DAQmxScale no_scaling_scale] | ||
| Lin.Slope = 1 | ||
| Lin.YIntercept = 0 | ||
| PreScaledUnits = Volts | ||
| ScaledUnits = | ||
| ScaleType = Linear | ||
|
|
||
| [DAQmxScale polynomial_scale] | ||
| Poly.ForwardCoeff = 0, 1 | ||
| Poly.ReverseCoeff = 0, 1 | ||
| PreScaledUnits = Volts | ||
| ScaledUnits = | ||
| ScaleType = Polynomial | ||
|
|
||
| [DAQmxScale degrees_scale] | ||
| Lin.Slope = 2 | ||
| Lin.YIntercept = 0 | ||
| PreScaledUnits = Degrees | ||
| ScaledUnits = potatoes | ||
| ScaleType = Linear | ||
|
|
||
| [DAQmxScale power_scale] | ||
| Lin.Slope = 1 | ||
| Lin.YIntercept = 0 | ||
| PreScaledUnits = Watts | ||
| ScaledUnits = | ||
| ScaleType = Linear | ||
|
|
||
| [DAQmxDevice aoTester] | ||
| ProductType = PXIe-4322 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x76ABC4C4 | ||
| BusType = PXIe | ||
| PXI.ChassisNum = 1 | ||
| PXI.SlotNum = 3 | ||
|
|
||
| [DAQmxDevice bridgeTester] | ||
| ProductType = PXIe-4331 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x74A9C4C4 | ||
| BusType = PXIe | ||
| PXI.ChassisNum = 1 | ||
| PXI.SlotNum = 2 | ||
|
|
||
| [DAQmxAccessory RM-24999_A/bridgeTester/0] | ||
|
|
||
| [DAQmxDevice chargeTester] | ||
| ProductType = PXIe-4480 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7844C4C4 | ||
| BusType = PXIe | ||
| PXI.ChassisNum = 1 | ||
| PXI.SlotNum = 5 | ||
|
|
||
| [DAQmxDevice dmmTester] | ||
| ProductType = NI myDAQ | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x755B | ||
| BusType = USB | ||
|
|
||
| [DAQmxDevice dsaTester] | ||
| ProductType = PXIe-4466 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7A8DC4C4 | ||
| BusType = PXIe | ||
| PXI.ChassisNum = 1 | ||
| PXI.SlotNum = 6 | ||
|
|
||
| [DAQmxDevice nidaqmxMultithreadingTester1] | ||
| ProductType = PCIe-6363 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7435C4C4 | ||
| BusType = PCIe | ||
| PCI.BusNum = 0x0 | ||
| PCI.DevNum = 0x0 | ||
|
|
||
| [DAQmxDevice nidaqmxMultithreadingTester2] | ||
| ProductType = PCIe-6363 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7435C4C4 | ||
| BusType = PCIe | ||
| PCI.BusNum = 0x0 | ||
| PCI.DevNum = 0x0 | ||
|
|
||
| [DAQmxDevice nidaqmxMultithreadingTester3] | ||
| ProductType = PCIe-6363 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7435C4C4 | ||
| BusType = PCIe | ||
| PCI.BusNum = 0x0 | ||
| PCI.DevNum = 0x0 | ||
|
|
||
| [DAQmxDevice nidaqmxMultithreadingTester4] | ||
| ProductType = PCIe-6363 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7435C4C4 | ||
| BusType = PCIe | ||
| PCI.BusNum = 0x0 | ||
| PCI.DevNum = 0x0 | ||
|
|
||
| [DAQmxDevice hsdioTester] | ||
| ProductType = PCIe-6535 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x719F | ||
| BusType = PCIe | ||
| PCI.BusNum = 0x0 | ||
| PCI.DevNum = 0x0 | ||
|
|
||
| [DAQmxDevice positionTester] | ||
| ProductType = PXIe-4340 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7829C4C4 | ||
| BusType = PXIe | ||
| PXI.ChassisNum = 4294967295 | ||
| PXI.SlotNum = 4294967295 | ||
|
|
||
| [DAQmxDevice tempTester] | ||
| ProductType = PXIe-4353 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x74B2C4C4 | ||
| BusType = PXIe | ||
| PXI.ChassisNum = 1 | ||
| PXI.SlotNum = 7 | ||
|
|
||
| [DAQmxCDAQChassis tsChassisTester] | ||
| ProductType = TS-15000 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
|
|
||
| [DAQmxCDAQModule tsPowerTester1] | ||
| ProductType = TS-15200 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = tsChassisTester | ||
| CompactDAQ.SlotNum = 1 | ||
|
|
||
| [DAQmxCDAQModule tsPowerTester2] | ||
| ProductType = TS-15200 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = tsChassisTester | ||
| CompactDAQ.SlotNum = 2 | ||
|
|
||
| [DAQmxCDAQModule tsVoltageTester1] | ||
| ProductType = TS-15100 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = tsChassisTester | ||
| CompactDAQ.SlotNum = 3 | ||
|
|
||
| [DAQmxCDAQChassis cdaqChassisTester] | ||
| ProductType = cDAQ-9189 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| BusType = TCP/IP | ||
| TCPIP.Hostname = | ||
| TCPIP.EthernetIP = 0.0.0.0 | ||
| TCPIP.EthernetMAC = 00:00:00:00:00:00 | ||
| TCPIP.EthernetMDNSServiceInstance = | ||
| TCPIP.DevIsReserved = 0 | ||
|
|
||
| [DAQmxCDAQModule cdaqTesterMod1] | ||
| ProductType = NI 9361 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = cdaqChassisTester | ||
| CompactDAQ.SlotNum = 1 | ||
|
|
||
| [DAQmxCDAQModule cdaqTesterMod2] | ||
| ProductType = NI 9215 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = cdaqChassisTester | ||
| CompactDAQ.SlotNum = 2 | ||
|
|
||
| [DAQmxCDAQModule cdaqTesterMod3] | ||
| ProductType = NI 9775 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = cdaqChassisTester | ||
| CompactDAQ.SlotNum = 3 | ||
|
|
||
| [DAQmxCDAQModule cdaqTesterMod4] | ||
| ProductType = NI 9401 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = cdaqChassisTester | ||
| CompactDAQ.SlotNum = 4 | ||
|
|
||
| [DAQmxCDAQModule cdaqTesterMod5] | ||
| ProductType = NI 9263 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = cdaqChassisTester | ||
| CompactDAQ.SlotNum = 5 | ||
|
|
||
| [DAQmxCDAQModule cdaqTesterMod6] | ||
| ProductType = NI 9205 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| CompactDAQ.ChassisDevName = cdaqChassisTester | ||
| CompactDAQ.SlotNum = 6 | ||
|
|
||
| [DAQmxDevice mioDAQ] | ||
| ProductType = USB-6423 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7B40 | ||
| BusType = USB | ||
|
|
||
| [DAQmxDevice pxie4311] | ||
| ProductType = PXIe-4311 | ||
| DevSerialNum = 0x0 | ||
| DevIsSimulated = 1 | ||
| ProductNum = 0x7B1AC4C4 | ||
| BusType = PXIe | ||
| PXI.ChassisNum = 1 | ||
| PXI.SlotNum = 4 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.