NI-scope waveform measurement

Newbie here.
I want to acquire a waveform from my digitizer using LabView and NI-scope and perform a scalar measurement on the same waveform.  Looking at the example niscope Ex Measurement Library.vi it appears that a waveform is acquired and displayed in a graph and then a second waveform is acquired and measurements are performed on it.  Is there an NI-scope subvi that performs a measurement and returns the acquired waveform along with the measurement?  Do I need to just acquire the waveform and perform the measurements using some other subvi's?
Thanks.

Hey Newbie ,
If you remove the "niScope Multi Read Cluster.vi" from the "niScope EX Measurement Library.vi" and try to run it you will get an error that says:
An acquisition has not been initiated.
The "Multi Fetch Measurement Stats.vi" does not actually acquire a new set of points from the digitizer but instead uses the set the multi read VI has already acquired (look at the niScope help file for more information on Fetch VIs). The wording for these two VIs is subtly different in the help documentation. The read VI acquires a new waveform and the measurement VI obtains the (currently acquired) waveform. There are two VIs that acquire data and perform a measurement all within the same VI. They are called "niScope Read Measurement.vi" and "niScope Multi Read Measurment.vi." I hope this gets you pointed in the right direction.
Regards,
Adam
National Instruments
Adam
National Instruments
Applications Engineer

Similar Messages

  • Are there some "waveform measurements" componet in Measurement Studio for VC++ as in the LabVIEW ?

    I want to use some"waveform measurements" function , but I don't familiar with  LabVIEW  , 
    Is there a  corresponding  componet in  Measurement Studio for VC++ ? 

    the following webpage may give you some help:
    http://sine.ni.com/nips/cds/view/p/lang/zhs/nid/204741

  • Waveform measurements - info needed

    I am fairly new to LabView and am trying to understand some of the vis in the Waveform Measurements and Analyze folders. Help with any of the following questions is appreciated.
    1) What is the phase output of the Spectral Measurements Express vi? I've seen several examples using this function and none of them use the phase output. If I put in a simulated sine wave with no phase offset, the FFT phase output is -90 deg at the input freq.
    2) What is the amplitude output of the Tone Measurements Express vi? It looks like average peak value over the duration of the signal, but I'd like to be sure.
    3) If I get a value of 28.42f at the "detected phase" output of the Extract Single Tone Information vi, what does the "f" mean?
    4) Is there any information about the details of these functions? The information in the Help window is scant, the tutorials provide a lot of theory, the examples don't always cover what I want to know. Is there somewhere that provides a fuller explanation of the inputs and outputs of the functions?
    Thanks in advance,
    Margaret

    Hi Margaret,
    In response to question 1, the Spectral Measurements Express VI is used for FFT-based measurements, and the Tone Measurements VI is used to find the frequency or amplitude of a specific signal. Have you tried viewing the Detailed Help for these commands? These can be viewed by right-clicking on the command, choosing Control-H to bring up the Context Help, and clicking Detailed Help. This will allow you to view Examples and detailed information on the inputs and outputs.
    Here is some detailed information about the Spectral Measurements Express VI from the Help:
    FFT-based spectral computations assume that the finite block of
    signal data represents one period of a periodic signal. The computed spectrum of
    this effective periodically extended signal shows energy spreading into
    frequencies that were not present in the original signal. To reduce this
    spectral leakage, use smoothing windows to taper the sharp transitions in the
    effective signal. You do not typically use windows if you can acquire an integer
    number of cycles of each frequency component measured or if you are analyzing
    noise spectra.
    In response to question 2, the amplitude of the Tone Measurements Express VI returns the amplitude of the detected single tone in Volts peak (Vp).In response to question 3, what is the phase of the signal that you're measuring? I used this VI with a Simulate Signal VI and simulated a sine wave and was able to correctly use the Extract Tone VI for all phases. Have you tried doing this?
    Also, here is the manual for the Spectral Measurements Toolkit. Let me know if you have any more questions.
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Are there some "waveform measurements" componet in LabWindows/CVI as in the LabVIEW ?

    I want to use some"waveform measurements" function , but I don't familiar with  LabVIEW  ,
    Is there a  corresponding  componet in  LabWindows/CVI ?

    This depends on your CVI version... the full development version includes the advanced math library, which provides functions such as PulseMeas to evaluate waveforms.

  • Processing Scope Waveforms

    Hi,
    I want to process waveform coming from Scope.
    I have to calculte positive peaks and get average value for values below 0.
    Right Now I have done this
    1- Replaced all values above 0 with 0.
    2- Calculated there average values through basic DC RMS calculation VI.
    3- Initialized an array with this average value.
    4- Searched for maximum value between two consecutive 0 values and placed this value in already initialized array.
    this whole processing is taking a lot of time.
    Could you please provide a better way of doing this.
    I tried to use Waveform Peak Detection VI but it is calculationg peaks through maxima and minima and giving me a lot of peak points although I reqiure only 1 in a period.
    Please see attached I/p and Required O/P waveforms
    Labview user
    Attachments:
    Ip Waveform.JPG ‏25 KB
    required op.JPG ‏32 KB

    Aojha wrote:
    Hi,
    I want to process waveform coming from Scope.
    I have to calculte positive peaks and get average value for values below 0.
    Right Now I have done this
    1- Replaced all values above 0 with 0.
    2- Calculated there average values through basic DC RMS calculation VI.
    3- Initialized an array with this average value.
    4- Searched for maximum value between two consecutive 0 values and placed this value in already initialized array.
    this whole processing is taking a lot of time.
    Could you please provide a better way of doing this.
    I tried to use Waveform Peak Detection VI but it is calculationg peaks through maxima and minima and giving me a lot of peak points although I reqiure only 1 in a period.
    Please see attached I/p and Required O/P waveforms
    What you have described doesn't make sense given your waveform. You said "get positive peaks and get average value for values below 0". There are no positive peaks with amplitudes below 0 in your waveform. There are VALLEYS however.
    But then your output waveform shows that you have marked 8 positive peaks of amplitude 2.5 (which are ABOVE 0) and zeroed all other values, including the first two periods of the waveform. Please explain.
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • Single pulse waveform measurement

    Hello,
    How to measure pulse width of a single pulse waveform (not  a periodic waveform) ?
    Pulse measurement VI is not applicable in this case.
    Thanks for your help.

    Hi,
    Generally, there are two counters on DAQ card,
    you could use the counter to measure the pulse width of the signal.
    ====================
    ●LV Version:LabVIEW7.1
    ●OS:WindowsXP(SP1)
    ●Hardware:PCI-7344, PCI-6602, PCMCIA 6024E

  • NI-SCOPE Multiple Measurements problem

    My VI is attached. It makes multiple measurements of every line of a device for calibration purposes, the device is then attached to equipment that it is testing, and makes measurements on every line again.
    This VI works fine in making the measurements for all of the calibration, but when it gets to the second phase for the actual testing it won't perform averaging or integral measurements. While it creates the instantaneous data just fine, the data results for the integral and the averaging are returned as NaN's.
    The most mind-boggling part is - the device has measurements being taken on two channels; one of the channels, the averaging works fine even in the testing phase. It's only one channel which isn't working properly, only averaging and integral measurements, only in the second phase of the VI (when their configurations are set up to be effectively the same).
    Any insight into what could cause this would be very much appreciated.
    Thank you,
    Wolley
    Solved!
    Go to Solution.
    Attachments:
    PulsedFiberTesterF2.vi ‏278 KB

    The code you are working with is rather involved.  Would it be possible for you to simplify your code to better isolate the problem area and make troubleshooting easier?
    Also, what do you mean by every line of a device?
    James K.
    National Instruments
    Applications Engineer

  • Measure waveform rise time with IVI step

    I'm trying to simulate measurement of wafeform rise time through IVI step TS 4. How should I  feed the Scope IVI step with waveform and then get the calculated rise time in simulation mode(I do not have the Scope yet.
    Thank you.
    Elik

    Hi,
    Thank you. So far it is simple, but I wonder if there is a way to feed to the IVI step through simulation waveform like square wave and different frequencies. I've tried using TDS 2000 series but I get the same data results.
    I configure it as Normal Acquisition
    Advance Tab Low Reference 10, Middle 50 and High 90.
    Channels Tab, left the defaults except Maximum input frequency which I configure with variable
    Trigger Tab Type Edge, Source Channel 1, Coupling DC, Slope Positive, Level 0.5
    Extension Tab, Waveform Measurement.
    I also set a step Read and set one of the channels to read Rise Time.
    Although the waveform change The data from step results which I suppose give you the rise time stay the same.
    Is there any way to change the waveform type and the rise time through the IVI step?
    Thank you.
    Elik

  • Setting reference levels for scalar measurement of waveform

    Dear all,
    it would be great if somebodey could give me some help with the following:
    1. I am doing a "VOLTAGE AVERAGE" scalar measurement of a waveform. Is it correct, that I do not need to set the reference levels via the property node for this kind of measurement?
    2. If I am doing the "VOLTAGE AVERAGE" scalar measurement for e.g. 100 subsequent waveforms (multiple records) using a for-loop structure to fetch each waveform one-by-one, should I use the "ni Scope Clear Waveform Measurement Stat.vi" after each scalar measurement (after each iteration of the for-loop)?
    It would be very nice if somebody could give me some comments.
    Kind regards,
    beam

    1) The reference levels do not apply to the Voltage Average scalar measurement, so you don't need to set these. (They apply to rise time, fall time, width negative, width positive, duty cycle positive, and duty cycle negative measurements.)
    2) Clearing the waveform measurement statistics will not affect the Voltage Average measurement itself. The driver can give you back not only the scalar measurements, but also statistics about those scalar measurements. When you call niScope Clear Waveform Measurement Stats.vi, it will reset the statistics, but will not affect the actual measurement that you are making. For example, say you fetched the Voltage Average scalar measurement four times, without clearing the statistics...
    Voltage Average Mean (a statistic of the measurements)
    +1 +1
    -1 0
    +1 .33333
    -1 0
    If you cleared the statistics after each measurement fetch, you would see this...
    Voltage Average Mean (a statistic of the measurements)
    +1 +1
    -1 -1
    +1 +1
    -1 -1
    since the statistics get reset every time.
    To make a long story short, if you are only interested in the scalar measurement itself (Voltage Average, in this case), you don't need to call niScope Clear Waveform Measurement Stats.vi after each measurement.

  • Waveform Frequency Measurement

    Hi,
      are there any VI witch perform waveform frequency measurement? I tried the express vi "Analyze  >> Waveform Measurements >> Timing and Transition Measurements", but when the waveform sampled is 16.65MHz and it shows about 16.49...MHz. How can I take a better precision in this measurement?

    Hi,
    What is the maximum sampling rate for the data acquisition card you are using for this application. If you don't know can you just send me its number. because if you are reading a signal with frequency higher than twice sampling rate you will have wrong reading "Aliasing". if you checked the previous requirments for correct acquisition you can try using "extract single tone information.vi" located in the Functions>>all Functions>>Analyze>>Waveform measurements.
    good luck
    Tareq

  • NI9225 measure waveform of 230VAC network

    Hello all,
    I like to measure the complete waveform (time data of the voltage signal) of the local power grid with 230VAC L1-N voltage with a NI9225 module.
    The resulting maximum peak values are 230VAC(RMS) * 1,414 = 325V peak.
    I can't scale the input higher than +-300V in the M.A.X. settings.
    In the instruction is stated that the module can measure 240V power grids.
    Can I measure the waveform directly or shoul I use a 1:10 voltage divider for the measurements?
    Thank you in advance
    Regards Christof
    Text from the manual:
    The NI 9225 300 Vrms C Series analog input module was designed for the waveform measurements of high-voltage signals. The 300 Vrms range enables line-to-neutral as well as line-to-line measurements of 110 V power grids and line-to-neutral measurements of 240 V power grids. The three channels on the NI 9225 make the module ideally suited for a three-phase system. Voltage waveform measurements are necessary for monitoring power quality events such as sag, swell, transients, and harmonics. Combine the NI 9225 with the NI 9239 (10 V) and a current transducer to create a customizable power quality monitoring or power metering system.
    Solved!
    Go to Solution.

    Calculating with only 240VAC is too optimistic, adding  15% (10% nominal, plus local events) will give you 276VAC, 390V peak... and you will still miss peaks....
    However, have a close lok at the spec and you see RANGE 300Vrms   (+/-450VDC)
    Might be critical for some industrial power grids ...  
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How to display scope plot in Labview GUI?

    I am trying to figure out how to show TDS8000 scope output plot in LV GUI(?)
    This maybe a two fold question.
    1. I suppose it may be necessary to adjust the scope scale with appropriate level so that the plot will show enough details of information. (e.g., finding Max and Min points)
    2. how to display scope plot in LV GUI?
    It would be a great help if anyone can share an example VI.
    Thanks,

    Hi jjlee,
    It shouldn't be that difficult of a task. Most instrument drivers have
    a simple initialize VI, and then some type of waveform measurement VI.
    You would connect these two VIs and then take the output from the
    waveform measurement (may be waveform acquire or something like that)
    to a graph or chart (depending on if you're outside of inside of a
    loop). That should be all you need to do for the simplest form of this
    application. You would, of course, want to handle errors and close the
    connection to the device when you're done collecting the data.
    Hope this is of some help,
    Regards,
    Matt S.
    LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.

  • Differential Measurement Of My UUT

    Hi,
    I having problem using PCI-6025E for differential measurement on my UUT (an audio product, BTL output).
    I had switch to differential mode in MAX. Measurement connection positive (ACH0), negative (ACH8).
    I able to get the RMS value and freq of the measurement however the waveform is not uniform (unable to get beautiful sinewave).
    When I use Scope to measure the UUT output, I able to get uniform sinewave.
    I also tried to replaced the DAQ board however in vain.
    May I know what can be wrong in my measurement?
    Thank you in advance.........
    Best Regards,
    Norman

    You might get better answeres in the Multifunction DAQ forum . The feedback forum is for site issues. Good luck!
    LabVIEW Champion . Do more with less code and in less time .

  • How to measure time delayed measurement

    Hi All:
    I am using TDS3064 scope to measure time delay betwwen two channels (using IVI driver
    complience package 2.2 for scope IVI driver). I look through drivers, but not able to find
    delayed measurement function. Is there any alternate way to measure time delay betwwen two
    channels. If possible please provide me example. I am new to LV programming.
    Thanks
    DBhagat

    You have to understand something about IVI class drivers. To support portability, those functions that are common to a class are what you see in the driver. Some scopes might have the ability to measure time delay between trigger points on different waveforms but many don't. If there is such a function supported by your scope, then you can make a call to the instrument specific driver or a VISA Write/Read. Of course, you then loose the portability feature of IVI which, imho, is about the only reason to use IVI class drivers. What I would recomend is that you do a capture of both traces and then do an analysis of the raw data in LabVIEW. One way to do this is with Trigger Detection for 1 Channel (Analyze>Waveform Monitoring palette). Wire each channels data to the function and obtain the time for each trigger event. The function will return the time for each event that you can use to calculate the difference.

  • Time when the waveform value cross a determined level

    Hi all,
    I'm using PCI-5112 with Labvew to capture a waveform and i'm getting a triangle form waveform type. How to find the time when the waveform value cross some predetermined values. To put it more clearly, I attached a picture. In my picture, I want to know TH (time interval when the Y value cross 100), TM ( time interval when the Y value cross 50), TL (time interval when the Y value cross 20). How to put these measurements through Labview program? Any clue or example would be very helpful. Thx  
    Attachments:
    description.jpg ‏22 KB

    You can do this using the built-in NI-SCOPE functions or the LabVIEW pulse waveform measurements VIs by tweaking the reference levels appropriately.  However, given the noise level in your signal, you may not be happy with the result, since these measurements are done essentially on a point-to-point basis.  A more robust option is to find the approximate location of the level crossing, take N points on either side of it, do a simple curve fit to this data, then use the curve fit to determine the actual level crossing.  A line fit would work on the first part of your curve, an exponetial or parabolic fit on the second.  A further optimization would be to use a robust fitting method, but it does not look like you need to go that far.
    If you need more details on any of these methods, let us know.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

Maybe you are looking for