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: 

20mhz timebase

Hello,

I've created the task in the attachment. How can I convert this to C# Code?

Thanks

André

0 Kudos
Message 1 of 2
(3,528 Views)
Hi,

There are .NET examples that install with the DAQmx driver that serve as a great starting point for creating DAQmx tasks in C# using the National Instruments DAQmx Library. Please reference the C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNETX.x\Counter\Measure Period or Pulse Width\ folder for these examples.

I would recommend looking at C:\Documents and Settings\All Users\Documents\National Instruments\<NI-DAQ>\Examples\DotNETX.x\Counter\Measure Period or Pulse Width\MeasDigPeriodsBufCon_HighFrq2Ctr\cs\MeasDigPeriodsBufCon_HighFrq2Ctr.2005.sln, this example demonstrates how to measure periods using two counters.

-Adri K
Adri Kruger
National Instruments
LabVIEW Product Marketing
0 Kudos
Message 2 of 2
(3,515 Views)