Turn on the LED for periods

Hello

I am trying to write a code that turns on an LED if a condition is met for five seconds.  Let's say I am to evaluate the slope of a curve.  If the slope of the curve remains greater than or equal to 1 for 5 seconds, then the LED should turn on.  Initially, I thought I could use a number of cycles or the elapsed time express VI, where if my slope become greater than 1, then the timer would start.  If the slope is less than 1 before the second 5 mark has been met, then the timer will be reset to 0 and start the next time the slope become greater than 1.  Help, please!

Thank you!

foolysubmerged wrote:

Hello

I am trying to write a code that turns on an LED if a condition is met for five seconds.  Let's say I am to evaluate the slope of a curve.  If the slope of the curve remains greater than or equal to 1 for 5 seconds, then the LED should turn on.  Initially, I thought I could use a number of cycles or the elapsed time express VI, where if my slope become greater than 1, then the timer would start.  If the slope is less than 1 before the second 5 mark has been met, then the timer will be reset to 0 and start the next time the slope become greater than 1.  Help, please!

Thank you!

Using the elapsed timer express VI is a good solution. Use the reset entry as soon as the slope is located off spec.

Tags: NI Software

Similar Questions

  • Re: How to turn off the led for wireless communication

    I bought BN100 just a couple of days. By far, I am very happy with it. BUT there is one thing that bothers me. The lamp which indicates the wireless communication, is on all the time. I can't turn off. The lamp right under the touch pad in the middle.

    My question: how TO MAKE LIGHT DYE?

    I read the manual, but I have not found a way to do it!

    / Timo

    NB100-11R (Ubuntu-Linux version) press Fn and F1 key at the same time. Think that the XP version
    use the same keys.

  • How can I change/turn off the led under the speakers on Satellite P100?

    How can I change/turn off the led under the speakers? (in Satellite P100 (PSPA6E))
    Now I see the light only in the left side, but when I bought the computer left and right led line lights blue under the speakers.

    Gazz's right. It is not possible to switch off the LEDs. If just one LED is on the other must be faulty. Contact the customer Service of your country partner. I'm sure they can disconnect one too if you n t need her.

  • How to turn off the microphone for sony hdr-pj260v

    How to turn off the microphone for sony hdr-pj260v

    Hi dstrakal,

    Option to disable the built-in microphone is not available in the camcorder. However, the camcorder has an input jack to connect an external microphone, there are two possible solutions for this:

    1. Connect a microphone with a switch ON / OFF the microphone on the camcorder decision-making. Then, set the switch to the external microphone to the OFF position. This will disable the microphone on the camcorder.

    2. Connect a dummy stereo mini plug to the microphone on the camcorder Jack.

    If my post answered your question, please mark it as "acceptable Solution".

  • turn off the "allow for remote assistance" setting prevents someone view my computer remotely?

    original title: Hi, I wonder, if someone has access to my ip address and I want to prevent them from view remotely or even control my activities, turn off the "allow for remote assistance" setting prevent from coming into my computer?

    Hi Dom.A


    Yes, if you have given access or invited a person to have access remotely from your computer, then definitely disabled this option helps you. Refer to the following links for assistance on the question and check.
    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-remote-assistance-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-happens-when-I-enable-Windows-remote-assistance

     

    I hope this helps.

  • Cannot turn off the LEDS on Cisco Aironet 1141

    I am trying to turn off the LED on a Cisco Aironet 1141 p/n AIR-AP1141N-A-K9.  It is a standalone AP and the CLI I publish this command:

    turn off the display of #led AP (config)

    The light does not go out after you type this command.  If I "run" it appears in the config so that the order has been accepted.  Is there another way to turn off the LED?  I'm under JA1 IOS Version 12.4 (21a).

    If you have the AP 1141 under warranty, you can send an email to [email protected] / * / PA serial number and they can post you the picture ask you.

    You want to say "Thank you"?
    Ne. Just note the useful responses,
    It is more useful than 'thank you'.

  • It is good to turn on the printer for a long time?

    Hi all

    It is good to turn on the printer for a long time? It causes health and ink?
    Thank you

    Hi AhamedSajad,

    Are there specific that appeal to you?

    Turn on the printer for a long time would not adversely affect his health. Nor does it affect the ink somehow.
    The ink could get used only when you use the printer to print.
     
    I hope this helps.
  • Can I turn off the sound for a website but not computer?

    I like to play POGO games all of which come with a certain type of sound effects, but at the same time, I like to listen to my radio station streaming favor. How can I disable the sound for Web sites but not my music streaming?

    If it is an individual, video or audio on a web page, you can try to turn off or disable the audio using the audio and video controls on the web page, or you can install an extension that adds this functionality. It is called mute, and you can install it from https://addons.mozilla.org/en-US/firefox/addon/muter/

  • Portege M800: How to turn off the LED light of the multimedia and the touchpad?

    Hello

    I have Toshiba Portege M800.
    I want to know, how can I turn off the light of multimedia and the touchpad
    Thanks in advance

    Hello

    I m not M800 owner but I ve got an another Toshiba laptop and these LED lights I can turn market in the BIOS and in Toshiba HWSetup.
    The HWSetup is placed in Toshiba help optimize them and the settings are in the tab 'enlightenment '.

    See you soon

  • Turn off the LEDs in the structure of the case

    Hello

    I was wondering if someone could help me solve a problem in a software test bench that I am developing. I have attached some of my code in which the problem is visible. I have a business structure that is triggered by a 'push button '. I want the TEST that is currently RUNNING LED remain lit until the end of the execution of the case structure (condition true) then shuts down once it is completed. But the LED does not turn off and remains lit. Is that what I can do in the condition False to activate the LED is off when the code is not running. Please note that to run the program, you will need to "run continuously. I want until the led turns off after getting the 'result' so that the software operator can know that he is free to perform the next test. But now when the 'Start Test 2 "is executed after 'Start Test', the LED stays on.

    It might be a simple solution that I can be not familiar with, but forgive me, I am a new user of Labview and I could not find a solution to this online.

    Thank you.

    Kind regards
    DPAC

    Hi DPAC.

    simple solution as requested:

  • is it harmful to the laptop battery to turn on the AC for a long time?

    Hello

    Thank you for reading my post.

    Is - harmful to the laptop battery if I put the phone on during a long period on the current?

    Thank you

    Hello

    the answer is not simple.

    The Lenovo powermanager should do the job for you.

    Maybe you are able to load automatic loading in settings powermanager.

    I Don t know if the option in the new versions of powermanager is chosen as standard.

    Maybe it isn´t a switch or a checkbox, causing the Manager already does.

    But it won´t affect your battery when you leave it plugged in AC.

  • How can I turn on the backlight for the keyboard on desire 4 t-1000

    So, I got my computer yesterday and I've been fiddling with it since then. But, for the life of me, I can't understand how to turn / control the backlight on the keyboard. I don't see any buttons obvious or control when I search from the start menu. So, I wonder if I not looking in the right places or if he computer is not just came with the backlight, I ordered.

    I watched a guide on keyboards backlit hp and he showed the f5 key as a regulator, but mine is all black with a small f5 in the upper corner. I'm kinda leaning towards hp screwed up during construction, so I want to confirm if I can start trying to recover the money.

    Hello

    If she had a backlit keyboard, it will be "glow" of fefault. In any case, you can try one of the following methods:

    • Hold down the fn key and press the space bar.
    • Press the F5 key.

    Kind regards.

  • How can I turn off the scale for the pipette/color theme tool?

    I have a shortcut key (F13) for the eyedropper tool that speeds up the formatting for me.  With the latest version of InDesign, the pipette now shares the same space as color theme tool, when I press initially on F13 I get the theme instead of the eyedropper color tool.  Yes this happens only at first, but I don't want it to happen at all.  Is there a way I can turn off the toggle between these 2 tools so that F13 only active the eyedropper tool?

    No worries, I found this thread:

    Is there a way to make the ordinary Eyedropper tool FAILURE since they added a stupid color theme tool?

    Seems I'm not the only one having this problem, too bad it is not solution yet.

  • Move the control to turn on the LED

    Hi, I'm fairly new to labview... How to use a control to hover over one area to light a LED in this area?

    Ah, Yes, ok. You will need to do some fancy here stuff to move a control during execution because he is not quite the same as the development environment.

    Check out this example and use the screw to move the controls.

    Once you have a control move, you can take it's information relating to contact details to find out if it's over your LED. Then you can write True or False to the LED.

  • Help me!!! Air-sap702i can he turn off the LED standalone ap mode? What is the command?

    I need help with the problem.

    The customer needs to put out of the LED. because it is installed in the hotel room.

    Interference LED blinks the eyes to sleep.

    I need to know the command line to disable autonomous LED of AP mode in the version of the firmware. 15.x.x

    Is it possible?

    help me T - T

    Thank you

    Phong

    Do not have this AP, but have you tried this:

    config t

    LED display off

    Scott

Maybe you are looking for