Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDAQ traditional & .NET languages

Hello,

I have NIDAQ 7.3 installed on a Windows XP machine. I do not have Measurement Studio. The ".NET Languages Support" is installed.

My application is very simple: N externally triggered voltage readings on 1 input channel with a PCI-6052E board.

All I need is basically the sample program called "DAQsingleBufExtConv_Eseries" which works perfectely fine with Visual Basic 5. It uses NIDAQ traditional functions such as DAQ_Start and DAQ_VScale.

My problem comes when I want to upgrade that program to .NET Visual Basic. After proper conversion of the language, I get an unstable behavior: uncomplete data acquisition or program aborts. Does it have to do with the particular structure of arrays in .NET languages? Can this be simply solved keeping the NIDAQ traditional functions?

I understand that one can write .NET programs but is it absolutely necessary to buy Measurement Studio to do this? I actually found a couple of sample .NET/NIDAQmx programs in the NI folder on my system but I miss the proper help files to understand how they work.


Any help will be welcome.
Pascal.
0 Kudos
Message 1 of 4
(4,062 Views)
You do not need to have Measurement Studio to be able to use the .NET DAQMx API. Once you install the .NET support, you get vb.net and c# daqmx examples installed as well.

You can find them under C:\Program Files\National Instruments\MeasurementStudio2003\DotNET\Examples\DAQmx

Even thought the folder says Measurement Studio, you can run the shipping examples without requiring any Measurement Studio components.

Check out this post for more information.
Bilal Durrani
NI
0 Kudos
Message 2 of 4
(4,051 Views)
>You do not need to have Measurement Studio to be able to use the .NET DAQMx API.
>Once you install the .NET support, you get vb.net and c# daqmx examples installed as well.
>
>You can find them under C:\Program Files\National Instruments\MeasurementStudio2003\DotNET\Examples\DAQmx
>
>Even thought the folder says Measurement Studio, you can run the shipping examples without requiring any Measurement Studio >components.
>
>Check out this post for more information.
>
>Bilal Durrani
>NI


Thank you Bilal,

I actually found the examples you refer to. From your post I understand an online reference documentation to the .NET DAQMx API should have been installed too. Where do I access it from? Visual Studio? I seem to have missed it.

Pascal.
0 Kudos
Message 3 of 4
(4,044 Views)
From Visual Studio .NET, go to Help >> Contents. Filter By Measurement Studio .NET class libraries. Then goto NI Measurement Studio .NET Class Library. Under Reference, you will while the API Help under the NationalInstruments.DAQmx folder. Under the "Using Measurement Studio .NET class libraries", you will find a topic for using the DAQmx libraries. We also have integrated with F1 Help and Dynamic Help within teh enviornment.

Hope this helps
Bilal Durrani
NI
0 Kudos
Message 4 of 4
(4,023 Views)