<?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: Executable will not WRITE to spreadsheet in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3791155#M1069487</link>
    <description>&lt;P&gt;BINGO!&lt;/P&gt;
&lt;P&gt;Kudos to whomever suggested to make sure to NOT select Minimized.&lt;/P&gt;
&lt;P&gt;Suggestion to the good folks at NI. Perhaps add this to the help file.&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 17:15:49 GMT</pubDate>
    <dc:creator>Murph</dc:creator>
    <dc:date>2018-05-09T17:15:49Z</dc:date>
    <item>
      <title>Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789456#M1068807</link>
      <description>&lt;P&gt;LV2016.&lt;/P&gt;
&lt;P&gt;Application reads from XL spreadsheet, finds a field based on searching row label, pulls and manipulates data, then updates one field of the spreadsheet.&lt;/P&gt;
&lt;P&gt;Works like a charm in development mode. I've also ran the exe on the pc running LabVIEW.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Transported to target PC, installed runtime libraries. Nothing errors.&lt;/P&gt;
&lt;P&gt;Calls spreeadsheet, pulls data as expected but will NOT write back to it!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 15:38:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789456#M1068807</guid>
      <dc:creator>Murph</dc:creator>
      <dc:date>2018-05-04T15:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789476#M1068815</link>
      <description>&lt;P&gt;Are you getting any errors out of your write function? (assuming you are handling your errors).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My first guess would be that the file to be written was installed as "read only", and you don't have permissions to write to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any further guesses would require a look at your code.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 15:54:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789476#M1068815</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-05-04T15:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789478#M1068816</link>
      <description>&lt;P&gt;Depending on what operating system and where you are storing the file, you may not have permission to write to the file. You need to be careful where you place files now in Windows. It does not allow you to edit files in certain locations on your computer without having to do extra work to make it allow access.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 15:56:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789478#M1068816</guid>
      <dc:creator>aeastet</dc:creator>
      <dc:date>2018-05-04T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789488#M1068821</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/95043"&gt;@Murph&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;LV2016.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Transported to target PC, installed runtime libraries. Nothing errors.&lt;/P&gt;
&lt;P&gt;Calls spreeadsheet, pulls data as expected but will NOT write back to it!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't know what "transported" means. Did you create an installer and install the exe on the target system? What is the actual full path of the file?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:10:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789488#M1068821</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2018-05-04T16:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789490#M1068823</link>
      <description>&lt;P&gt;I believe it has something to do with that.&lt;/P&gt;
&lt;P&gt;My dev station is Windows7, the target machine is Windows10&lt;/P&gt;
&lt;P&gt;I am doing file exchange with a folder called&amp;nbsp; C:\LN Files&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:10:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789490#M1068823</guid>
      <dc:creator>Murph</dc:creator>
      <dc:date>2018-05-04T16:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789491#M1068824</link>
      <description>&lt;P&gt;Yes, newer windows versions discourage the use of the root folder. Does it work if you run the exe as administrator (right-click...run as administrator). Even if you have admin privileges, the exe might not.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:13:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789491#M1068824</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2018-05-04T16:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789506#M1068832</link>
      <description>&lt;P&gt;I would create an installer, then select the file you want the user to be able to write to (here it is config.ini) and check the "unlock" button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.png" style="width: 851px;"&gt;&lt;img src="https://ip1.i.lithium.com/a435d498c360ff8b4e54dc38ffad684fba85ab7e/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32323735393969324643353437364335313134324634362f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Capture.png" alt="Capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:37:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789506#M1068832</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-05-04T16:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789705#M1068905</link>
      <description>&lt;P&gt;@gregoryj:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for the picture.&amp;nbsp; I've built a number of executables, but have not (yet) had to "drill down" to such detail to even realize that all those settings were available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;My tendency has been to keep "rarely-changed" data, such as Configuration files, in "User-space", either in a defined Public Folder (which is where I tend to install the Executables, e.g. &amp;lt;Public&amp;gt;\LabVIEW Builds\&amp;lt;Project&amp;gt;\&amp;lt;Executable&amp;gt;\&amp;lt;Files go here&amp;gt;) or in a defined Data Folder accessable to the User.&amp;nbsp; So far, this has worked well and has required little variation in going from Windows XP -&amp;gt; Windows 7 -&amp;gt; Windows 8.x -&amp;gt; Windows 10.&amp;nbsp; But next week, Microsoft could change the rules yet again ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 10:10:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789705#M1068905</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2018-05-06T10:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789722#M1068916</link>
      <description>&lt;P&gt;default seems to be c:\users\name\Documents, best chance to have write permissions in there.&lt;/P&gt;
&lt;P&gt;Other thing could be the document is not closed i.e. held open by something. Plus firewall/virus scanner paranoia towards your compiled version. Seems Windows 10 blocks more things than WIndows 7.&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 12:45:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3789722#M1068916</guid>
      <dc:creator>Steffen01</dc:creator>
      <dc:date>2018-05-06T12:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790566#M1069250</link>
      <description>&lt;P&gt;Frustrating!&lt;/P&gt;
&lt;P&gt;I went back and added a bunch of error traps, LV does not generate the error. It appears to be something with Excel itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 16:47:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790566#M1069250</guid>
      <dc:creator>Murph</dc:creator>
      <dc:date>2018-05-08T16:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790750#M1069305</link>
      <description>&lt;P&gt;is it on a network drive, the Excel spreadsheet? What happens, when you open it, does it say something about being protected? Open the spreadsheet yourself, see, if you can edit it, maybe it throws a warning.&lt;/P&gt;
&lt;P&gt;Alternatively, can you save as .csv?&lt;/P&gt;
&lt;P&gt;How about Open Office?&lt;/P&gt;
&lt;P&gt;Some programs I cannot save to my desktop, only into my documents.&lt;/P&gt;
&lt;P&gt;Another HD partition an option?&lt;/P&gt;
&lt;P&gt;Excel not installed as Admin?&lt;/P&gt;
&lt;P&gt;There is a software called "take ownership". maybe do that on the folder where you want to save into.&lt;/P&gt;
&lt;P&gt;Recently I tried to get rid of Windows 10 on a laptop, what a pain that was.....&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 01:51:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790750#M1069305</guid>
      <dc:creator>Steffen01</dc:creator>
      <dc:date>2018-05-09T01:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790925#M1069391</link>
      <description>&lt;P&gt;one more thing, is it Excel 2016? With all that 360 stuff, it takes forever to open the 1st time after PC reboot. Logging in to check, if its still licensed. Maybe run excel first, close, and then try again&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 10:12:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790925#M1069391</guid>
      <dc:creator>Steffen01</dc:creator>
      <dc:date>2018-05-09T10:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790976#M1069414</link>
      <description>&lt;P&gt;Looks like we are all on the same track.&lt;/P&gt;
&lt;P&gt;The dev machine is networked running Windows 7 Enterprise 64Bit, Office 2010&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The target machine (that won't work) is a network pc running Windows 10 and Office 2016&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 12:33:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3790976#M1069414</guid>
      <dc:creator>Murph</dc:creator>
      <dc:date>2018-05-09T12:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3791039#M1069439</link>
      <description>&lt;P&gt;I read in one of our documents: "&lt;EM&gt;Microsoft Excel spreadsheets&amp;nbsp;[...] increased these limits to 16,384 columns and 1 million rows. If these limits are exceeded and there is an attempt to access a row or column outside the allowed range, this error will occur: Error -2146827284 from the Excel_Get_Range VI.&lt;/EM&gt;" -&amp;nbsp;&lt;A title="Error 2146827284 Occurs When Writing to Excel Report Using Report Generation Toolkit VIs" href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LXmSAM" target="_blank"&gt;Error 2146827284 Occurs When Writing to Excel Report Using Report Generation Toolkit VIs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another document states that this can be caused because of the file not being accessible:&amp;nbsp;&lt;A title="Error-2146827284: File Does Not Exist When Opening Excel in LabVIEW" href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Q7USAU" target="_blank"&gt;Error-2146827284: File Does Not Exist When Opening Excel in LabVIEW&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if this could be the problem you are seeing (since it is the same ActiveX error code), but might be worth double checking if the Excel application is being initialized as Minimized, that the amount of samples being written to it is not too large, and that the file or destination can be accessed correctly.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 13:38:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3791039#M1069439</guid>
      <dc:creator>oscarfonseca</dc:creator>
      <dc:date>2018-05-09T13:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Executable will not WRITE to spreadsheet</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3791155#M1069487</link>
      <description>&lt;P&gt;BINGO!&lt;/P&gt;
&lt;P&gt;Kudos to whomever suggested to make sure to NOT select Minimized.&lt;/P&gt;
&lt;P&gt;Suggestion to the good folks at NI. Perhaps add this to the help file.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 17:15:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Executable-will-not-WRITE-to-spreadsheet/m-p/3791155#M1069487</guid>
      <dc:creator>Murph</dc:creator>
      <dc:date>2018-05-09T17:15:49Z</dc:date>
    </item>
  </channel>
</rss>

