<?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: Binary websocket + image indicator in G Web Development Software</title>
    <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182706#M71</link>
    <description>&lt;P&gt;Too many years (30+) with current/future G to adapt well to NXG!&lt;/P&gt;
&lt;P&gt;Thanks for your help, my remote experimentation client previously written in JS is now written in LV &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hopefully the G Web module is eventually migrated to current G.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Ch.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Oct 2021 15:12:55 GMT</pubDate>
    <dc:creator>_Chris</dc:creator>
    <dc:date>2021-10-01T15:12:55Z</dc:date>
    <item>
      <title>Binary websocket + image indicator</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4181973#M66</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for a way to handle binary web socket other than importing my own JS code.&lt;/P&gt;
&lt;P&gt;In the same line I'd like to display the blob (received via the above binary was) in an image indicator, but only found URL image indicator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does binary WS and image indicator exist in G web ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Christophe&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 14:13:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4181973#M66</guid>
      <dc:creator>_Chris</dc:creator>
      <dc:date>2021-09-29T14:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Binary websocket + image indicator</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182390#M67</link>
      <description>&lt;P&gt;Hey!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you take a look at the "Write String.gvi" from the Websocket Palette, open it and take a look at the websocket.jsli you can see that there is an WSSendByteArray function. This should allow you to send binary data so all you need to do is create a "Write Byte Array.gvi" with this .jsli. Right now I don't have the time to dig deeper into this but maybe this is a good starting point for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To show you picture you might be able to use the URL image indicator. Just place an empty picture in you project link it to the image indicator and at runtime replace the file with you new data (maybe a refresh of the page/ indicator is required).&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 14:11:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182390#M67</guid>
      <dc:creator>Jens_S</dc:creator>
      <dc:date>2021-09-30T14:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Binary websocket + image indicator</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182501#M68</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Christophe,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;WebVIs do support binary WebSockets. You can use both &lt;A href="https://www.ni.com/docs/en-US/bundle/g-web-development-api-ref/page/readbinary.html" target="_self"&gt;WebSocket Read&lt;/A&gt;&amp;nbsp;and &lt;A href="https://www.ni.com/docs/en-US/bundle/g-web-development-api-ref/page/writebinary.html" target="_self"&gt;WebSocket Write&lt;/A&gt; in binary mode. When the node is dropped from the palette you have the option to configure string or binary mode. For nodes that are already dropped you can configure the mode from the properties pane. See the following:&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="websocketreadbinary.gif" style="width: 764px;"&gt;&lt;img src="https://ip1.i.lithium.com/0fd49e0e7b63abe3206d41f6ca5702917ad0a61c/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32393239323569443137374646353030464534354346432f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="websocketreadbinary.gif" alt="websocketreadbinary.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The URL image indicator does not support a binary buffer directly. One option is to use the community library &lt;A href="https://forums.ni.com/t5/Example-Code/File-for-WebVI/ta-p/4129229" target="_self"&gt;File for WebVI&lt;/A&gt; which includes the Base64.gcomp &amp;gt;&amp;gt; Create Data Url VI which can take a byte array and content type and create a &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs" target="_self"&gt;data url&lt;/A&gt; formatted string to pass to the URL Image control. See the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="urlimage3.PNG" style="width: 469px;"&gt;&lt;img src="https://ip1.i.lithium.com/31f9d799ec1cfec79ff71aa7f8fc5f3ad6f09bca/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32393239323669443137333633413931344145414638382f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="urlimage3.PNG" alt="urlimage3.PNG" /&gt;&lt;/span&gt;&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>Wed, 05 Nov 2025 19:33:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182501#M68</guid>
      <dc:creator>MilanR</dc:creator>
      <dc:date>2025-11-05T19:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Binary websocket + image indicator</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182629#M69</link>
      <description>&lt;P&gt;Hi Milan, Hi Jens,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your replies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Milan thanks for taking the time to build small animation.&lt;/P&gt;
&lt;P&gt;I'm still in the "NXG" style adaption stage for the G Web module...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Christophe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 12:30:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182629#M69</guid>
      <dc:creator>_Chris</dc:creator>
      <dc:date>2021-10-01T12:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Binary websocket + image indicator</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182705#M70</link>
      <description>&lt;P&gt;Hi Christophe,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above discussion applies to NXG 5 Web Module as well &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 15:06:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182705#M70</guid>
      <dc:creator>MilanR</dc:creator>
      <dc:date>2021-10-01T15:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Binary websocket + image indicator</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182706#M71</link>
      <description>&lt;P&gt;Too many years (30+) with current/future G to adapt well to NXG!&lt;/P&gt;
&lt;P&gt;Thanks for your help, my remote experimentation client previously written in JS is now written in LV &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hopefully the G Web module is eventually migrated to current G.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Ch.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 15:12:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182706#M71</guid>
      <dc:creator>_Chris</dc:creator>
      <dc:date>2021-10-01T15:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Binary websocket + image indicator</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182974#M78</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/4092"&gt;@_Chris&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hopefully the G Web module is eventually migrated to current G.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That seems very unlikely to me. If you think about all the functionality to render the website in NXG/ G Web with all the new HTML class and CSS stuff. I'm kinda new to LabVIEW but was very disappointed about the end of NXG. I still don't believe that there will be functionality like a zoomable Blockdiagram in LV.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 06:48:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Binary-websocket-image-indicator/m-p/4182974#M78</guid>
      <dc:creator>Jens_S</dc:creator>
      <dc:date>2021-10-04T06:48:37Z</dc:date>
    </item>
  </channel>
</rss>

