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.
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.
09-17-2008 02:16 AM - edited 09-17-2008 02:19 AM
09-17-2008 07:46 PM
Hi C.,
.NET will not accept NISWITCH_32.dll because it is a C DLL and .NET requires an assembly or COM component. I recommend using one of our Visual Basic .NET example programs and the included .NET wrapper. Once the simple example works, then you can change the code to employ scanning and/or whatever else you might need to accomplish.
Here is a .NET example showing how to make connections on a switch:
http://zone.ni.com/devzone/cda/epd/p/id/4577
I was able to upgrade it simply by opening the .sln with the Microsoft Visual Basic 2008 Express Edition. Attached, I have shown how to configure Form1 so the program will work with a PXI-2532.
Let me know if you have further questions!
Chad Erickson
Switch Product Support Engineer
NI - USA
09-17-2008 09:38 PM