<?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: help needed-- error code 1815 in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700848#M321069</link>
    <description>&lt;DIV&gt;Hi gupta.nit,&lt;/DIV&gt;
&lt;DIV&gt;i thought you can upload the vi in the same configuration as you use it, can you? I see no "Spreadsheet String to digital" function. Can you upload it with some characters you have already received?&lt;/DIV&gt;
&lt;DIV&gt;Mike&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 May 2008 14:05:06 GMT</pubDate>
    <dc:creator>MikeS81</dc:creator>
    <dc:date>2008-05-05T14:05:06Z</dc:date>
    <item>
      <title>help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700728#M321000</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;i m using &lt;FONT color="#ff0000"&gt;'visa configure serial port'&lt;/FONT&gt; followed by &lt;FONT color="#ff0000"&gt;'visa read'&lt;/FONT&gt; to take input from com1 port. The received signal is spreadhead string. i need to convert it to digital waveform for further processing. there is a VI available for this named &lt;FONT color="#003366"&gt;&lt;FONT color="#ff0066"&gt;'spreadsheet string to digital&lt;/FONT&gt;.vi'&lt;/FONT&gt;. but while using this VI for the conversion, i m getting an error as given below&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;-------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;Error -1815 occurred at DTbl Spreadsheet String to Digital.vi&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;Possible reason(s):&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;LabVIEW:&amp;nbsp; An invalid character was present in the spreadsheet string. Use only 0, 1, L, H, X, Z, V, or T.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;Complete call chain:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DTbl Spreadsheet String to Digital.vi&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DWDT Spreadsheet String to Digital.vi&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visa read.vi&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;I need your help to solve this problem. its very urgent for my project&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="4"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by gupta.nitesh87 on &lt;SPAN class="date_text"&gt;05-05-2008&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:12 AM&lt;/SPAN&gt;</description>
      <pubDate>Mon, 05 May 2008 12:12:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700728#M321000</guid>
      <dc:creator>gupta.nitesh87</dc:creator>
      <dc:date>2008-05-05T12:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700746#M321011</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi &lt;SPAN style="COLOR: #666666"&gt;gupta.nit…,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #666666"&gt;check your string for the invalid characters. Can you upload your vi, because it´s easier to see what you have done?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #666666"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2008 12:19:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700746#M321011</guid>
      <dc:creator>MikeS81</dc:creator>
      <dc:date>2008-05-05T12:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700747#M321012</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;You should try "Spreadsheet string to array".&amp;nbsp; You can set the array to your desired numeric format (ie: Double, etc).&lt;/P&gt;
&lt;P&gt;Depending on how you do your acquisition, you may want to build your array until it is ready to be processed, plotted, etc.&lt;/P&gt;
&lt;P&gt;RayR&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JoeLabView on &lt;SPAN class="date_text"&gt;05-05-2008&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:22 AM&lt;/SPAN&gt;</description>
      <pubDate>Mon, 05 May 2008 12:22:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700747#M321012</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2008-05-05T12:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700842#M321067</link>
      <description>&lt;DIV&gt;i m uploading the vi here&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 May 2008 13:59:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700842#M321067</guid>
      <dc:creator>gupta.nitesh87</dc:creator>
      <dc:date>2008-05-05T13:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700848#M321069</link>
      <description>&lt;DIV&gt;Hi gupta.nit,&lt;/DIV&gt;
&lt;DIV&gt;i thought you can upload the vi in the same configuration as you use it, can you? I see no "Spreadsheet String to digital" function. Can you upload it with some characters you have already received?&lt;/DIV&gt;
&lt;DIV&gt;Mike&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 May 2008 14:05:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700848#M321069</guid>
      <dc:creator>MikeS81</dc:creator>
      <dc:date>2008-05-05T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700954#M321093</link>
      <description>&lt;DIV&gt;sorry mike. that was my mistake. &lt;/DIV&gt;
&lt;DIV&gt;now i m uploadig correct vi.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 May 2008 15:59:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700954#M321093</guid>
      <dc:creator>gupta.nitesh87</dc:creator>
      <dc:date>2008-05-05T15:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700968#M321101</link>
      <description>&lt;DIV&gt;One more thing I want to tell is like our data is coming from a microcontroller that is sending all 000-FFF and without ant delimiter. So suggest any other visa read vi which can directlr take in binary or as byte instead of reading it as string.&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 May 2008 16:17:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700968#M321101</guid>
      <dc:creator>gupta.nitesh87</dc:creator>
      <dc:date>2008-05-05T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700973#M321104</link>
      <description>There is only 1 VISA Read, and it returns a string. It's up to you to deal with that string. You state:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN class="noindex"&gt;our data is coming from a microcontroller that is sending all 000-FFF and without ant delimiter&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN class="noindex"&gt;&lt;/SPAN&gt;&lt;SPAN class="noindex"&gt;So why are you trying to use the Spreadsheet String to Digital Waveform VI? If you have no delimiters, then that VI won't work. &lt;SPAN&gt;&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://ni.lithium.com/i/smilies/16x16_smiley-surprised.gif" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;It seems to me that what you actually want to do is typecast the data recveived from the microcontroller as an array of numbers. You did not provide a sample of what &lt;U&gt;you're actually receiving from the microcontoller&lt;/U&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 May 2008 16:29:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700973#M321104</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-05T16:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700992#M321114</link>
      <description>&lt;DIV&gt;Actually we dont want it in string its just that we found only VISA read VI to take data from device connected through com1 port which stores in buffer as string by default. What we are recieving is a signal recording some heart beat pulses and we want to have it displayed in amplitude time graph. When we are seeing on other oscilloscope programs its showing nicely but we are facing problem in labview possiblly due to these data format mismatch. Its showing YYYYYYYYYY in read buffer and when we are tring to convert in byte array and converting in digital waveform it gives Error -1815 occurred at DTbl Spreadsheet String to Digital.vi LabVIEW:&amp;nbsp; An invalid character was present in the spreadsheet string. Use only 0, 1, L, H, X, Z, V, or T.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 May 2008 16:55:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700992#M321114</guid>
      <dc:creator>gupta.nitesh87</dc:creator>
      <dc:date>2008-05-05T16:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: help needed-- error code 1815</title>
      <link>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700997#M321118</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;If you are getting strings of "YYY", the it doesn't meet the criteria.&amp;nbsp; You can only&amp;nbsp;use 0, 1, L, H, X, Z, V, or T.&lt;/P&gt;
&lt;P&gt;So as Smercurio stated, you cannot use the Spreadsheet string to Digital waveform.&amp;nbsp; You have to deal with the string in a different manner.&lt;/P&gt;
&lt;P&gt;Use the VISA Read to get the serial data.&amp;nbsp; But you must then handle that before you try to plot it.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In order for anyone to propose something, we would need to see an unmodified version of the received string straight from the serial port.&amp;nbsp; You could save it in a text or binary file, whichever is more appropriate and post it in this thread. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JoeLabView on &lt;SPAN class="date_text"&gt;05-05-2008&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:01 PM&lt;/SPAN&gt;</description>
      <pubDate>Mon, 05 May 2008 17:01:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/help-needed-error-code-1815/m-p/700997#M321118</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2008-05-05T17:01:15Z</dc:date>
    </item>
  </channel>
</rss>

