From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling PXI-2501 Switches in C#

What is the best - prefered - way to control a PXI-2501/2503 Switch Matrix in C#.

I have only been able to find examples showing SCXI switching units. Is it done in the same way?

Code examples would be nice.

Thanks
0 Kudos
Message 1 of 4
(3,671 Views)
I am assuming that the examples you are using are the DAQmx C# examples (Program Files\National Instruments\MeasurementStudio70\DotNET\Examples\DAQmx\Switches).

These examples work for all SCXI and PXI switches that are supported in DAQmx. NI-DAQ 7.1, the currently released version of NI-DAQ driver software, does not support PXI-2501/2503 under DAQmx. These modules will be supported in DAQmx in the next version of the driver.
0 Kudos
Message 2 of 4
(3,671 Views)
So when is the new version going to be available?

How can I control the PXI-2501/2503 switches in C# in the mean time?
0 Kudos
Message 3 of 4
(3,671 Views)
The new version of NI-DAQ will be available for download on the web on April 19th. This version will have DAQmx support for PXI-2501/2503.
0 Kudos
Message 4 of 4
(3,671 Views)