Bug: Windows 7 DLL call to turn off monitor message crashes LabVIEW 10.0f2

Hi,
I wanted to log this bug on the forum. I have already logged this with NI UK Support: CAR# 286873
I was trying to find a way to turn off a laptop lcd
monitor during measurements. I was trying to replicate this
http://codereflect.com/2009/04/03/how-to-programmatically-turn-onoff-your-monitor/
which uses windows messaging.
I found the attached Monitor-1.vi somewhere on the forum that seems to do the above.
However when I run the VI it crashes LabVIEW 10.f2 on Windows 7 32-bit.
cheers
David
Solved!
Go to Solution.
Attachments:
Monitor-1.vi ‏13 KB

Hi Cosmin,
That was it! Thank you so much!
I will let NI UK support that you identified the issue and get them to close the CAR.
cheers
David
Attachments:
Turn off Monitor.vi ‏12 KB

Similar Messages

  • GT70 BSOD or Stuck after Windows puts it to sleep mode of turns off monitor

    Hi Everyone!
    i have an  issue (or 2) with my laptop.
    both happens when:
    1) whenever i put the laptop into sleep mode or either windows does so automatically (inactive period), - the laptop will go to sleep just fine.
    2) windows turns off monitor after a period of inactivity. (sleep mode due to inactivity was disabled in this case)
    in both the cases i mentions above, if i wake the computer within lets say 5 minutes, it'll turn on just fine.
    but after a certain period of time passes it wont.
    with the sleep mode, the computer will wake and will then produce a BSOD STOP error 0x4 and restart.
    with monitor turned off it'll simply wont turn on, not responding to neither keyboard, mouse or power button. - i have to do a hard reboot
    any ideas?
    anything i can check?
    note the laptop just came back from a warranty repair, so all parts have been tested and been found ok!
    system specs:
    MSI GT70-0ND
    CPU: Intel Core i7-3630QM 2.4GHz (Intel GPU HD 4000 included)
    Memory: 16GB DDR3
    Storage: 750GB HDD 7200rpm
                   128GB SSD (Patriot Pyro SE) - OS installed on this.
    GPU: 4GB NVIDIA Geforce GTX 675MX
    OS: Windows 7 64bit
    Thanks in Advance!!

    i dont think i have the same problem as in the other thread.
    my bios:
    my laptop doesnt restart when my screen is turned off and i try to wake it. it would simply wont wake up.
    and my BSOD happens only after i wake the laptop from sleep mode and only if it been in sleep mode for a while. meaning i if i wake it up within a few mins of going to sleep it'll boot justfine.

  • ITunes disables Power Options- Turn Off Monitor

    If I just run iTunes on my Windows XP PC my monitor no longer turns off after the "Control Panel->Power Options->Power Schemes->Turn off monitor" time period has expired. The monitor stays on contiuously. This issue exists even if I exit iTunes. I need to manually go into control panel and reset the "Turn off monitor" setting.
    I suppose there might be a reason iTunes wants to disable this when it's executing but how about putting this energy saving setting back they way it found it when I exit iTunes.
    Is there a way to do this?
    Thanks,
    J

    Hello avalove2003,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More. 
    I have read your post on how your monitor is displaying an error message stating: "Power Button  Lockout", and I would be happy to guide you towards a resolution!
    Since you have already performed a factory reset on the monitor, I recommend contacting our technical support at 1-800-474-6836. If you live outside the US/Canada Region please click the link below to get the support number for your region.
    http://www.hp.com/cgi-bin/hpsupport/index.pl
    I hope this helps!
    Have a great weekend!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Getting error message that states itunesexe has been set to run in compatibilty mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it .How do i turn off compatibility mode?

    recieved error message that states" itunes exe has been set to run in compatibility mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it. How do i access compatibility mode and turn it off ? Believe i have Windows 7.

    Try the following document, only be sure that none of the boxes in the compatibility tab are checked (not just the compatibility mode box itself): 
    iTunes for Windows: How to turn off Compatibility Mode

  • [SOLVED] How to turn off monitor at CLI

    Hi
        I've been trying to find a way to turn off my monitor, but the solutions I've found were almost all for X environment.
        The best hint I've got was add following lines to /etc/rc.local:
    setterm -blank 1
    setterm -powersave on
    setterm -powerdown 1
    With that, monitor was suppose to blank screen after 1 minute and, after another 1 minute, shutdown. But it only blanks and nothing more. Without the first line: "setterm -blank 1", it just don't do anything.
        Does anybody has idea of what else should I try?
        Thanks in advance.
    Last edited by vinicius (2009-02-27 02:48:43)

    Hi, Nezmer
    Even with aliases, I would have to type von with monitor turned off.
    I've done a script, witch is not a perfect solution, but works fine.
    monitor_off:
    #!/bin/bash
    # Check if X is running or not, turn off monitor, #
    # wait for a key press and turn it on again. #
    grep_result_file=$PWD'/x_running'
    # Check if X is running.
    ps -e | grep -e "\bX\b" > $grep_result_file
    ps -e | grep -e "\bxorg\b" >> $grep_result_file
    ps -e | grep -e "\bxserver\b" >> $grep_result_file
    ## If you want to check result file, uncomment following lines.
    #echo "===== $grep_result_file - begin ====="
    #cat $grep_result_file
    #echo "===== $grep_result_file - end ====="
    if [ ! -s $grep_result_file ] || [[ $(tty) =~ tty ]] || [[ $(tty) =~ vc ]]; then
    echo 'Detected X not runnig or you are at console...'
    if [ $UID -ne 0 ]; then
    echo 'You need super user privileges to run this script at console.'
    echo 'Rerun as super user or start X and run from a terminal.'
    exit 0
    fi
    turn_off='vbetool dpms off'
    turn_on='vbetool dpms on'
    else
    echo 'Detected X running...'
    turn_off='xset dpms force off'
    fi
    echo 'Turning off monitor...'
    $turn_off
    echo 'Waiting for a key press...'
    read -n1 -s
    echo 'Turning on monitor...'
    $turn_on
    rm $grep_result_file
    echo 'Finished: monitor_off'
    It checks if X is running or not because at X environment vbetool was a little slow, at least for me.
    That's it!
    I hope this could be useful for someone else.
    Thank you for helping, guys.
    Vinícius
    P.S.: I'm setting this thread as solved, but any suggestion about the script is welcome.

  • How can I turn off the message that keeps bugging me to update to Firefox 6.0?

    How can I turn off the message that keeps bugging me to update to Firefox 6.0? Given the problems and incompatibilities with 5.0 I have no intention of upgrading until it's absolutely necessary!

    Settings>General>Accessibility>Voice Over change to off.
    PJRS

  • Unity - How do I turn off voicemail message "your mailbox is almost full"?

    We recently set a mailbox limit on our exchange server. Some users are over the limit until they deuce their mailbox size. When they check their messages via the 7940 "messages" button, they get the message "Your mailbox is almost full?etc" before it will playback their messages. Once they get their mailbox under 90% of the limit the messages will go away. My question is how do I turn off the message? I realize the message is a "good thing", but even if it's a system (all off) setting, please post. I did find how keep outside users that are calling in from hearing that they can't leave a message because the person they're trying to contact has a full mailbox, so that's not what I'm looking for. I?m just trying to find out how to keep the user with the new limit from hearing that every time.
    We are running Unity 4.2(1)

    You can disable this in the registry. This is not a Cisco documented or recommended option. I have done it for customers who were really adament about the notifications.
    Here are the steps to do on your Unity server. Again I want to stress I'm not sure if this is Cisco supported but it's a simple change that requires no reboot.
    1. Backup your windows registry
    2. Open regedit
    3. Browse to HKEY_LOCAL_MACHINE\Software\Active Voice\MalEx\1.0
    4. Open the REG_DWORD DisableStatusCheck
    5. Change the value from 0 to 1
    This should take effect right away. This is a universal system all off for the Unity server only. Exchange is not effected.
    Please rate any helpful posts
    Thanks
    Fred

  • Is there a way for my MMS message phone numbers not seen by whole group even after turning off group messaging?

    I send messages to a group of people but they are all able to see each other's phone numbers and they can't tell who is sending the message because on their iphone all the numbers appear and I have turned off group messaging.  Is ther a way to prevent that from happening? 

    I am simply lookig for some help not an argument.  I am not an RF specialist however have setup a few wireless networks in my tenure at Wynn Resorts.  I fully agree that wireless networking is an art and a science however the powers that be in Network Land have toughted wireless networking is the easiest and quickest way to get two computers to talk with one another.  As I previously said I have already turned one (1) MBP in for this problem and Apple decided to replace it because they could not fix the problem with my particular MBP.  This MBP was running Leopard when the problems started
    I am having a hard time believeing that there are several other devicces in my home that depend on a wireless network to operate and my MBP is the only one having an issue.  I took this a step further and decided to see what would happen if I tried to connect wirelessly via Fusion.  In Windows 7 I am able to print and scan to my hearts content without any issues.  I am able to browse the internet as much as I want.  I close Fusion and try to connect to my printer via wireless and nothing.
    In order to get Apple to help do I need to get a Network Analyzer and capture packets when I have these problems?  Out of the 1000 + posts is there a consolidation of which answer is the best?  BTW I am accessing the internet via a wireless connection using Fusion and Windows 7.
    In response to Linc's comments, I will look at the router specifications however I did not qualify that these devices are not using the wireless connection at the same time.  Right now I would guess there are maybe two (2) or three (3) at the most that are actively transmitting / receiving information. --  Thanks

  • How to turn off printing message box that appears every time I send a document to the printer?

    How to turn off printing message box that appears every time I send a document to the printer?  Appears bottom right corner of screen above task bar.  Printer is HP c309a All-in-One PhotoSmart printer.

    I have an Iphone 4s, and every time I receive a call and i dont answer it, the cell shows a black screen with many things to do and automatic messages to send, like "call back, save, remind, call now, call later, etc". If I don´t close it as soon as i receive the call, then the cell gets frozen in that screen and i have to restart it. Sory for my english, i´m from argentina! thaks for your help !!!

  • How can I turn off "i-message?"

    I switched from an Iphone to a Nokia, I am no longer getting messages or calls from other Iphones. How do I fix this? How can I turn off "i-message" if my Iphone is broken?

    http://www.icloud.com
    Turn off everything from that site. Use your apple ID and password.
    There is also a text message you can send to apple
    Can’t receive text messages on a non-Apple phone
    Good Luck

  • Turning off text messaging

    How do I turn off text messaging to my Comcast phone number? The xfinity app, in Text Settings, subscriptions options, teases you to think you can do it, but all it does is confirm that text messaging is active. This looks like a bug.  I have wasted far too much time navigating the web site(s) and from my mobile devices via the app, account settings, etc, etc. Very frustrating. 

    Comcast/XFINITY,I agree.  As a customer I would like the opportunity to turn off this feature.  I don't use it and it perpetuates the notion that someone is communicating with me (passively?) when they are in fact not.  It is generally accepted and well known that mobile phones are text capable and we use them accordingly.  Text capability on a land line is not needed.  It provides yet one more communication channel that I am forced(?) to check--because Comcast is imposing their will on me.  I need fewer and more efficient communication tools. . .not more.

  • How Do I turn off Text message on my MacBook Air

    My MacBook Air, my husband's Macbook Pro, and my Iphone4 are all linked and therefore my husband sees all my text. The problem is an educator I may be discussing something confidential, therefore how do I unlink his mac from my iphone. We do share the same Apple account...

    Hi there Zorro1960,
    You should be able to prevent your messages from going to your computer, by removing your phone number from iMessages and turning off Text Message Forwarding using these instructions. They are about turning on these features but you should turn them off instead:
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity
    Go to Settings > Messages > Send & Receive > You Can Be Reached By, and add a check to both your phone number and email address.
    Go to Messages > Text Message Forwarding, and enable the device(s) you would like to forward messages to.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Turn off warning messages on queries,Why?

    <h4>Hi, as we know, we always turn off warning messages on queries by RSRT, but I don't know why.
    Needs Help,Thanks all.</h4>

    Mistake, and I don't know how to delete it...

  • Why should we turn off warning messages on queries?

    Hi, as we know, we always turn off warning messages on queries by RSRT, but I don't know why.
    Needs Help,Thanks all.

    hi,
    If you didnt surpress the messages in the RSRT,
    when user execute the report, on the top of the variable screen, and top of the report out put page the system will give warning messages, and usally Users dont like to see those messages and some of the users can think that there is some problem with the query designing;
    so always better to surpress the messages
    Regards
    ReddY A

  • Settings button (action) is on the left had side of the Cellular Data is Turned Off notification message put up while the OK button is present on the right hand side of the notification

    The defualt notification message put up when launching iTunes on iPhone devices show that Cellular Data is Turned Off message is put up with Settings and OK button.
    This seems to be inconsistent with the default 'Cancel' and 'Action' buttons in other notification messages from Apple.
    Is it fine to consider the OK button first (left) and Settings(right) button next in the Cellular Data is Turned Off error message in the apps so that it is in line with the apple guidelines??
    Please help with this.
    Thanks you so much.

    Try the basics from the manual.  Restart, reset, restore.

Maybe you are looking for

  • How to read disqualified rows after filter criteria is applied?

    Hi, I Use JDeveloper 11.1.2 I have a view object, which shows 100 records during initial time. I've applied filter criteria in such a way that it displays only 20 records. One of my requirement is to surf the records which are disqualified for the fi

  • Can't create a windows partition

    I'm trying to create a windows partition through bootcamp but it refuses to do so because I'm guessing that it's scanning permission that need to be repaired. The message states that I need to run disk utility. The problem though is, I can't do anyth

  • Remote phone gets an IP, but won't register in CM

    I have a remote user with a an 7941 + an 871 Router that can't get her phone to register in CM and thus can't use her phone. It shows an IP in CM and the IP is set to static on the 870. Any help would be great. Regards,Chet

  • How do you change apps on your phone with out using the home button?

    Just trying to see if there is an easier way.

  • TOC Concept

    Hi,   Can anyone explain me the concept behind the TOC in InDesign? How the ordering of contents is done, when the contents are in same page using multiple styles. - Sudha K