Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find a library (without Measurement Studio)

Hi everyone,

 

I'm using Visual Basic with VS2010 to create a project to read a NI device. I have downloaded the examples of NI for VB, but I have several problems.

 

1) The examples use a library, NationalInstruments.DAQmx, but when I write other example and import the library the program doesn't find the library.

 

2) When I try to modify the examples I can't use the NI objetcs, even if I copy and paste them. For instance, I copy physicalChannelComboBox and when paste I see only a ComboBox. In the left pannel I can't find this objetcs.

 

I can't use Measurement Studio.

 

Thanks for all.

0 Kudos
Message 1 of 6
(5,994 Views)

Hi,

 

Did you install NI-DAXmx? DAQmx comes with the hardware you purchased.

 

Measurement Studio isn't free. Did you purchase and install it?

 

Curt

 

 

0 Kudos
Message 2 of 6
(5,982 Views)

I have downloaded the DAQmx. I have downloadad the NI examples for .NET 4.0.

 

I can't afford the MS, but I think that it is not necessary for my project.

My problem is that I can't find the NI library, and I can use the NI objects in VB, even if I am using an example.

0 Kudos
Message 3 of 6
(5,977 Views)
Hi,

Did you set a reference to DAQmx library? You can't just use the Import function.

Curt
0 Kudos
Message 4 of 6
(5,970 Views)

No, that is the problem, I don't know how to do it... Thanks.

0 Kudos
Message 5 of 6
(5,968 Views)

Hi,

 

Goto menu 'Project->Add Reference' then select the DAQmx library in the list box.

 

Curt

 

DAQmx.png

0 Kudos
Message 6 of 6
(5,959 Views)