Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Best practise to log counter events in C#

Hi,

 

I'm just getting started with daq programming, so please bare with me, if I ask some basic stuff. Most of the time I'm working with a virtual device only (cDAQ-9171 + NI 9401) and I'd like to observe Inputs and Outputs within my C# program. I created a Counter that generates pulses with 1Hz. How can I trigger an event in my code everytime a pulse occurs?

 

Best

Tom

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

Hi,

 

There are several examples that instal with DAQmx at

 

C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET4.0\Counter

 

Curt

0 Kudos
Message 2 of 2
(3,455 Views)