Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming PXI-4110 with C#.NET

Trying to program a PXI-4110 with C#.NET.  Used the following code:
 

IviSessionFactoryClass

sf = new IviSessionFactoryClass();

pxi4110 = (

IIviDCPwr)sf.CreateDriver("PXI1Slot13");

 
Gives error of not having Prog ID not set correctly.  Tried putting in a value in MAX and received a Prog ID not registered.
 
Any examples with C# would be great.
 
It is working under CVI.
0 Kudos
Message 1 of 2
(3,272 Views)
BobbyJ,

Attached is a wrapper class created using Measurement Studio for the NI-4110 driver. It is not tested for full functionality but gives you the same functions as the text-based shipping examples.

Abhinav T.
Applications Engineer
National Instruments
Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 2 of 2
(3,253 Views)