<?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: Dynamic axis reference line update from external source in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Dynamic-axis-reference-line-update-from-external-source/m-p/820359#M99889</link>
    <description>&lt;P&gt;There are at least three ways you can stream data into JMP and update a data table with the new values; many platforms can automatically update their graphs when the table updates.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can use a JSL socket. This is a low level approach for non-SSL connections. But once a socket is opened, you can read it in a loop while your external process produces data into a socket. This has the longest learning curve.&lt;/LI&gt;
&lt;LI&gt;You can use RunProgram and read the stdout stream from your external process and parse the stdout into data table records. This is modestly complicated and there are a number of examples in the community.&lt;/LI&gt;
&lt;LI&gt;You can use DataFeed. See &lt;LI-MESSAGE title="Arduino" uid="21310" url="https://community.jmp.com/t5/Uncharted/Arduino/m-p/21310#U21310" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;. This is quite old and not much used, but if it works for you may be easy.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;All of these ideas are about the same as far as parsing is concerned; you package the data in a way that JMP can parse it from an infinite stream of characters. RunProgram is my favorite; I've used it with&amp;nbsp;&lt;A href="https://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_self"&gt;PuTTY&lt;/A&gt;&amp;nbsp; to get stdout from programs on remote computers ( &lt;LI-MESSAGE title="Can JSL talk to Linux?" uid="33689" url="https://community.jmp.com/t5/Uncharted/Can-JSL-talk-to-Linux/m-p/33689#U33689" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;, &lt;LI-MESSAGE title="JSL to Control Raspberry Camera" uid="226243" url="https://community.jmp.com/t5/Uncharted/JSL-to-Control-Raspberry-Camera/m-p/226243#U226243" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;).&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 14:54:50 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2024-12-03T14:54:50Z</dc:date>
    <item>
      <title>Dynamic axis reference line update from external source</title>
      <link>https://community.jmp.com/t5/Discussions/Dynamic-axis-reference-line-update-from-external-source/m-p/820281#M99876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm JMP17 user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a graph with x-axis representing a timestamp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to build external tool that will be a video player, and I want that tool to keep sending to the jmp graph the current timestamp, and it will be represented as a reference line on the x-axis that will keep moving according the current time on the video player.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to test it I create a dummy app in cpp that keep sending to the stdoutput randome timestamp, compiled it as exe and run it through the jsl script and parse the text and show it on the graph.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wandering if there is any better option to stream data to jmp and keep updating the graph.&amp;nbsp;&lt;/P&gt;&lt;P&gt;if the video player will be a python app, will it be easier to integrate with the JMP?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ran&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 05:45:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Dynamic-axis-reference-line-update-from-external-source/m-p/820281#M99876</guid>
      <dc:creator>Vertigo42</dc:creator>
      <dc:date>2024-12-03T05:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic axis reference line update from external source</title>
      <link>https://community.jmp.com/t5/Discussions/Dynamic-axis-reference-line-update-from-external-source/m-p/820324#M99879</link>
      <description>&lt;P&gt;You might also get some ideas from Uncharted Blog by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;, such as this&amp;nbsp;&lt;LI-MESSAGE title="New Project Data Points" uid="562554" url="https://community.jmp.com/t5/Uncharted/New-Project-Data-Points/m-p/562554#U562554" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 11:29:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Dynamic-axis-reference-line-update-from-external-source/m-p/820324#M99879</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-12-03T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic axis reference line update from external source</title>
      <link>https://community.jmp.com/t5/Discussions/Dynamic-axis-reference-line-update-from-external-source/m-p/820359#M99889</link>
      <description>&lt;P&gt;There are at least three ways you can stream data into JMP and update a data table with the new values; many platforms can automatically update their graphs when the table updates.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can use a JSL socket. This is a low level approach for non-SSL connections. But once a socket is opened, you can read it in a loop while your external process produces data into a socket. This has the longest learning curve.&lt;/LI&gt;
&lt;LI&gt;You can use RunProgram and read the stdout stream from your external process and parse the stdout into data table records. This is modestly complicated and there are a number of examples in the community.&lt;/LI&gt;
&lt;LI&gt;You can use DataFeed. See &lt;LI-MESSAGE title="Arduino" uid="21310" url="https://community.jmp.com/t5/Uncharted/Arduino/m-p/21310#U21310" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;. This is quite old and not much used, but if it works for you may be easy.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;All of these ideas are about the same as far as parsing is concerned; you package the data in a way that JMP can parse it from an infinite stream of characters. RunProgram is my favorite; I've used it with&amp;nbsp;&lt;A href="https://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_self"&gt;PuTTY&lt;/A&gt;&amp;nbsp; to get stdout from programs on remote computers ( &lt;LI-MESSAGE title="Can JSL talk to Linux?" uid="33689" url="https://community.jmp.com/t5/Uncharted/Can-JSL-talk-to-Linux/m-p/33689#U33689" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;, &lt;LI-MESSAGE title="JSL to Control Raspberry Camera" uid="226243" url="https://community.jmp.com/t5/Uncharted/JSL-to-Control-Raspberry-Camera/m-p/226243#U226243" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;).&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:54:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Dynamic-axis-reference-line-update-from-external-source/m-p/820359#M99889</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2024-12-03T14:54:50Z</dc:date>
    </item>
  </channel>
</rss>

