PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

How could I control PXI-2567 from my C/C++ program?

I need to control the PXI-2567 relay driver from inside my C/C++ programs.

How could I do this, is there a dl, com, or something?

Please tell me if there are any integration documents or user manuals for using whichever method if any.

0 Kudos
Message 1 of 5
(3,965 Views)

Hi BSA,

       You'll want to utilize the NI Switch Driver, which will install both example programs and the NI Switches Help.   There is a Function Reference Section in the NI Switches Help (which is installed with the NI Switch driver, and as well can be found on our website).  Example programs will be installed on your computer under Start»All Programs»National Instruments»NI-SWITCH»Examples»C .  You can also program your switch with2567 with DAQmx.  The differences between the two drivers can be found in this KB.  As well, additional resources for your switch are discussed here

0 Kudos
Message 2 of 5
(3,953 Views)

I'm using DAQmx-Switch to control PXI-2567.  it is configured as independent but the panel shows a column of ch0 through ch63 for a Channel 1 and a Channel 2.  This doesn't make sense for independent topology.  any attempt to close a channel results in error-200187 ... vi 3580002.

0 Kudos
Message 3 of 5
(2,877 Views)

where can I find the programing manual for the NI Switch Driver?  I need a specific example of how to close a single channel on the PXI-2567.

0 Kudos
Message 4 of 5
(2,875 Views)

I got it:  Ch0 connects to Com0.

0 Kudos
Message 5 of 5
(2,872 Views)