Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How start and stop a task with C# ?

Solved!
Go to solution

Guys,

 

I need a help. I'm trying reproduce a task created using Meansument & Automation Explorer. The task is very simple create a digital output channel and send values 0 or 1 to enable and disable a relay in my DAQmx board.

 

Regards,

 

Alexandre A.

0 Kudos
Message 1 of 4
(5,963 Views)

Hello Alexandre,

 

     C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC

 

    When you install DAQmx you install examples for Visual C too. Maybe you
adapte to C#.

 

Abel
NI Brazil

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 Kudos
Message 2 of 4
(5,942 Views)

Duplicated forum

 

http://forums.ni.com/ni/board/message?board.id=250&message.id=44387

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 Kudos
Message 3 of 4
(5,923 Views)
Solution
Accepted by topic author Aalbuquerque

I found the solution, add a new item in solution using add new item choose ni component and set the configurations like a kind of task you need. The item will create a class to the your task, this class has all events to start and stop a task and you can add your new methods if necessary.

 

 

Thanks all.

 

Alexandre Albuquerque

0 Kudos
Message 4 of 4
(5,920 Views)