Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Daqmx digital output signal with VB.net Button

Hi I´m new with Measurement Studio for Visual Studio.

 

I have done some projects with VB.net 2010.

 

---------------------------------------------------------------------------------------------------------------------------------------------

First my Hardware and Software:

 

PC with Win7 SP1 professionell

Visual Studio 2010 SP1

4 weeks Testversion Measurement Studio 2012 professionell

 

NIDAQ 9.5.5

cDAQ 9178 with NI 9477 (DO) and NI 9425 (DI)

 

I created in MAX 2 NI-DAQmx Tasks.

 

6 DO Channles from 9477 Modul

 

5 DI Channels from 9425 Modul.

 

I have already created  a NI Windows Form Application Project with new Item NI DAQ Component.

 

----------------------------------------------------------------------------------------------------------------------------------------

 

 

Now I want to turn on a DO channel through Visual Studio and Measurement Studio with a Button control or  Switch control.

If this DO channel is switched,  a DI Channel turn on a Measurement Studio LED control.

 

I have no idea how to begin. Could someone give me jump start?

 

all the best

Markus

 

 

 

 

 

0 Kudos
Message 1 of 2
(5,972 Views)

Hi Markus,

 

thank you for using the National Instruments Forum.

 

There are great resources helping you getting started with Measurement Studio. Many examples ship with Measurement Studio.

 

Have a look at your Windows Start Menu. In the National Instruments / Measurement Studio folder there is a folder ".NET Examples". The .NET Examples include a Visual Basic project for DAQmx Digital IO.

 

Also, have a look at the Getting Started document in the Measurement Studio Start Menu folder.

 

Before you start with programming your DIO task in VB please learn some basics about NI-DAQmx.

 

Getting Started with NI-DAQmx: Main Page

http://www.ni.com/white-paper/5434/en

 


Topper

 

 

 

0 Kudos
Message 2 of 2
(5,947 Views)