How can I turn off my computer when I push de STOP button from de program?

How can I turn off my computer when I push de STOP button from de program?

You might also want to have a look at the old winutil>Windows API Function Utilities (32-bit) for LabVIEW. While they are written in LabVIEW 4.0 (!), they still seem to work fine under W2000 and LabVIEW 7.0. In particular, have a look at "exit windows.vi" inside "winevent.llb" of the above link. It calls the function "ExitWindowsEx" of user32.dll. Since this is part of the OS, you don't need to include extra DLLs.
(All the above assumes Windows OS. I don't know how to shutdown the OS on e.g. MAC or linux.)
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How can I turn off the volume when I turning on my computer?

    Hi,
    how can I turn off the volume when my imac is turn on? later if i use it to listens music or whatever I can turn it on manually
    I don't want to sound that indicates the computer is on
    thanks
    adaltam

    Hello:
    Simply hit the mute key on your keyboard (found over the F10 key).
    Barry

  • How can I turn off Recently Websites when opening new Safari window? After tapping on the two overlapping boxes on the bottom right of Safari, a new blank window appears with Favorites, but now in iOS 8, recently viewed websites are listed.

    How can I turn off Recently Visited Websites when opening new Safari window?
    After tapping on the two overlapping boxes on the bottom right of Safari, a new blank window appears with Favorites, but now in iOS 8, recently viewed websites are listed. How can I turn this function off? I do NOT want my new Safari windows to have history displayed of previous websites I visited. I only want my Favorites (on the top) to be displayed. Please help.
    Thank you for your time, patience, understanding, kindness, and concern.

    Thanks for replying, but that isn't the answer I am looking for.  Also, there is no + sign, UNLESS you do tap the overlapping boxes.
    Let me try to ask my question a little more clearly:
    When I tap the two overlapping boxes on the lower left (the option to Open New Windows), the new Window that appears will show your Bookmarked FAVORITES. But with my new iPhone 6, and the new iOS 8.0.2, when I tap the two boxes to open a New Window, my Bookmark Favorites show (as they always have and should), but below them, there is a dividing line underneath them, and it says Recently Viewed Websites, and has these websites available to tap.
    So my question is, HOW DO I TURN THESE OPTION OFF?
    *UPDATE  (10.13.14): Since I have asked this question, I no longer see these Recently Viewed Websites under my Bookmarked Favorites in my new Window tabs. So I hope that Apple fixed it, or somehow it was a mistake, or somehow I changed an Option on my iPhone 6 that stopped this for reoccurring.
    Thank you for your help bobseufert! I appreciate your concern, kindness, and the time to try to help. I am grateful.
    Have a blessed day.

  • How can i turn off the computer remotely using java?

    is it possible to use a java code for turning off the computer remotely by other computer in LAN?
    or if it is not possible how can i achieved that goal?
    thanx

    bd0 wrote:
    Well, if you're running linux you could use Runtime.getRuntime().exec() to execute 'halt -p', if the process was being run as root. Not terribly elegant but I suppose it would work. Although I wouldn't want an unattended process running as root.Yes, this is how you can do it, but on Windows machines as well. I'll go into pseudocode:
    App1: Server (running on every lab machine)
    open server socket on port X
    wait for connection
    verify connection is yourself so that not everyone can shut it down
    if not, wait for connection again
    if it is, run halt for linux or shutdown for windowsApp2: Client (running on just your computer)
    open a socket to each machine running the server app (or you could use multicasting)
    validate yourself however you did that
    close socketThere are some implications of this though - unless your validation mechanism is decent, pretty much anyone can shut down anything they want. Also, if you don't check for a logged-in user, you may destroy someone's work. Just keep those in mind.
    Also, if it is a Windows setting, there are usually better ways to do this - a well-managed windows network has built-in functionality to shut down computers remotely.
    Edited by: sprizor on Jun 22, 2008 10:59 AM

  • How can I turn off my TV when I airplay music?

    Hi all
    My ATV (3rd gen) is connected to an A/V receiver using HDMI. The A/V receiver outputs to the TV using HDMI as well. Playing video is perfect. But when it comes to playing music, the TV must be turned on. If I turn my TV off, the music will stop.
    Is there a way to airplay my music without turning on the TV?
    Thanks,
    vaion

    Just to update my findings. If your TV was on and then you AirPlay the music, the music will stop when you turn off the TV. However, if your TV was off and then you AirPlay the music, the music can be played without the TV on. Well, not sure this is useful to anyone.
    Cheers,
    vaion

  • How can I turn off battery charging when plugged in to power on a plane?

    Hi,
    is there an app that can turn off battery charging while plugged in?
    I regularly fly from Australia to Europe (22 hours on the plane!) but the power outlet usually stalls when draining too much power
    (e.g. 85 Watts for my Macbook Pro battery).
    Any solutions available?
    I used to just take out the battery, however, that  is not possible anymore on the Macbook Pro.
    Thanks for your help.
    Christoph

    But why turn off battery charging, makes no sense in this case. You either run off the battery or plug it in and run off the battery while it is charging.
    The power draw won't change appreciably.
    My bad power consumption will change
    It would seem the best strategy would be to get on with a fully charged battery plug in the laptop and let it trickle charge as you use it. Given the length of the flight this should give you the longest use with the minimum amount of draw from the seat outlet.

  • How can I turn off text recognition when converting PDF to Word?

    I just converted a PDF to Word.  It was an image file, but the converter recognized certain lines in the illustration as text elements, so some of the pictures are "chopped up".  Is there a way to "turn off" the text recognition feature so that I can keep my images intact?  Thanks for your help!

    Hi watermelon321,
    You can't disable OCR if you convert via the ExportPDF website, but you can if you convert from within Reader. This document tells you how: How to disable Optical Character Recognition (O... | Adobe Community
    Please let us know if you have additional questions.
    Best,
    Sara

  • How can i turn off my ipod when it's frozen?

    I was about to get on facebook and it froze. Its been 40 mins since its been frozen. What do I do?

    - Try:
    iOS: Not responding or does not turn on
    - If not successful and you can't turn the iPod fully off, let the battery fully drain. After charging for at least an hour try the article again.
    - If still problem that indicates a hardware problem and an appointment at the genius Bar of an Apple store is in order.

  • How can I turn off time stamp

    How can I turn off time stamp when packaging .air file

    Have you tried:
    ADT <other args> -tsa none

  • How can I turn off charging via usb of my iphone 4s when I connect it to my computer?

    how can I turn off charging via usb of my iphone 4s when I connect it to my computer?

    You cannot.
    Why would you want such a thing?

  • How can I turn off computer screen, when mirroring to apple tv?

    How can I turn off computer screen, when mirroring to apple tv?
    Thanks.

    Welcome to the Apple Community.
    You can't. Mirroring is just what it says, it mirrors exactly what is on your computer screen, if there is nothing on your computer screen, that's what you will see on your TV screen.

  • How can I turn off the sound from the original midi  or audio tracks when I turned on the duplicate tracks for editing ?

    How can I turn off the sound from the original midi or audio tracks when I edit or listen to the duplicate tracks in Logic Pro 9 ?
    I'm using iMac desktop with Mac OS X Version 10.7.3. Pls advise.

    Dan,
    It sounds like one of your preferences has changed.
    Go to preferences > audio > general, and make sure "track mute/solo" is set to "CPU saving (slow response)". It is probably set to "Fast " at the moment.
    This setting (fast) basically causes immediate muting from the channel strip while your song is in play. This is because the audio is still being read from the hard drive, but the channel strip is simply muted.... like a hardware mixer. When set to "CPU saving", the audio from that track, when muted, is actually stopped from streaming from the hard drive, but there is a couple second delay before the audio is actually muted.
    One would think that the fast setting is generally preferable, except when you need to do what you are doing. The only way to keep duplicate copies of channel strips acting independent of one another is to leave this setting on the "CPU saving" setting.
    Hope that helps

  • How can I turn off the beep my incoming callers hear when my phone is busy?

    How can I turn off the beep my incoming callers hear when my phone is busy?

        I appreciate your concern! This feature is unable to be removed. The only way an incoming caller would not hear this particular beep is if a ringback tone is active on the line.
    YosefT_VZW
    Follow us on Twitter @VZWSupport

  • How can i turn off all the mails that i recive when use any program form my iPad?

    How can i turn off all the mails that i recive when use any program form my iPad?

    Everytime i use the my ID recive an e Mail to inform me.

  • How can i turn off passcode when the option is greyed out

    how can i turn off passcode in iPhone 4S when the option is greyed out?

    You can't. Do you have an Exchange account on the phone? If so, the ability to disable the passcode can be restricted by a profile installed when setting up the Exchange account.

Maybe you are looking for

  • Plzzz help me

    my iphone 4 was off when turn it on they show me a usb cable and itunes when i blog it on itunes they say check the survice options and processes in your country how can i turn it on back ?

  • Callling pl/sql function in BI DataModel Sql DataSet

    I'm creating a BI Data Model where the Data Set is a SQL query. The SQL query calls a pl/sql function. As a simple SQL query example: pl/sql pkg: test_utility function: GetRate select test_utility.GetRate(tc.code,'USD', sysdate) from test_currency tc

  • How do i find out what version i'm running

    How do i find out what version i'm running, i'm on CC (6 is it), i want to check if i'm running 6.0 or 6.01 - the update, i cannot see where my version is. If i press 'About Adobe Lightroom', it takes me to the credits box which shows what camera raw

  • AppleScript for opening different iTunes libraries

    I want an application that will, at the press of a button open one of my two iTunes libraries, as I have to switch between them with frequency. Unfortunatly, I can't figure out how to tell iTunes to open a specific library. I have what I tried pasted

  • Migrate MS Access applications to Java

    Are there any tools/documents/case studies etc. available on migrating MS Access applications to Java? Thanks in advance!