Transition measurements

I need help with finding the duration or Tr/Tf of my waveform using the transition measurement vi found in the waveform measurements subpalette. The rise time duration is correct but the fall time duration isn't. I've attached my vi.
Original post link is below. My vi is there.
http://forums.ni.com/ni/board/message?board.id=170&message.id=185512
kph

<<Out of respect for all the other posts on the
forum and to eliminate duplicate work on the part of those trying to
help, please refrain from creating duplicate posts on the same issue.
If you have any additional information to add, simply add it to the
original post.
To anyone that has found this post: please reply in the original post!>>Since, I referred to the original post I don't believe duplicate work or confusion is an issue. The reason for the additional thread is that the attachment "feature" doesn't work properly and confusion resulted in the original thread. You should take this as a note to look into the attachment issue.
Keep up the great work!
kph

Similar Messages

  • Transition measurement vi cursors displayed in waveform graph are moving outside of scale

    Using a waveform graph to display pressure over time. I wanted to be able to calculate the fall time of the pressure over time so I'm using the Transition Measurement vi. I copied exactly what was in the example for transition measurement inside help and it is correctly determining the falling transition time but I am having a problem with the cursors on the waveform graph. I should be seeing a set of green vertical cursors marking out the fall start time and fall end time like in the picture I've attached (capture2) like in the example. The problem is they both always start at 3.43 (capture1) and after each sample period they increment by one (4.34, 5.34, 6.34) The come right out of the bundle from the transition measurement output as those numbers. The period of the signal I'm interested in is always less than 2 seconds, so I never see the vertical cursors.
    I've tried substituting my daq signal with a sine wave generator and it does the same thing.
    The block diagram is in the first capture
    also I would be interested in finding out exactly how the numbers wired to the active cursor property of the property node for a waveform graph relate back to the actual cursors on the graph. Are they just automatically numbered starting with 0 from the top-down?
    Wayland
    Solved!
    Go to Solution.
    Attachments:
    Capture.PNG ‏44 KB
    Capture1.PNG ‏7 KB
    Capture2.PNG ‏29 KB

    Hi Wayland,
    The reason the cursors are always apparent in the example VI for the Transition Measurement.vi, is because the signal being generated is always resetting. So, the signal resets to a 'new' signal for the cursors to go over and therefore always remain in the somewhat same location. The Waveform Graph is also configured in such a way that it will not move or continue to show new data coming in, the data cursors have moved onto. So in your case, you will want to right click the graph and make sure "Ignore Time Stamp" is not checked/selected. This will make it so the graph keeps up with your incoming data and the cursors. You can check this in the example file by removing the True Constant going to the waveform generator and changing the time stamp option previously mentioned.
    In order to view the available cursors and their numbered position, you can right click on the Waveform Graph and select properties. In the properties window there is a Cursors tab, inside this tab at the top is a drop down menu that lists all of available cursors, indexed starting with 0 at the top.
    -Jake B.

  • Measure transition time in graph indicator automatically

    hello. please help me. I want to measure the rise time for the two graphs (see picture). i also need the decent time. is there a way to interpolate the graphs?
    please help me.
    THX
    Attachments:
    picture.gif ‏6 KB

    Hello 0123,
    If you are using LabVIEW professional, you can use the transition measurements.vi, which offers a lot of functionality.
    Transition Measurements (Not in Base Package)
    Accepts an input signal of a
    single waveform or an array of waveforms and measures the transition duration
    (rise or fall time), slew rate, preshoot, and overshoot of a selected positive
    or negative transition in each waveform. The data type you wire to the
    signal in input determines the polymorphic instance to use.
    Otherwise try with Timing and Transition Express vi.
    regards
    Message Edited by IngoS on 02-01-2006 02:57 PM
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • I can get risetime measurements from pulse Vi but falltime data is always 0

    I am feeding a waveform from an AI read into 2 seperate transition measurement VI's. the only difference between the 2 is that one is set for rising and the other is set for falling. The output of the rising works just fine however the output of the falling VI is always zero. The falltime is not 0.
    any suggestions on why this is occuring?

    Please post example.
    We can then help (better).
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Non-periodic pulse width measurement

    I came across a post with example code recently that showed how to measuure pulse width of a non-periodic signal using Transition Measurements.vi.  Now I can't find it.  Can anyone help me locate?
    Thanks.

    Hello Joe,
    I did a quick search and didn't find a post that exactly fit your description.  Do you remember anything else about the post?  Any other key words?  Any specific people that posted?
    Michael B.
    Applications Engineer

  • How to convert percent undershoot measurement ot an actual voltage measurement

    I am using the Transition Measurement VI to measure Rise,Fall, Overshoot and Undershoot of a digital signal. The VI returns the overshoot and undershoot in percent format but I need to convert it to a voltage format. Does anyone know how to do this?

    According to the LabVIEW help on this vi, there are two formatting options for the reference levels: percentage (default) or absolute units.  To select absolute units, change the ref units option of the reference levels input cluster to absolute.
    Message Edited by DavidMN on 02-01-2010 12:51 PM
    David
    Applications Engineer
    National Instruments
    Digital Multimeters

  • Duty Cycle measurement

    Hello all,
    I am attempting to Measure and output duty cycle to a device. I don't have the device in my possession so I have my hardware hooked up to each other. I have NI 9472 output card hooked to a NI 9423 input card. I have found these 2 examples of how to adjust duty cycle and how to read duty cycle. They work great, but the reading of the duty cycle is oppesite of the outputing of the duty cycle. For example if I set my output duty cycle to 60% the reading is 40%. If I set my duty cycle to 30% it reads that it is 70%. I looked thru the block diagram to see if the input was looking for the resting signal to be low or hi. Being a new user it might be right in front of me. Can some one take a peak at them and tell me anything? Thank you.
    Attachments:
    Modify Duty Cycle while running.vi ‏31 KB
    Meas%20Duty%20Cycle%20Cont%20LabVIEW%208.2[1].vi ‏31 KB

    Hey greentea2,
    You can try taking your waveform data and adding a replica of itself to the end of the data using the Append Waveform VI, so that you have multiple cycles of data to send into the Timing and Transition Measurements Express VI or the Transition Measurements VI for calculating the rise time.  I've attached a picture that shows a simple example of this using a sine wave.
    If your data does not complete a full cycle that comes back to a similar starting low point, then this example may not work for you or give you the right value.  If that is the case, then please respond with a picture of what your waveform looks like, so we can determine how to manipulate it.
    Hope this helps,
    Attachments:
    Append Replica Wave Form Data.png ‏28 KB

  • Measure ramp time from a waveform

    Hello,
      I'm relatively new to LabVIEW and need help with (what I think is) a pretty basic operation.
      I have a 3rd party DAQ board from Measurement Computing on which I'm reading a single analog channel. My task is to measure the ramping time from off to full scale (~6V) and make sure that it accomplishes this within 75 milliseconds. That's it.
      I have looked at the sample VIs that came with the DAQ board, and found one which graphs the channel and produces a waveform - 1 Channel, N samples. I tried using Get Waveform Components to break out T0 and Y, but not sure where to go from there. The Y component seems to be an array, but the T0 is not.
      As far as starting the waveform capture, I am programmatically in control of when the "switch" is turned on that powers the device, so I should be able to know when my true T0 is.
    Thanks for your help.

    An update - I still have no workable solution to this problem. I have talked to NI; I've tried using "Transition Measurements.vi". My current hardware mockup does NOT allow me to know when the voltage ramp is starting, although in the future I will have program control over that. For now, I was just trying to get a working VI that will do the ramp measurement. The other gotcha in this is that when power is applied, there's a short spike, then the voltage falls off temporarily, then the ramp up occurs.
    I've attached screenshots of both the whole waveform, and a closeup of the portion I'm interested in measuring. So I do have a valid waveform (DBL). I just can't figure out how to use Transition Measurements properly (or any other method) to get a valid result.
    Can anyone give me some help on this?
    Thank you.
    Attachments:
    total waveform annotated.jpg ‏51 KB
    waveform to measure annoted.jpg ‏57 KB

  • How to measure the pulsewidth ???

    I tried to use the Timing and Transition Measurements block to find out the Pulse duration/duty cycle of the wave seen in the Waveform chart 3 in the Page 3 of the container, but i get an error saying that the histogram method is not suitable...
    Can you suggest an alternate method to carry out the measurment ? Also please suggest the block that can be used for this purpose...? Thanks in advance and reply asap .....
    Attachments:
    Pulse measurement.vi ‏64 KB

    Is it necessary that i should use a card ???
    I am doing a simulation only...i need to detect the pulsewidth of the signal.
    Also i need to know about the pwm generation block in LabVIEW..Is such a block available??

  • Pulse duration measurement of a single, non-periodic pulse

    New to Labview. I'm trying to measure pulse duration of a single, Power- On-Reset, pulse using waveform data. The Pulse measurements VI requires two consecutive mid ref level crossings in the same direction. I have only one positive going mid ref level crossings & one negative in the waveform data. Am I missing something easy in the Waveform Measurements palette or do I need to use counters to accomplish this task? I would like to use waveform data. 
    Labview 8.6 Professional. 

    You could use the Transition measurement.vi twice, as shown on the attachment.
    Message Edité par chilly charly le 09-01-2008 07:04 PM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Pulse duration.vi.zip ‏16 KB
    Pulse duration_BD.png ‏11 KB

  • How the duty cycle is calculated by Timing and Measurement.vi

    I am using the Timing and Measurement express vi(LabView8.0 is used) to measure the Duty cycle and frequency. I want to know how the same is calculated by the Timing and Measurement express vi. Please reply.

     The Timing and Measurement Express VI uses \vi.lib\measure\mascope.llb\Pulse Measurements N chan.vi to do the Duty Cycle and Frequency measurements. 
    Help says the following about this VI:
    Accepts a periodic waveform or an
    array of periodic waveforms and returns the period,
    pulse duration (pulse width), duty cycle (duty
    factor), and pulse center of a selected pulse and period.
    Refer to the Pulse and Transition Measurements VI in the labview\examples\measure\maxmpl.llb for an example of
    using the Pulse Measurements VI.Maybe NI can explain the algorithm.
    Hope that this helps,
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • How to measure pulse/amplitude droop?

    I am trying to figure out how to measure pulse/amplitude droop in the labview.
    Is there any built in VI that perform this measurement?
    Thanks
    DB

    Do you want to measure the 10% to 90% height of the pulse itself or the 10% to 90% change in the pulse level? The suspect the latter, or we would not be having this conversation. If you want to do the former, use Amplitude and Levels.vi or Pulse Parameters.vi and scale by 0.8 to get the 10% to 90%. If you want to get the latter, you may be in for more work. First, try to use the overshoot output of Timing and Transition Measurements or Transition Measurements.vi. Read the documentation, as there is a fair amount of flexibility you can put to your advantage. If that doesn't give you good results, use Pulse Measurements.vi to find your pulse, then extract that section of your waveform. Trim the ends to get rid of the rising and falling edges (this should be a constant number of points if your pulses are consistent). Analyze the result for 10% to 90% values. The easiest way to do this is probably to use the array max and min primitive to give you the maximum and minimum points, then scale by 0.8. Alternately, and more robustly, you can duplicate the waveform a couple of times, concatenate the results, and use Amplitude and Levels.vi to find the amplitude. As a final alternative, you could fit the resulting curve to an appropriate line/polynomial/exponential and extract the info from the curve coefficients. This will only work if the data is a well defined curve. Be careful with general polynomial fits.
    Good luck. Let us know how you make out.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to measure the pulse duration of a TTL signal using AI?

    Hi there.
    I would like to know how to measure the pulse duration of a TTL signal using an Analog input.
    These TTL signals comes from an ultrasonic sensor's output. The pulse width of the signal is
    proportional to the distance of the object the sensor detected.
    I have tried using the example "Measure Pulse Width.vi" which uses a counter to measure the
    pulse duration instead. It provides me with correct results.
    However, i will like to know how can i do it using the AI instead.
    I tried it by using the example "Acq&Graph Voltage-Int Clk.vi" which i modified by including a
    timing and transistion measurement vi. Pulse duration was selected as the output. A graph indicator was also added at the output of the pulse duration to monitor the incoming TTL signals.
    However, everytime the TTL signals was detected on the graph indicator, the numeric indicator always produce a "zero" reading.
    I have attached my vi for your reference.
    Can anybody advice me what i have done wrongly?
    Regard.
    Attachments:
    Acq&Graph Voltage-Int Clkv1.vi ‏190 KB

    Hi Paul,
    Today i tried using 2 different methods to read the pulse duration of my sensor signal.
    Both methods use "Acq&Graph Voltage-IntClk" vi as a guide.
    Method1:
    Add a filter vi(lowpass/bandpass) and a timing and transition measurements vi.
    Pulse duration is selected as the output. With some numeric conversion, a centimeter
    reading indicator was created. However, the reading always remains as "zero"
    Method2:
    Add a Mask and Limit Testing vi and a timing and transition measurements vi.
    By adjusting my upper and lower limits, i manage to "filter" a single pulse out from the actual signal.
    However, like the earlier case, the cm reading still remains at "zero"
    I have attached both the methods resulted waveforms for your reference.
    Are there anything that you can advice on?
    Regard.
    Attachments:
    Results_Waveforms.doc ‏141 KB

  • Capacitance measurement using voltage o/p

    Hey everyone,
    I am trying to measure cacpacitance by measuring the time constant using the  output voltage from an RCcircuit.R=8 KOHMS C=1NFARADS at 1Khz
    Just to be sure i measured the time constant using an oscilloscope using a square wave of 4.6 voltsand it was pretty close.T=R*C=8 us.But when i use labview to do the same using the transition measurement vi something is going wrong.I have attached my vi.
    I have set the high reference to 62% and the measurement info shows that the low is 0.156V and high is 2.93V which is right but the duration is no way close. Can anyone point out what I am doing wrong and what i should be doing.
    I am using ni 9215 to measure voltage and a function generator to supply input.
    Thanks
    Attachments:
    1.png ‏139 KB
    2.png ‏65 KB

    If i understand correctly the transition measurement vi measure only one rising or falling edge from the sample.
    I played with the sampling rate the the nuber of samples per channel and found that the loop time can be reduced below 4 ms i.e. time for one output.
    In the images below my input frequesncy was 520 hz and the capacitor is still 1nF.
    For a constant sampling rate say 100Khz,I kept on reducing the number of samples until i could only see one wave on the graph so that i get more data.If keep samples per channel high i will have multiple waves on and the transition vi just measure output on one of them (1st wave in my case) and the loop takes more time.
    I am just wondering if I can reduce the loop time/get data quicker than 4 ms.
    And would an impedance analyzer be quicker? I have agilent hp 4192A at my disposal.
    Thank you for you help Lynn.
    Sandesh
    Attachments:
    1.png ‏150 KB
    2.png ‏86 KB

  • Display frequency measurement of ECG signals

    hello there....i m feeling very stress right now...
    its seems tat i could not display my frequency measurement when i use timing & transition measurement....
    plz help me
    i tried so many method but nothing seems 2 work
    i  attached my program
    anyone plzzzzzzz help me
    thx...
    Attachments:
    read_mod2(new)[3].vi ‏407 KB

    I have this program which I used to compute heart rate.  See if
    this is helpful.  It uses an algorithm from a paper to get a nice
    peak and then to perform peak detection to determine the time between
    the peaks.
    Randall Pursley
    Attachments:
    EKG Processor.vi ‏84 KB

Maybe you are looking for