help in the programming of the ultrasonic sensor Hc-sr04

Hi im new in labview, I must connect the sensor SR04 HC to the SensorDAQ ultrasound and I have to measure the distance between the sensor and an objetc, I made a small program but the distance is very erratic and I saw an example but I have not underestand the code in the example, so I don't know how to change it to do what I need later today, I'll put the vi, I did and I found, my code is very short and the code I got terrible long.

If my program is bad, can you tellme where and why? or isn't the code as the sensor requieres it please tell me.

If the example I add the code I really need can you explain all the parts and how to change it in order to work with the sensordaq.

Can you tell me how to connect the sensor to the sensor data acquisition? so you can help me, I'll add my photos and connection diagram.

I do a sensor of reservoir with this sensor data, and order a motor with it, if the level is below 20% use the Stairmaster to open a valve, is his scratching that nearly 80% the stepper.

Another thing I need is when the level of the reservoir is scratching at 80% another mottor, steper no must be turned on and should work for a specified time. When this time is on a signal of "empty tank" should be displayed.

I think is a lot of what I need, I plugged the stepper mottor (bipolar motor 4 son) and I do can work, I don't know how to operate in both directions, so I have to solve this problem.

I will add photos and my screws later today, Please helpme, the most important thing is to make the sensor to work.

THANKS FOR THE HELP.


Tags: NI Software

Similar Questions

  • I need help with the program of Photos on my macbook pro

    I use a Macbook Pro with OS of Yosemite. I really need help with the Photo program. I never really got the hang of IPhoto and now that it's a new program, I'm really confused. Where can I go to learn this without waiting for the next workshop in a local store?

    Hi, I'm fighting to open same mine, making a new software update

  • When I start the machine, continuous hard drive work for almost 1/2 hour, meanwhile if I open a program, the machine runs very slowly. Help solve the problem please

    I have wndow XP Home edition service pack 3 installed on my lap top. When I start the computer the hard drive continues to work for almost 1/2 hour; Meanwhile, if I open IE, or any program, the machine runs very slowly and I just can not open the program up until the drive hard light is off. Please help solve the problem

    How much RAM you have on your system? (Right click on "My Computer"-> properties)

    As a general rule, Windows XP does not work well if you have less than 1 GB or more of RAM.  What usually happens is that your RAM capacity is exceeded leading to overflow on virtual memory (the drive) to compensate for the need of RAM in the computer.  This causes your system to beat on your hard drive and slow down your system.

    If this is your problem, the options are to increase the RAM on your system or decrease the non-essential programs that launch at startup on your computer using a tool like Autoruns.

    HTH,
    JW

  • When I open Corel Draw 7 (Yes it's old, but he's all I have to do) as soon as I try to do anything on a graph, the window titled ' help' "Why can't I get help from this program?

    Original title: the HELP window interferes with Corel 7

    When I open Corel Draw 7 (Yes it's old, but he's all I have to do) as soon as I try to do anything on a graph, the window titled ' help' "Why can't I get help from this program?  opens and won't allow me to contimue.  As soon as I close the window, the first action I take it opens again.  Nothing EVER happens on my chart.  I can't take ANY action.  How can I close that window and keep it closed.

    Any ideas?

    I just did a clean install of Windows 7 Home Premium from a disk I bought at Staples.  I then re-load my old version of Corel.  Corel Photo-Paint works well, it is fair to Corel Draw.

    Corel Draw 7 is not compatible with win7, even when you use the compatibility options

  • I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why.

    I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why / tell us step by step what we should do?

    OK, I re-read your question. It's actually expected behavior. The user must manually send the email.

    If you want it to be a silent process, then you must either install a script on the local computer of the user who will do this, or use any email but something as a service web to which you directly submit the form data.

  • Help! The unknown software exception (0xc0000095) - the program does not (Dreamweaver CC 2015)

    Help! The unknown software exception (0xc0000095) - the program does not (Dreamweaver CC 2015)

    Dreamweaver_CC.jpg

    Looking at the error, it seems that it could be caused by C++ MSVisual files damaged or missing.

    Your best bet is to Dreamweaver, use of the Adobe Creative Cloud cleaning tool to solve installation problems uninstalling and reinstalling Dreamweaver.

  • Cannot control the color sensor in LabView for Mindstorms

    Hello!  New here.

    I'm currently boning on LabView via 'LabView for Lego Mindstorms' for a possible job in the near future, and I encountered a problem from the beginning.

    I am programming my brick Lego of LabView to simply activate the color sensor which is quite easy: I'm building a while loop and inside I have a block of color sensor attached to a block of text that displays the light intensity of the probe in the text on the brick.  I compile and run the detector turns on and I can read the intensity constantly updated on the brick.  This part works fine.  I would now like to control the light sensor (that doubles as a light source with color LEDs) on the front of the LV Panel.  The book I'm using (LabView for Lego Minstorms) says I should block sensor on the entry "generate light' do right click and choose"Create--> Control"in the menu that appears.  A Boolean command button should appear connected to the sensor block in the block Panel and a push button should appear in the front panel.  This is not what is happening.  Here, the two things are different.

    (1) I have no port "generate light" click on right-click.  This is probably using a version more day of Mindstorms that uses of the book.  It's a matter of book/Mindstorms, which probably cannot be resolved here but I hope that the next issue of problems will make it irrelevant.

    (2) I right click and create the control, but rather than create a Boolean command button as the book predicts, it creates an icon "BrickReference.lvclass".  He connects very well with the light sensor and a corresponding block is created in the front panel, but it is a paper weight that I can tell.  I can't do anything with it.  There are no buttons to push, no slider, button, button radio etc and I can't seem to change into something that somehow work.  I have delete and don't create a no kidding Boolean button from the library, but it does not connect to the photoelectric cell and so I can not compile.  So now, I'm a little stuck.

    I searched "Reference of the brick" online in the context of LabView class and have found little or nothing that talks about its definition or how I can use it to control the light via the front panel sensor.  Help with the software section is not much help, and yet I'm sure there must be a way to control a simple Lego light sensor of the façade for debugging purposes and others.

    If you know what I'm doing wrong or if you know a finish around this issue that will allow me to control a Mindstorms brick from the front in this way, please let me know.

    Thank you!

    Try to post in the forum of Lego.

    http://forums.NI.com/T5/LabVIEW-for-LEGO-MINDSTORMS-and/BD-p/460

  • Turn off the power of the fingerprint sensor

    How can I disable the fngerprint sensor?  I don't want to do the fingerprint test whenever I turn on my computer. Help, please!

    You have posted in the forum for the users of the software program anti-malware for Microsoft Security Essentials (MSE).  Your question is not in MSE.

    Suggest study you the operating of your computer manual or contact the manufacturer of your computer about your question.

  • Tecra M5 - can't find the fingerprint sensor

    I have Tecra M5 with Windows 7 and I'm putting software fingerprints (protector suite QL) but old version is not compatible and new (taken from the Toshibas site) do not work. It just says: 'cannot find code 0xe7210005 of the fingerprint sensor device '. material is integrated.

    In the system's peripheral unknown ACPI\TOA620A, but it cannot be updated. Windows cannot find drivers and support package (driver_fingerprint_upek_TC00237700A) or (2.19C_package) has no driver that should be?

    Hi monono.

    Did you remove the old version of the fingerprint software before installing the new version? Remove from Control Panel > uninstall programs and remove the software before installing a new. Also use a registry cleaner like Ccleaner to clean the registry.

    Fingerprint work with OS preinstalled Toshiba?

  • Tecra A9 - software for the fingerprint sensor error

    My laptop is less than 3 weeks old and the fingerprint sensor has stopped working.
    I just get an error message: can not find the fingerprint sensor device, 0xe7210005 error code.
    can anyone help?

    Hello

    you don't have many options. But I can try to give you some tips:

    1. go into the Device Manager and search for the device of fingerprints, so if it s present, uninstall it and after a reboot it should reinstall itself.

    2. go on Toshiba drivers download site and download the latest drivers for this device. Install the driver and check if it work s

    3. If really nothing done then you should recover your machine with the media shipped (or HARD drive recovery)

    4. the last resort, if all fails, is to contact the nearest [ASP | http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/download_whitepaper.jsp?service=EU&WHITEPAPER_ID=0 000000871] in your country and ask them a hardware health check and repair.

    Good luck

    Greetings

  • Satellite Pro A300-15V, I need help in the Organization of my startup list

    Hello everyone!

    I need help in the Organization of my startup list:

    (Why should Toshiba button support I this program if my laptop doesn't have multimedia keys? OR maybe this program for something else?)
    ItSecMng (although I have disabled the Bluetooth Manager to run when starting from this point still remains in the startup)
    Agent of filtering of Audio Conexant high definition (what is this program? Do I really need to start?)
    TOSHIBA Power Saver
    Toshiba Flash Cards
    RAID event monitor

    So, my friends. Could you give a valuable suggestion whether or not it is prudent to disable startup above entries? I want to speed up my laptop at the highest possible level.

    Thanks a lot for your time!

    Kind regards
    Osman.

    My laptop:

    Toshiba Satellite Pro A300-15V (PSAJ5E) => NOT have multimedia keys except the FN keys.

    > Toshiba Button support (why should I this program if my laptop doesn't have multimedia keys? OR maybe this program for something else?)
    You can disable it. If your mobile phone does not support the multimedia buttons then this tool is useless.

    > ItSecMng (although I have disabled the Bluetooth Manager to run when starting from this point still remains in the startup)
    I don't know what would make this process, but you can disable this in msconfig-> tab start Mr. If it would take in the future, then you could turn it on again.

    > Agent of filtering the Conexant high definition Audio (what is this program? Do I really need to start?)
    I think that this is necessary. It could improve your audio

    > Toshiba Power Saver
    This is important. It s an additional saving of Toshiba option for Win 7

    > Toshiba Flash Cards
    This tool controls the FN keys.

    > RAID Event Monitor
    Hmm so you don t have two hard disks, then you can try to disable it too.

  • help with the beats on my envy 17-3270nr, n key

    help with the beats on my envy 17-3270nr key. recent Smart hard disk crash, replaced with exact same hitachi drive, same care extended warranty repairs covered of the Frys. Windows 7 Edition home premium w / service PAC 1 installed, drivers installed, except that now there is no volume of beats on screen graphic dial button, click the button on top button on the page does not call the beat of the application settings. Futhermore; the motion sensors of laser to activate the keyboard backlit keyboard do not work.  Are there drivers hp software to enable the missing features?

    Hello

    Download and install the following.

    HP OSD utility.

    Proximity sensor driver.

    Once completed, restart the laptop.

    Kind regards

    DP - K

  • How to use the kit sensor Bioinstrumentation Vernier with NI ELVIS II and LABview on a CPU?

    So I have the NI ELVIS II + and a box full of Bioinstrumentation sensor, including Kit sensors: Analog Proto board connector (s), pressure sensor, hand dynamometer, hand grip monitor heart rate, EKG sensors, Surface temperature probe, among others.

    I can't seem to get all the sensor data to my PC that I use, I'm not too familiar with electrical circuits but I followed the manual directions for the specific sensor but it seems as if it doesn't have a difference. I'm with copper son crochet and so that they know the places appropriate (according to the manual) but nothing.

    Am I missing something? I have also the is open regardless of the specific LABview laboratory (Surface Temp lab for example), but when I press run it is as the sensors are not recognized or even be recognized. The sensors are plugged into the connectors on the analog Proto Board also. What I am doing wrong, and how can I get these sensors to work?

    Any help will be greatly appreciated.

    From what I see, it looks like a typing mistake in the manual.

    Try to connect GND AI0 - and NOT ALWAYS.

    It should look like this.

    Connect the following pins for wire connector:

    1. AI0 + SIG1 analog connector Proto Board

    2. + 5V power supply DC to 5V analog Proto card connector

    3. Power supply to the GROUND to GND of the analog Proto board connector

    4. AI0 - GND of the analog connector Proto Board

  • Need help with the MapPoint 60-day trial versiio

    I installed the free trial 60 days of MapPoint and need the following help.

    I was able to create a map from an Excel spreadsheet and now map shows the 61 locations as landmarks. How can I change the Pushpins to look more like a data label. I want that every location mapped to display the name of place. The name of the place is a column in my spreadsheet. I already went through the help on the labels of data and pushpints, but I don't know what to do.

    It would be great if someone could call me.

    Thank you

    Vickie Johnson |

    Program Manager, q.. |

    MapPoint forum seems to be:

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

    Please ask your question there. The site of answers doesn't have a forum for MapPoint.

  • Problem SQL HELP during the installation of aviation the interactive dvd course!

    try to download interactive dvd Aviation course and be sktc kingschool SQL error does not exist... Check the State of SQL express instance and I install the classes I get a SsRestart occurred must close and send error report... Any help would be great!    Help!

    I suggest that you contact the manufacturer of the interactive DVD software to help get the program installed.

    They would be better able to help with your problem.

    Thank you

    Marilyn

Maybe you are looking for

  • Satellite M45 - does anyone know why the serial number is not recognized?

    I have two satellites, an old A20 and a not so old M45. The A20 is saved, but Toshiba refuses to recognize the M45. The serial number is "35056305Q. Any suggestions gratefully accepted.

  • Cannot open more than 1 browser Firefox

    My computer won't let me open more than 1 browser Firefox at the same time. If I close my browser Firefox 1 I can't reopen it unless I have use Windows Task Manager to END the process Firefox.exe. It seemed to start after I upgraded to a different pr

  • Green A icon in my system tray

    HP Envy 23 AIO Touchsmart 065 windows 8 I just bought this pc, did not know that was A green icon in the system tray? I noticed that it says something about a LED indicator. As a side note, also anyone notice how strong the PC gets when it is "though

  • all-in-one: using 100 percent with windows 8.1 drive

    hard drive shows useage 100 percent at different times. Often at startup and explore different sites on the internet.

  • Windows 7 update stops at 61%

    Hello, I would just ask something on my windows7 update, it automatically downloaded 18 upgrades for my pc but once I restarted and updates began to set up, the process stops at 61%, right on the start screen. Ive tried to reset in the middle of the