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.
- Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
-
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 GriegerHello
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?
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?
Keep passwords secure - Microsoft on passwords strategy
http://support.Microsoft.com/kb/189126What 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 -
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 advanceI 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
-
My printer (Canon MG5250) stopped printing. I can copy and scan.
What happens is... I click to print something from Windows, but what I get out of the computer is the header (which normally gives the time and Page number) and at the bottom of the page I usually get..."file://C:\users\etc. Is there anything you can
-
Windows vista family 32-bit premium; bluescreen problem?
First of all, I'll go on what I've already tried: -Run multiple analyses of virus/malware/spyware -Updated with windows updater/drivers as much as possible -Wipe the computer and re-installed Windows vista (the projected Blue computer while installin
-
1312 nfi MFP color laser: blank white screen
When on copier, HP blue screen starts initialization and become white, nothing happens, then the screen starts during initialization or print document whites then.
-
cannot access the Setup/bios menu
Cannot access/configuration of the bios on a dell laptop on vista. have tried F12 and F2. what I don't get? I restart the machine and press the Fn with F12 or F2 key during restart. all that happens is that I go back to the desktop. any suggestions?
-
How to activate wifi for time windows first 7 with wifi (DG-BG4100N) router
I HAVE NO IDEA HOW TO CONNECT TO WI - FI IN MY PC WHICH RUNS ON WINDOWS 7 AND IT HAS BEATEN OFF COAST BAND NAMED ME PLZ (DG-BG4100N) HEPATITIS?