From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

measurement studio with Visual Studio 2005 for C#

I would like to find
Start position of the pulse,
Pulse width,
Peak position,
End position of the pulse and
Area under the curve
for the non repetetive pulses
using Visual C#.
 
Pl. help me out to findout above parameters using Measurement studio in Visual studio 2005 C# environment
 
Thanks in Advance.
 
With regards,
 
Tram
0 Kudos
Message 1 of 2
(3,093 Views)
Tram,

To find the area under the curve, you can use the Integration Metods located in the Calculus class (part of NationalInstruments.Analysis.Math namespace as long as you have Professional or Enterprise Edition). The PeakDetector class would probably be best for finding the peak position. This is located in the NationalInstruments.Analysis.Monitoring namespace with Professional and Enterprise editions.


Also, are you using hardware with this to get these pulses? If so, is it our hardware? If it is, it sounds like you would just want to use the DAQmx driver for the rest of your inquiries. If you are already using the DAQmx driver, the help can be found if you go to the Start Menu>>All Programs>>National Instruments>>NI-DAQ>>NI-DAQmx .NET Framework 2.0 Help.


The help for these Analysis functions can be found either through the Visual Studio help, or by going to Start Menu>>All Programs>>National Instruments>>Measurement Studio 8.x for Visual Studio .Net 2005>>Measurement Studio Documentation.

Brandon Vasquez | Software Engineer | Integration Services | National Instruments
0 Kudos
Message 2 of 2
(3,062 Views)