Measurement Studio for .NET Languages

取消
显示结果 
搜索替代 
您的意思是: 

NI 6703 VB.NET code

Hello,
I am trying to write a code (VB.NET) that will sample data @ 2k per channel for all 16 channels (single ended mode) simultaneously.

Any suggestion or example code will be appreciated.
0 项奖励
1 条消息(共 3 条)
3,460 次查看
Hi Bryan -

If you installed support for .NET languages with your NI-DAQmx driver, then you can find example programs for Analog Voltage Output here:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET1.1\Analog Out\Generate Voltage

More generally, all the .NET example programs are found a few folders up:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET1.1\

This should get you started.
David Staab, CLA
Staff Systems Engineer
National Instruments
0 项奖励
2 条消息(共 3 条)
3,448 次查看

Hi bryan81,

David is correct about the locations on your system but I wanted to mention that DAQ example locations will depend upon what version of NI-DAQmx you have installed as well as Measurement Studio. 

Alternative locations might be:

.NET 2.0 Framework

Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Examples\DAQmx
(without Measurement Studio)
Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Examples\DAQmxwithUI
(with Measurement Studio; you will also have the above directory as well)

.NET 1.1 Framework

Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmx
(without Measurement Studio)
Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmxwithUI
(with Measurement Studio; you will also have the above directory as well)

Now, if you installed DAQmx 8.5 and didn't have Measurement Studio installed, then you will be looking at the locations that David mentioned. For further help, open up the NI-DAQmx documentation for .NET 2.0 (Start >> All Programs >> National Instruments >> NI-DAQ >> NI-DAQmx .NET 2.0 Framework Help), look at the Where to Find Examples help topic under the NI Measurement Studio Help category (even if you don't have Measurement Studio, you will still see Measurement Studio as the title of some categories).

Hope this helps!

Best Regards,

Message Edited by Jonathan N on 03-30-2007 03:23 PM

Jonathan N.
National Instruments
0 项奖励
3 条消息(共 3 条)
3,445 次查看