ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

FindResources not returning device

Solved!
Go to solution

Hi,

 

Me: Newbie to NI DAQ. 40 years development, hw and tech experience.

Board: USB-6501 (24ch DIO).

Tools: Visual Studio 2010, .Net 4.0., VB.Net

Task: Build Industrial IO application to read/set digital IO.

 

Observed: The newly installed USB-6501 device is listed in MAX, but not listed when using "FindResources" from the VB code as shown below.

 

Questions:

a) What is as a minimum needed NI software/drivers needed to read/set simple IO via USB-6501 from an VB.Net + Visual Studio application?

b) Is the below shown approach sensible / how should I get started?

c) If sensible, why is the device not listed as a resource?

 

Thanks!

 

Kay Seljeseth

 

 

NI_First.png

0 Kudos
Message 1 of 4
(4,653 Views)
Solution
Accepted by KaySel

NI-DAQmx

0 Kudos
Message 2 of 4
(4,648 Views)

Every information I have found for Visual Studio and VB seems to be related to Measurement Studio. Is there any information related to creating a simple VB application directly to NI-DAQmx and the USB-6501 unit somewhere? I do not need tons of user controls and statistics. 🙂

Is Measurement Studio (MS) required for VB.Net programming?

Do I have to buy MS separately (I cant find it in VS after installing the NI-DAQmx sw)?

How about deployment to non-development computers that will run the production software?

 

0 Kudos
Message 3 of 4
(4,636 Views)

Issue solved. The DAQmx development support was not installed for the VS environment. There are quite a few settings in the install package to check/set. I am now able to read the pins using DAQmx directly and so far - so good.

0 Kudos
Message 4 of 4
(4,626 Views)