Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

program NI scope board in C++

I am using NI scope board to measure prop delays between 2 signals and rise/fall time of them. I am looking for a sample program in C++ that does those things. Wonder if anybody could help.
TIA
0 Kudos
Message 1 of 2
(2,735 Views)
Ioch,

There are several example programs installed with the NI-SCOPE driver that will allow you to take different measurements including rise and fall time. In the following folder (C:\Program Files\National Instruments\MeasurementStudio\VC\Examples\niScope) you will find two example programs called "MeasurementLibrary" and "AdvancedMeasurementLibrary". These programs have a selection on the control called "Scalar measurement" with Rise Time and Fall Time.

The function that is being used to make this measurement is called niScopeFetchMeasurementStats and details on this function can be found in the NI High-Speed Digitizers Help document. This document can be found by going to Start >> Programs >> National Instruments >> NI-SCOPE >> Documentation. In the Help document go to the following section . . . Programming >> NI-SCOPE Function Reference Help >> Functions >> Measurement Functions.

Hope this helps!

Erick D.
NI Applications Engineer
Message 2 of 2
(2,724 Views)