Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Spectrum Analyser C#.NET driver

Hi ,

 

I am new to the world of Measurement Studio . I have downloaded PSA spectrum Analyser E4440A  Labview Driver from

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=309EBE8FF8BC0E76E0440003BA7CCD...

 

How can I use it in my C# application ?  Please provide some guidance


Thanks
Akhil

0 Kudos
Message 1 of 9
(5,977 Views)

Akhil,

 

That driver is only able to be used with the LabVIEW development system.  If you have LabVIEW 2009, you could take the driver and convert all the VIs into a .NET assembly to use in your C# application.  If you have an earlier version of LabVIEW, you could convert all the driver VIs into a DLL to use in C#.  Other than that, there's not much else you can do.

Eric B.
National Instruments
0 Kudos
Message 2 of 9
(5,957 Views)

Eric ,

 

I will  try downloading trial version of LabVIEW 2009 and use it along with LabVIEW 8.6. Can I have two versions of LabVIEW simultaneously in my laptop?

 

 

Is there any URL which can guide me to create the .NET assembly from LabVIEW driver ?

 

Thanks
Akhil

0 Kudos
Message 3 of 9
(5,942 Views)

Akhil,

 

Yes, you can have LabVIEW 2009 and LabVIEW 8.6 on the same computer.

 

Here is a link to the LabVIEW 2009 online help that shows you how to build a .NET assembly: http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/building_a_net_assembly/ .  Note that for every VI you add to the assembly, you have to define the prototype of the function.  You can certainly add all of the VIs of this driver to the assembly, but it might take some time and it might not work correctly the first time around if a function prototype is not defined correctly.

Eric B.
National Instruments
0 Kudos
Message 4 of 9
(5,928 Views)

there is a driver.  It's a NI-Visa driver, it's agpsa.dll  I use it in my .net app.

0 Kudos
Message 5 of 9
(5,655 Views)

spvogel,

 

Where did you get that driver?  It'd be helpful to post a link so other community members could download the assembly and use it in their program if it's publically available.

Eric B.
National Instruments
0 Kudos
Message 6 of 9
(5,616 Views)
It was on my NI-Device Drivers DVD that was part of my installation discs.
0 Kudos
Message 7 of 9
(5,609 Views)

Eric ,

 

I don't have NI installation DVD. Can you upload the assembly ?

Thanks
Akhil

0 Kudos
Message 8 of 9
(5,601 Views)

Akhil,

 

I don't have this assembly on my machine, but you can download the latest version of the Device Drivers DVD from this website: http://joule.ni.com/nidu/cds/view/p/id/1451/lang/en

 

 

spvogel,

 

Do you know what part of the Device Drivers DVD installed this assembly?  It appears to be a 3rd party assembly, and I don't know what of our software would install that instrument driver.

Eric B.
National Instruments
0 Kudos
Message 9 of 9
(5,596 Views)