Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

measure continous frequency vb.net example

Hi

 

-looking for vb.net and measurment studio CONTINOUS frequency measurment example , the only one i found is "MeasDigFrequency_LowFreq1Ctr.vbp" and it does not make contionus measurment , am using pc-mio-16XE-10 daq board and ni daqmx 9.6 , please advice ?

 

Best Regards

MyKat

0 Kudos
Message 1 of 3
(5,112 Views)

Hello,

NI-DAQmx should ship with 3 counter examples for VB .NET at: C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET<version>\Counter\Measure Digital Frequency

You can also open examples in Visual Studio by going to Measurement Studio >>  Measurement Studio Examples and navigating to

 

The three examples are:

  1. MeasDigFreqBuffCont_ExtClk_ArmStart -- which is continuous acquisition based on an external clock and a trigger
  2. MeasDigFreqBuffCont_LargeRange2Ctr -- also a continuous example
  3. MeasDigFrequency_LowFreq1Ctr -- not continuous, as you noted

In both the continuous examples, you can see that clicking the Start button creates and starts the DAQmx Task, the reading is done in a CounterInCallback function, and the Task is stopped and  Disposed when the Stop button is clicked. Hope these examples help!

Taylor B.
National Instruments
0 Kudos
Message 2 of 3
(5,095 Views)

thanks very much

0 Kudos
Message 3 of 3
(5,089 Views)