<?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: Error 85 occurred at Scan From String (arg4) in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184830#M921908</link>
    <description>&lt;P&gt;I am not sure what I am doing is right. But where do I exactly add the %s. A image description will be of more help.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Aug 2015 21:36:40 GMT</pubDate>
    <dc:creator>raj177</dc:creator>
    <dc:date>2015-08-28T21:36:40Z</dc:date>
    <item>
      <title>Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184805#M921897</link>
      <description>&lt;P&gt;I am trying to scan in hexadecimal values and convert it into decimal values from a text file.&lt;/P&gt;
&lt;P&gt;The file I am scanning from consists of linessuch as&lt;/P&gt;
&lt;P&gt;DSDS S0=00002B5D S1=00002AD5 S2=00001C9E S3=00001050 S4=00000003 S5=D2BF3769&lt;/P&gt;
&lt;P&gt;I am trying to convert the S0, S1, S2 , S3, S4 AND S5 to decimal values. But I keep getting "Error 85 occurred at Scan from String (arg4)". I am not sure what I am missing here. I have attached the vi below.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:30:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184805#M921897</guid>
      <dc:creator>raj177</dc:creator>
      <dc:date>2015-08-28T20:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184808#M921898</link>
      <description>&lt;P&gt;Just add '%s ' to the beginning of your format string to grab the start of the string, (make sure you add the space after the %s)&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:36:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184808#M921898</guid>
      <dc:creator>Darin.K</dc:creator>
      <dc:date>2015-08-28T20:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184809#M921899</link>
      <description>&lt;P&gt;Putting "DSDS " at the front of the format string works also but is not as flexible as Darin's recommendation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:43:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184809#M921899</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2015-08-28T20:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184830#M921908</link>
      <description>&lt;P&gt;I am not sure what I am doing is right. But where do I exactly add the %s. A image description will be of more help.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:36:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184830#M921908</guid>
      <dc:creator>raj177</dc:creator>
      <dc:date>2015-08-28T21:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184834#M921911</link>
      <description>&lt;P&gt;Where you have it is fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:41:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184834#M921911</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2015-08-28T21:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184835#M921912</link>
      <description>&lt;P&gt;But I am still getting an error " Error 1 occurred at Scan from String -input parameter is invalid"&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:43:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184835#M921912</guid>
      <dc:creator>raj177</dc:creator>
      <dc:date>2015-08-28T21:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184851#M921921</link>
      <description>&lt;P&gt;I do not get any error and the outputs seem reasonable when I run it using the string you posted in the first post of this thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 22:37:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184851#M921921</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2015-08-28T22:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184852#M921922</link>
      <description>&lt;P&gt;Using the string you posted in your earlier message in the VI you posted, it works just fine for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure you have a complete, accurate string?&amp;nbsp; Post your VI with the string that fails saved as the default value in the string control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS:&amp;nbsp; You don't need to wire a constant 0 to all of those inputs.&amp;nbsp; The default value is already 0.&amp;nbsp; And the datatype will default to the datatype of the indicator you wire in.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 22:40:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184852#M921922</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2015-08-28T22:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184973#M921967</link>
      <description>&lt;P&gt;This is the VI I have got. But I still keep getting the error input parameter is invalid. Can you just post the vi you think which works fine so that I can cross check what is the mistake.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 00:45:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184973#M921967</guid>
      <dc:creator>raj177</dc:creator>
      <dc:date>2015-08-30T00:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184974#M921968</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/288909"&gt;@raj177&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;This is the VI I have got. But I still keep getting the error input parameter is invalid. Can you just post the vi you think which works fine so that I can cross check what is the mistake.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As Raven said above, please post that same VI with typical data saved in the control as default values.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 01:02:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184974#M921968</guid>
      <dc:creator>billko</dc:creator>
      <dc:date>2015-08-30T01:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184975#M921969</link>
      <description>&lt;P&gt;You failed to put your received string into the control and save it as default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The string you posted earlier worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See attached VI wiht that string data saved.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 01:10:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184975#M921969</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2015-08-30T01:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error 85 occurred at Scan From String (arg4)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184980#M921974</link>
      <description>&lt;P&gt;Thank you. Yeah you were right. I didn't give a received string to the control.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 02:05:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Error-85-occurred-at-Scan-From-String-arg4/m-p/3184980#M921974</guid>
      <dc:creator>raj177</dc:creator>
      <dc:date>2015-08-30T02:05:48Z</dc:date>
    </item>
  </channel>
</rss>

