PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

VB .NET Driver for NI PXI-5421 AWG

Hi,

 

I am wondering what would be the ideal way to create a basic driver for an NI instrument (NI PXI-5421) that would allow me to access some of its basic functions from within a VB .NET project.  I have been told that I could create a VI and export it as a DLL, and I would be able to access it's inputs and outputs as functions/methods from VB.  However, I suspect it may be more complicated than that.

 

Thanks in advance for any help.

 

-Billy Maier

0 Kudos
Message 1 of 2
(5,318 Views)

Hi Billy,

 

The method you suggested would definitely work, but it does revolve around creating your VIs in LabVIEW yourself. 

 

Another alternative would be to use the FGEN wrapper (already built). This .NET (C# or VB) contains the NI-FGEN functions, sessions, settings, etc. within an assembly. You can just include it in your program and use the wrapper functions in the same logical manner as LabVIEW. Here are a couple of very useful links for the NI-FGEN Wrapper:

 

Hope this helps!

Xavier
0 Kudos
Message 2 of 2
(5,294 Views)