Hello HSaelens
I am attaching a C# and VB.NET wrapper that was created for NI-Switch 2.2 using
Measurement Studio 7.0 Instrument Driver wizard. This wizard lets you use the Switch C api functions from C# and VB.NET by generating .NET interop code for you.
To use these wrappers from an existing project, add them to the solution by going to the Solutions Explorer. Right click on the project name, go to Add >> Add Existing Item. Select the .vb/.cs file for the instrument of your choice in your VB.NET/C# project.
You can refer to the individual wrapper files to make sure you include the correct namespaces. The individual cs and vb file
s contain comments that describe the individual functions.
I hope this helps
Bilal Durrani
NI
Bilal Durrani
NI