How to start a timer in labview, when a signal crosses a threshold of voltage

Hello

Please could someone help to find a way to start a timer when an event occurs? (like when a signal crosses a threshold of voltage)

Thus, I would ask that help me cope with the following question:

I'm acquiring a signal from an acquisition of data and comparing it with a certain threshold value. Once the voltage of the signal crosses this value, a timer should start and will continue until 30 seconds, IF the signal value PERSISTS beyond the threshold. The timer must be set back to zero if the voltage of the signal goes back the threshold before a period of 30 seconds.

Thanks in advance for your support,

Bill

Hi Bill,

What version of LabVIEW are you using?  If you are in 2009, you can actually save the .png to your computer file and just drag it into the block diagram of a white VI.  Also attached is the VI even recorded in LV 8.2 (the feedback node has been replaced with a shift during the downconversion register).

Best regards

Tags: NI Hardware

Similar Questions

  • How to avoid the launch of Labview when called by Teststand VI

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment. But when I run the sequence. LabVIEW automatically launches. How to avoid the launch of Labview when I run the sequence?

    Thank you.

    I'm not sure that I follow what you're saying...  But it seems that when the VI is called, the LabVIEW Development software is started and you want to avoid this.

    If you create an executable file or a dll and that any call within TestStand, she should not call the development environment.  You must have the LabVIEW runtime engine installed on the target computer.

    For several years I used TestStand with LV, if my memory does not have to be precise.  I think that the above worked for me.  However, it seems that I remember something to have the LV code in debug mode, causing to open development environment... but it's a distant memory.    You do not use breakpoints where the LV VI is called, are you?

    R

  • How to change the time timestamp labview at the UTC time

    Hello

    I have table of database in UTC time field.i select and insert data in the database table based on labview timestamp controll.

    example:

    Table:

    S:no U.name PWD Epoch (UTC 1970)

    1 1450422341 123 kumar

    mock 2 786 1450421623

    the era of labview is difference from UTC time. so ADD this second 2082844800 at the time of labview that it will work for selection quary but time insert is not a job.

    Here's how to convert a timestamp of LabVIEW to a timestamp of Excel (OLE).

    Red the explainiation down and I'm sure you can figure out how to change it to get the party time you need.

  • How Auto start the Physical Standby Database (when restarting the server)

    Dear All (s)

    I configure oracle (10.2.0) dataguard on the production database, a time server restart because of disconnectivity to power, I want restard dataguard when rebooting the server. I'm using Server 2003 32-bit. Guide me how I can run after orders when the server restarts.

    SQL > connect/as sysdba
    SQL > bootable media.
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;


    Thanks in advance

    I want to run these command each time when the server is restarted.

    Yes, I did not understand that... but what's the problem? You can't schedule a task when the server starts?

  • How to start a particular Photoshop version when multiple versions are installed

    I wrote a small program that automates some functions in PS CS2.

    So far it worked very well with PS CS2. Now due to some unknown reasons, the client has installed CS 4 and CS 5.

    Now my clinet want that software should be able to detect all version of the PS and to allow user to choose in what concerns with what version of PS my software should automate.

    Is this possible?

    If Yes and how?

    Oh! I also abserved unusual behavior. I don't know if it's because of my software or PS

    By default when my software executs this automation script (generated using Script listner)

    Rem =======================================================
      Dim objApp
      Set objApp = CreateObject("Photoshop.Application")
      Rem Use dialog mode 3 for show no dialogs
      Dim dialogMode
      dialogMode = 3
      Dim id11
      id11 = objApp.CharIDToTypeID("setd")
          Dim desc3
          Set desc3 = CreateObject("Photoshop.ActionDescriptor")
          Dim id12
          id12 = objApp.CharIDToTypeID("null")
              Dim ref2
              Set ref2 = CreateObject("Photoshop.ActionReference")
              Dim id13
              id13 = objApp.CharIDToTypeID("Prpr")
              Dim id14
              id14 = objApp.CharIDToTypeID("GnrP")
              Call ref2.PutProperty(id13, id14)
              Dim id15
              id15 = objApp.CharIDToTypeID("capp")
              Dim id16
              id16 = objApp.CharIDToTypeID("Ordn")
              Dim id17
              id17 = objApp.CharIDToTypeID("Trgt")
              Call ref2.PutEnumerated(id15, id16, id17)
          Call desc3.PutReference(id12, ref2)
          Dim id18
          id18 = objApp.CharIDToTypeID("T   ")
              Dim desc4
              Set desc4 = CreateObject("Photoshop.ActionDescriptor")
              Dim id19
              id19 = objApp.CharIDToTypeID("HsSt")
              Call desc4.PutInteger(id19, 1)
          Dim id20
          id20 = objApp.CharIDToTypeID("GnrP")
          Call desc3.PutObject(id18, id20, desc4)
      Call objApp.ExecuteAction(id11, desc3, dialogMode)
      Call SetUndoTo1CS3

    It will start automatically that the version of PS that changed was running before the system has been arrested.

    I would try one explain this in a different way:

    To get my software to talk to a particular version of the PS, I should perform the following steps:

    • Start this version of PS in I am interested
    • Open a file and save is under another name
    • PS nearby
    • Restart my PC

    After completing all of these steps when my software automates PS PS version will start that last run.

    No idea as to what is happening?

    Please help me solve this problem.

    OK, this editor is really lame. I hope it turns out when I press record!

    Dim wsh

    Dim pathToExe

    WSH value = CreateObject ("WScript.Shell")

    Pat

    hToExe = wsh. Regsec ("HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\12.0\ApplicationPath\")

    If Len (pathToExe) = 0 then

    WScript.Echo «You seem to have installed CS5»

    on the other

    WScript.Echo "default app is here:"& pathToExe. "

    end if

  • How to set the timer to countdown when you look at the media?

    original title: timer (7) on Media Player

    someone deleted this post... two totatly separate issues...

    Here it is again.

    When Im looking at something in media player, the timer goes upward. (totally unnecessary)

    Whats going up?

    I have every time next to the timer to show what that account to a click Timer.

    Is there a way to keep the time of the end of the video, like to count down to?

    And or is there a way to keep the meter countdown to 0?

    Hello

    Thanks for posting your query in Microsoft Community.

    From the information you have provided, I understand that you want to change the time settings in Windows Media Player.

    Unfortunately, there is no option to change the settings for time to count backwards in Windows Media Player.

    Using the windows-related issues feel free to post on the Microsoft Community Forum.

  • How to get the time limit requested when ping external interface FW IOS?

    After I install CBAC on an IOS Firewall Router and deny all incoming ICMP request, I ping the external interface of the router and I get "response from the (the external interface IP): the unreachable destination network. I think it's quite risky because my IP from the router's external interface is known. How can I set up such that I can get "Timeout asked" instead?

    Hello

    Try not to implement the "unreachable no ip" of your external interface.

    This command prevents the router ICMP unreachable sending at all.

  • How to avoid the launch of Labview VI when he invokes in Teststand environment?

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment.

    But when I run the sequence. LabVIEW automatically launches.

    How to avoid the launch of Labview when I run the sequence?

    Thank you.

    LabVIEW programs require a runtime engine. Under the TestStand configuration drop-down, select adapters. You can change the LabVIEW adapter to select the runtime rather than the development system.

    This should prevent the main screen of LabVIEW to appear, but you will not be able to change your LabVIEW VIs while they run of TestStand using the runtime engine.

  • How to start the database aautomatically

    Hello

    Oracle Version: 10.2.0.1(standard edition)
    OS: FEDORA 7

    Can someone help me please on how to start the base database automatically when the server is in place.

    http://www.Oracle-base.com/articles/Linux/AutomatingDatabaseStartupAndShutdownOnLinux.php

    Good, nice and clear link to auto-start the PB on linux.

    HTH
    Girish Sharma

  • color change of tank when the entry of a simulink crosses the threshold

    Hi all

    I want to change the color of the indicator of tank in labview from green to red when the input in simulink signal crosses a threshold. In fact I'm integrating simulink and a labview using connection OR SIT.

    Thank you

    Muhammad Abul Hasan


  • How to change the programs that load when Windows starts

    In simple terms... How to change the programs that load when Windows starts?  Because my boot time is slow in arriving at my login screen!

    Download and run the "Autoruns" from Microsoft Sysinternals freeware:

    < http://technet.microsoft.com/en-us/sysinternals/bb963902="">

    It lists all programs that start at startup and allows you to disable it by simply removing a check mark.  This makes it easy to reverse in case something goes wrong.

    HTH,
    JW

  • given the date and time not set when computer starts. also have a problem with typing

    by turning on my computer, sometimes it lights up at all, and then I try several times so that it lights up. When switching on the main screen, it says error due to the date and time not set and puts my computer starts in safe mode. When I am that I then have to set the date and time again. Why this keep happening?

    on my second question that I have is when I type an email or anything, my writing will just jump on another line and start typing in the middle of other sentences. Why is it jump around like that?

    You may have a failed in your motherboard CMOS battery.

    It's a battery power supply NET, size piece that keeps your system settings when your computer is off.

    They cost about $5 to replace.

    http://www.computerhope.com/issues/ch000239.htm

    How to replace the CMOS battery in the above link info.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to open 2 sites on start and 1 Web site when you click the home button?

    How to open 2 sites on start and 1 Web site when you click the home button?

    You can change your shortcut on the desktop Firefox with two starting URLS. To try:

    • Shortcut on the desktop: right-click on the icon, choose Properties
    • Icon taskbar pinned: clic click right on the icon, right click in Mozilla Firefox, click on properties

    Windows normally selects the shortcut tab. If this is not the case, go ahead and click on the shortcut tab.

    You will see the target highlighted. On 64-bit Windows, which is usually either not less the following:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    

    For the specific shortcut launch pages, you can add them to the end, for example:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -url "http://www.dilbert.com/" -url "http://www.gocomics.com/pearlsbeforeswine"

    After OK'ing the Properties dialog box, you can test everything right now to confirm that Firefox is now launching a window with tabs. Either:

    • Double-click the shortcut on the desktop
    • right click on taskbar icon pinned, click Mozilla Firefox

    Who do you want?

  • On Apple Watch, how to change the time when traveling to a different country, like London or Singapore?

    For Apple Watch, can someone please show me how to change the time on my watch when I travel to another country, like London or Singapore? Thank you.

    Hello

    When traveling to a different time zone, it is not necessary to manually change the time on Apple Watch.

    After turning off the flight on each of your iPhone and Apple Watch, the time on your watch can be updated automatically to reflect the local time.

    If it is not the case, try restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off.

    -To reactivate: press and hold the side button until you see the Apple logo.

  • How to access the tab 'Save all' when I close several jpeg files that have been adjusted with the "color adjust tool? He is currently making me close and save one at a time. Thanks for any help :)

    How to access the tab 'Save all' when I close several jpeg files that have been adjusted with the "color adjust tool? He is currently making me close and save one at a time.  I've just upgraded to El Capitan.  Thanks for any help :)

    I assume that you use the application overview.

    I can't find an answer to back up everything, but a workaround could be while the file menu options are visible, press the option key

    and the point of the window will become close, if you click on that dialogue will ask you if you want to restore the changes or save

    pressing Save will close the image with the changes and then move to the next image and so on.

Maybe you are looking for

  • Unable to print business cards P1102w of Word 2007 / Windows 7

    New computer under Windows 7 and Office 2007, free Wi - Fi to P1102w. I had trouble printing envelopes, but set the print properties > source = Auto Select and can now print envelopes ok. I tried the same thing when I try to print business cards, pri

  • DVD not recognized

    When I insert a dvd, the dvd is not recognized and I wonder ' to install a dvd or disk etc.

  • System interrupts when 99% idle

    My pc's freeze on load games and I can't play anymore. SFC/scan finds all errors devices have no conflict detected all improvements disabled on the speakers and recorder malwarebites, tsskiller eset online scanner cannot find any errors I have uninst

  • All links on the page fail after migration to Trinidad

    Migrated Jdev 10g App to JDev 11g (11.1.1.9).Note: the page works in 10g.I got the site working with the exception of one page (and a few minor bugs). This page looks like others he has a tab-based menu (and duplicate links) and a search box. When I

  • Inspiron One 2320 A10 BIOS update is blocked

    I'm trying to update the BIOS on my Inspiron One 2320 after replacing the hard drive. It worked fine except the fan was running full speed constantly, even after a boot after being closed overnight - so no question of real heat. Advance Google search