10-11-2013 05:31 PM
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?
10-12-2013 02:42 AM
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.
10-12-2013 03:45 PM
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?
10-12-2013 03:56 PM
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
10-24-2013 11:33 AM
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!