frequency and duty cycle measurement - labview

This is a discussion on frequency and duty cycle measurement - labview ; Hi Jeremy,   You are right, exactly i'm looking for the same. I tried with the event structure and while loop. Since i hadnt used this event struture before i failed to use it clearly. Even though the examples were ...

+ Reply to Thread
Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 39

frequency and duty cycle measurement

  1. Default Re: frequency and duty cycle measurement

    Hi Jeremy,
     
    You are right, exactly i'm looking for the same.
    I tried with the event structure and while loop.
    Since i hadnt used this event struture before i failed to use it clearly.
    Even though the examples were there in labview\examples\general\uievents.llb  for event structure, i couldnt see anything helpful to me.
    Could you please explain about this event structure with a simple example.
     
    (Or)
    Could you please repair this VI for me.
     
    Sorry for troubling you
     
    VI with the modifications is attached below.
     
    Cheers,
    Suneel.V
     


    Waveform_Extractor_With_Duty-Cycle_July3.vi:
    http://forums.ni.com/attachments/ni/...Cycle_July3.vi

  2. Default Re: frequency and duty cycle measurement

    The first thing to do is to remove the 2nd Event structure (the inner one?).
     
    You shgould only have 1 Event Structure.  Especially since they trigger on the same event!  

  3. Default Re: frequency and duty cycle measurement

    Ok Joe
    I removed the inner one.
    But how should i use the same Extract waveform button press
    and modify the VI so that for every press the extracted waveform should be shown on 1,2,3 and again after finishing upto 3 it should again referesh the 1 and display it from 1,2,3
    COuld you please let me know how should i proceed?
     
    Cheers,
    Suneel.V

  4. Default Re: frequency and duty cycle measurement

    Hi Jeremy/Joe,
    Again i need your help........
    Right now in this VI i want to make the X-axis to be controllable by the end user.

    - Req says that user should be able to select the x-axis(time) based on his interest

    - Only for the original waveform window this provision is required.

    Please let me know which of the property node needs to be invoked.
    -Suneel


    Waveform_Extractor_With_Duty-Cycle_July8.vi:
    http://forums.ni.com/attachments/ni/...Cycle_July8.vi

  5. Default Re: frequency and duty cycle measurement

    A simple way is to just turn off autoscale for the x axis. You can use the property node Xscale.ScaleFit with a value of 1. This will do a single autoscale. After that, the x axis can be changed by simply selecting either the min or max value on the scale and tyoing whatever you want. There is also the built-in zoom function on the graph palette.

  6. Default Re: frequency and duty cycle measurement

    Hi Dennis,
     
    Where can i find this autoscale?
    You mean in the properties of Original waveform.
    And i tried with X-axis.scalefit  property node but unfortunately its not working...
    Could you pls let me know where should i place that exactly....
    See the VI attahced after modifications...
     
    -SuneelMessage Edited by suneelkv on 07-07-2008 10:03 AM


    Waveform_Extractor_With_Duty-Cycle_July8_V1.vi:
    http://forums.ni.com/attachments/ni/...le_July8_V1.vi

  7. Default Re: frequency and duty cycle measurement

    I don't know why you would put it there. I would put it right after the wave file read. And, you actually have to turn off autoscaling on your x axis. Just right click on the graph and select X Scale or right click on it and select Properties. This is kind of basic stuff. Have you done any of the free <a href="http://www.ni.com/academic/lv_training/how_learn_lv.htm" target="_blank">LabVIEW training</a>? Message Edited by Dennis Knutson on 07-07-2008 09:11 AM


    Autoscale Once.PNG:
    http://forums.ni.com/attachments/ni/...97/1/Autoscale Once.PNG

  8. Default Re: frequency and duty cycle measurement

    Hi Dennis,
    I've done that before but i couldnt find any diff, so i thought of keeping it in.
    Ya i've gone thru those free labview training.
    But still i feel that i've to learn more about this Activex in labview.
    Anyways i've added that xscale.fit with 1 and also done the changes in the properties (autoscale disabled)
    But my req is not yet reached.
    I should get the control of x-axis, which should be chane the waveform display thru x-axis whenever i change the control....
    This is waht i'm looking for...
    Please let me know where should i tick for this.
    &nbsp;
    -Suneel


    Waveform_Extractor_With_Duty-Cycle_July8_V2.vi:
    http://forums.ni.com/attachments/ni/...le_July8_V2.vi

  9. Default Re: frequency and duty cycle measurement

    Hi Suneel, If you just need the user to be able to change the x axis on the graph, the graph can already do that.&nbsp; You can right click on the axis while the VI is running and turn autoscaling on and off and you can also change the scales.&nbsp; From your original requirement, it doesn't sound like you need to do this programmatically at all, unless I am misunderstanding you.

  10. Default Re: frequency and duty cycle measurement

    Hi Jeremy,
    I do agree with you,
    Even i've done and tried&nbsp;with the VI, and found that x-axis can be changed with the mouse pointer.
    But what abt exe, bcoz at EOD i need to give an exe to other team to use.
    So is this applicable in exe too...
    THats where my concern is?
    Or meanwhile i try to do an interim build and check it.
    Will update you soon if i hit any snag.
    &nbsp;
    -Suneel

+ Reply to Thread
Page 3 of 4 FirstFirst 1 2 3 4 LastLast