How to measure the width of pulse with MyRIO

Hello

Sorry in advance if this is not the most appropriate forum.  I'm not entirely sure if it's a more general problem of 'software' or the MyRIO-specific.  I have searched the forums and found a few related topics but could find no one who help me in this context.

I'm trying to measure the width of a sensor pulse ultrasonic ping.  It emits a signal conditioning - the time that it is high directly corelates how far is the object.  Being new to LabVIEW I am confused as to how do I calculate the time it remains high.

I read that LabVIEW should not need to 'variables' as in python or C, for what is the best way to measure time, the signal is high?  Normally, I'd go (new_time - old_time), but obviously I can't store an old time in LabVIEW as I would in python or C.

Other notes:

I have the sensor correctly ping echoing and I can see the blips on a chart and see a perfectly square wave valid.

To answer your question on how you would in LabVIEW...

While LabVIEW has not stated/named variables that you have in a language based on text, the data is stored on the wires. You can use the nodes as node registers or shift of feedback to store values between iterations of a loop:

(this will keep subtracting y (starting with 0) and store the result for the next time it runs)

LabVIEW also has functions in the range of mathematics/signal processing to make the detection of pulse on a waveform.

Tags: NI Software

Similar Questions

  • HOW TO MEASURE THE WIDTH/TIME GAP PULSE ANALOG OF A WAVE

    HELLO EVERYONE, IM NEW TO LABVIEW. IM USING NOR USB-6008 ACCESS "ACCELEROMETER READINGS TAP" BUT I NEED TO KNOW THE AMOUNT OF TIME BETWEEN EACH PULSE OR WAVE. IM ATTACHING THE SCREENSHOT OF THIS WAVE. PLS ME GUIDE FOR MAKING of this PROGRAM, I NEED TO KNOW the TIME DIFFERENCE "Dt"...

    Thanks for your reply Sir, I can get the table of amplitude... but I can't get the time table... could you help me please

  • Does anyone know how to use the movement of scroller with the function of the fluid width?

    Hi all

    Does anyone know how to use the movement of scroller with the function of the fluid width?

    Thanks, Federico

    This feature is not yet implemented.

  • How to set the width of the left column?

    Hello

    I use model universal and APEX 5.0.3. I use the "left column model" of a page.

    I would like to increase the width of the left column. I have to unsubscribe from the master Thme? It does not seem desirable because "'to unsubscribe a theme will prevent future updates to the theme applied"; "

    So how to change the width of the left column?

    Thank you.

    Hello

    * arrg * navigation bar does not work with the current version of the plugin.

    In this case, take a look at the plugin and find the definition of the left box. You can find parts to copy into your page.

    Best regards

    Tobias

  • How to display the width of the page or the big screen in firefox 11 automatically?

    How to display the width of the page or the big screen in firefox 11 automatically? I know how to Ctrl +, ctrl - and ctrl 0, but is there a way to define 11 firefox to automatically set the page viewing by default "page width" or full screen (F11 not)?
    Help, please. Thank you.

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • Satellite 1800-814: how to measure the temperature of the processor?

    I replaced the radiator component on my laptop as it freezes suddenly during the operation. Now everything seems to be better, but still a last question. How to measure the temperature of the processor?

    Dominic displays only HDD temp and MBM profile for 1800-224 display cases and the cpu. But if I can use this profile? Any other ideas how to meausre CPU temp?

    MBM shows me around 40 to 49 ° C for the cpu. Is this normal or too high just to run windows?

    Thanks in advance

    Greetings
    Jens Grieger

    Hello

    See this http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=5564&messageID=19417

    Maybe the help!

  • How to measure the frequency of a clock using meter in LabVIEW?

    Hi guys,.

    Someone knows how to measure the frequency of a signal introduced in LabVIEW (in the FPGA PXI-7813R), using a counter in LabVIEW?

    Essentially, I want to use this counter as a kind of Logic Analyzer.

    Thank you, Anoop

    I don't know what you mean by "manual".  It is all managed in a housing structure.

  • How to activate the old Windows XP with new serial numbers?

    \How to activate the old Windows XP with new serial numbers?

    You use a retail disk you had?  If so, then the keys do not work due to the fact that they keys of volume.

  • Can someone give an example of how to configure the subnet mask associated with the network and host of an IP address part?

    Can someone give an example of how to configure the subnet mask associated with the network and host of an IP address part?

    Hi stuckfree,

    The question you posted would be more appropriate on the TechNet Forums. I would recommend posting your request here.

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

  • How to connect the printer wireless hp with the computer?

    * - Original title - the printer printing

    How to connect the printer wireless hp with the computer?

    HP all what you need to be able to complete the task... See here...

    http://h71036.WWW7.HP.com/HHO/us/en/EP/articles/Wireless-Setup-Wizard.html

  • I forgot my password for windows 7... and please tell me how to know the password to open with?

    I forgot my password for windows 7... and please tell me how to know the password to open with?

    I forgot my password for windows 7... and please tell me how to know the password to open with?

    Keep passwords secure - Microsoft on passwords strategy
    http://support.Microsoft.com/kb/189126

    What to do if you forget your Windows password:
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-do-if-you-forget-your-Windows-password

  • Windows XP mode - 7: how to get the Realtek Audio Drivers with GS Wavetable outside normal? Instead of RDP Audio driver!

    1. I upgraded my comp to Windows 7, Ultimate because I need to use many XP programs. What I've discovered, is the virtual XP Mode is not the same thing as XP regular and many programs do not run properly. Particularly theAudio out to lunch and MS GS Wavetable is not available in XP Mode.

    2 - I end up having to buy another XP-Professional and installed in the same notebook. I have to turn off the laptop restart and select the Windows 7 to XP operating system. All old programs work fine under XP.

    3 - I continued looking for a fix for the XP Audio Mode or virtual. Almost 2 years now, I can not find such a simple solution.

    4. today, I found something on the Microsoft RDP Audio driver. What is the reason? Anyone know?

    5. are there available MS drivers or resources?

    I'm not interested in the commercial programs or attempts to scan my computer. MS sold Windows 7 that can run XP so I think that Microsoft is responsible for fixing.

    Thanks in advance,

    VT

    Windows XP mode - 7: how to get the Realtek Audio Drivers with GS Wavetable outside normal? Instead of RDP Audio driver!

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Windows Virtual PC and XP Mode Forums.

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

  • How to increase the width of the form in the forms of oracle Designer

    Hey friends, I googled many times but could not find a solution for my problem. As you can see this link below, you will see screenshot of my form.

    https://community.Oracle.com/docs/doc-887527

    As you can see my form width is too small and there are a lot of empty space on my browser window. Can you please help me and tell how to increase the width of the entire form.

    Thank you

    In the formsweb.cfg, set the parameters width and height accordingly.

  • How to resize the width of the region

    Hi all

    I use apex 4.2.2 database oracle 11g R2, IE 9.

    I created a region on the HOME tab to the navigation menu.
    but its width is covering the width of the entire page.
    How could resize the width of the navigation region?

    Thank you very much.

    Hi Maahjoor,

    Change the region and

    In the Region attributes set style = ' width: 300px; " instead of 300, you can put all desired widths.

    hope this helps you.

    Kind regards
    Jitendra

  • How to increase the width selectManyListbox

    Hi all

    I use JDeveloper 11.1.1.6 version, I'm increasing the width selectManyListbox, tried with the attributes of style such as inlineStyle = "" width: 220px; "and contentStyle =" width: 200pc I see no effect on my selectManyListbox width display. ""

    Thanks in advance

    I use contentStyle and it works.

    Code snippet:

          
            
              
              
              
            
          
    

    If this does NOT work, can you give us the JSFF code to take a peek?

    Thank you
    Nini

Maybe you are looking for