Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming PXI switch basic

I have some basic question about using ni switch.  I am planning to use the PXI-2530B.  See questions below.

 

1. Is NI Switch Executive Development System required to program the switch in LabVIEW?

2. I have some NI-Switch VI in my LabVIEW, but when I put them on the block diagram, I keep getting a error that says "Error loading "niswitch_32.dll", a DLL initialization routine failed

3. Majority of the PXI multiplexer modules are PXI.  Does that mean I have to buy a PXI chasis and cannot get the PXIe chassis?  OR does PXIe chassis support PXI modules as well?  Would the PXI-2530B works in a PXIe chassis?  

4.  Besides LabVIEW, what other software do I need to program the switch?  

 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 5
(6,873 Views)

1. No
2. What is your LabVIEW, DAQmx and NI-Switch version?
3. You can check whether the multiplexer support Hybrid slot in its specification. Then, check PXI chassis specification whether it has enough hybrid slot for you. Hybrid means it can use either with PXIe or PXI (that support Hybrid slot) card. However, most of new switch models comes with both PXI and PXIe interface.
4. C and .NET.

Message 2 of 5
(6,868 Views)

I have NI-Switch 4.6.5 installed.  Did the error come from not having a switch connected?  You mentioned C and .NET.  Did you mean that they can also program the switch or in additional to LabVIEW they are also needed?  

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 5
(6,865 Views)

No, you don't have to have those environments, those are just some of the other options you have for programming the niSwitch library. Anything capable of calling into a C DLL with basic datatypes and stdcall is a potential client of niSwitch.

 

-Serge

Message 4 of 5
(6,862 Views)

Hey Jyang,

Did you get up and running?  You don't need any HW to place NI-Switch VIs onto the block diagram.  It sounds like the NI-Switch driver isn't installed properly; I recommend reinstalling the driver.  Let us know if you're still having issues using the driver and we can continue the conversation.  Happy clicking!

-John Sullivan
Problem Solver
0 Kudos
Message 5 of 5
(6,799 Views)