<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Front panel changes monitors in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909182#M1109727</link>
    <description>&lt;P&gt;My question is what is causing this.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2019 23:21:58 GMT</pubDate>
    <dc:creator>RustyStrings</dc:creator>
    <dc:date>2019-03-29T23:21:58Z</dc:date>
    <item>
      <title>Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3906390#M1108727</link>
      <description>&lt;P&gt;I have a vi that I built to an exe. It is a little panel meant to run and provide information.&lt;/P&gt;
&lt;P&gt;I run it and it shows up on my primary monitor in the position where I saved it.&lt;/P&gt;
&lt;P&gt;Then periodically after I lock the screen an log back on the front panel is now on a different monitor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 11:19:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3906390#M1108727</guid>
      <dc:creator>RustyStrings</dc:creator>
      <dc:date>2019-03-22T11:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3906444#M1108745</link>
      <description>&lt;P&gt;Seams you haven't asked a question... not sure if you are bragging or complaining.&lt;/P&gt;
&lt;P&gt;First thing to do would be to provide a list of steps to reproduce this behavior you are describing....&lt;/P&gt;
&lt;P&gt;- what OS?&lt;/P&gt;
&lt;P&gt;- is the vi minimized when locking the screen?&lt;/P&gt;
&lt;P&gt;- is it running on a laptop in a docking station?&lt;/P&gt;
&lt;P&gt;- have you un-docked, then re-docked the laptop when you noticed the shift in placement?&lt;/P&gt;
&lt;P&gt;- is the vi actively setting its position?&lt;/P&gt;
&lt;P&gt;- is your "log-in" screen on a different monitor that the vi?&lt;/P&gt;
&lt;P&gt;- sounds like you have left the vi's position property at Unchanged under the "Window Run-Time Position"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 13:59:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3906444#M1108745</guid>
      <dc:creator>Frozen</dc:creator>
      <dc:date>2019-03-22T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909181#M1109726</link>
      <description>&lt;P&gt;I built&amp;nbsp; an exe, it runs positioned at the top of the screen where it was supposed to run. I lock the screen and some time later log back in and the program is now on a different monitor.&lt;/P&gt;
&lt;P&gt;This may happen to other applications as well.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 23:19:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909181#M1109726</guid>
      <dc:creator>RustyStrings</dc:creator>
      <dc:date>2019-03-29T23:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909182#M1109727</link>
      <description>&lt;P&gt;My question is what is causing this.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 23:21:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909182#M1109727</guid>
      <dc:creator>RustyStrings</dc:creator>
      <dc:date>2019-03-29T23:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909582#M1109875</link>
      <description>&lt;P&gt;I think answering the questions asked by Frozen might give us more information. It is very difficult to troubleshoot with so little information.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:18:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909582#M1109875</guid>
      <dc:creator>JoAl0304</dc:creator>
      <dc:date>2019-04-01T15:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909596#M1109883</link>
      <description>&lt;P&gt;Wild guess&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(But the accuracy of my magic 88-Ball is legendary)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power manager options are shutting down monitors and they come back on line erratically.&amp;nbsp; &amp;nbsp;Plug n Pray.&amp;nbsp; Setting the power manager options to high performance will make it behave.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:42:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909596#M1109883</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2019-04-01T15:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909600#M1109886</link>
      <description>&lt;P&gt;- what OS? Windows 10&lt;/P&gt;
&lt;P&gt;- is the vi minimized when locking the screen? I don't do any programming to minimize the vi (but if that happened I wouldn't be able to tell because the screen is locked)&lt;/P&gt;
&lt;P&gt;- is it running on a laptop in a docking station? yes&lt;/P&gt;
&lt;P&gt;- have you un-docked, then re-docked the laptop when you noticed the shift in placement? no the laptop is still in the docking station&lt;/P&gt;
&lt;P&gt;- is the vi actively setting its position? At first the vi had code to move the vi and that was what I suspected to be causing the problem, however I completely disabled any positioning code and it still happens&lt;/P&gt;
&lt;P&gt;- is your "log-in" screen on a different monitor that the vi? no both are on the same monitor that is my main monitor&lt;/P&gt;
&lt;P&gt;- sounds like you have left the vi's position property at Unchanged under the "Window Run-Time Position" that is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have worked around this situation by looking at the current monitor and comparing it to the monitor I expected it to be on and if they are different I set the current monitor t the correct one. I put some code in the program to log when the monitor is changing&amp;nbsp; to get an idea of when it is happening here is an excerpt. The last data on the line is the monitor number. The program is supposed to be on #3. so in the text below you see that I locked the screen 57 seconds later the vi switched itself to monitor 2. The code recognized this and set it back to 3. then Almost immediately the vi switched itself to 2, so the code put it back to 3.&lt;/P&gt;
&lt;P&gt;12 minutes and 27 seconds later I logged on .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;8:31:55.787 AM 4/1/2019,Window Event,02:15:44,Screen Locked&lt;BR /&gt;8:32:52.859 AM 4/1/2019,Monitor Changed,00:00:57,2&lt;BR /&gt;8:32:55.029 AM 4/1/2019,Monitor Changed,00:00:02,3&lt;BR /&gt;8:32:55.286 AM 4/1/2019,Monitor Changed,00:00:00,2&lt;BR /&gt;8:32:55.497 AM 4/1/2019,Monitor Changed,00:00:00,3&lt;BR /&gt;8:45:22.019 AM 4/1/2019,Window Event,00:12:27,Logon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't expect anyone to troubleshoot the situation I was wondering if anyone else had experienced this behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:46:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909600#M1109886</guid>
      <dc:creator>RustyStrings</dc:creator>
      <dc:date>2019-04-01T15:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909602#M1109888</link>
      <description>&lt;P&gt;I changed to a high performance setting. I should be able to tell if that makes a difference.&lt;/P&gt;
&lt;P&gt;The strange thing is it happens about 57 seconds after I lock the screen. there was nothing in the old power plan until 15 minutes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:53:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909602#M1109888</guid>
      <dc:creator>RustyStrings</dc:creator>
      <dc:date>2019-04-01T15:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909608#M1109891</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/70533"&gt;@RustyStrings&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I changed to a high performance setting. I should be able to tell if that makes a difference.&lt;/P&gt;
&lt;P&gt;The strange thing is it happens about 57 seconds after I lock the screen. there was nothing in the old power plan until 15 minutes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Screen lock on some laptops/ docking stations sets an energy save 1 minute timer.&amp;nbsp; I would&amp;nbsp; guess it takes about 3 seconds to safely lock up the system.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 16:13:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909608#M1109891</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2019-04-01T16:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909625#M1109900</link>
      <description>&lt;P&gt;I checked and the screen shuts off after about one minute.&lt;/P&gt;
&lt;P&gt;I don't think I ever stuck around long enough to notice that before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 16:58:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909625#M1109900</guid>
      <dc:creator>RustyStrings</dc:creator>
      <dc:date>2019-04-01T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Front panel changes monitors</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909709#M1109922</link>
      <description>&lt;P&gt;It turns out to have nothing to do with LabVIEW. I left a word window open and when I logged back in it was on the other window.&lt;/P&gt;
&lt;P&gt;Sorry for wasting everyone's time. I just noticed this with my program and because I do have some window movement functionality in my code I went down the rabbit hole.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that changing the power &amp;amp; sleep options helps but will need to give it some time to be sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 18:21:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Front-panel-changes-monitors/m-p/3909709#M1109922</guid>
      <dc:creator>RustyStrings</dc:creator>
      <dc:date>2019-04-01T18:21:58Z</dc:date>
    </item>
  </channel>
</rss>

