Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

task in multiple functions

Hi all

 

I've recently started to use NI DAQmx in C#

I would like to use one task in a few functions

 

say

a function to add input channels

a function to read inputs

a function to set outputs

etc...

 

How can I set this in such a way that they all use one task.

 

Regards

Jeroen

 

0 Kudos
Message 1 of 2
(3,148 Views)

Hi Jeroen,

 

First of all, if You're new in DAQmx, this page may be useful.

 

A task can be input or output, analog or digital. If you have to have analog input or output.  

 

You can find a lot of examples in:

C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET3.5 (Vista/Win7)

C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET3.5 (XP)

 

Regards,

Bas

Message Edited by Bas van Dijke on 01-18-2010 02:56 PM
0 Kudos
Message 2 of 2
(3,120 Views)