<?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: The Socket server does not receive much information, how to modify the code in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534787#M42861</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/34461/s9816358.html" nodeid="34461"&gt;@Tuan&lt;/A&gt;, it seems that it's a problem with the "getInput()" custom code. When you make a call to "serverreceive", your buffersize is only 15, thus why you only get the first few numbers. If you increase that buffersize, it will receive all your input. Just to test it, I set it to 400 and I got your whole message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1673980700878.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1514868i213F46903B1C989D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1673980700878.png" alt="1673980700878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/63187-increase-buffer-size.fsm" target="_blank"&gt;increase_buffer_size.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 17 Jan 2023 18:39:01 GMT</pubDate>
    <dc:creator>kavika_faleumu</dc:creator>
    <dc:date>2023-01-17T18:39:01Z</dc:date>
    <item>
      <title>The Socket server does not receive much information, how to modify the code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534786#M42860</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;Flexsim is the server, Python is the client&lt;/P&gt;
 &lt;P&gt;I have 72 parameters to enter&lt;/P&gt;
 &lt;P&gt;The input source is the information passed by python&lt;/P&gt;
 &lt;P&gt;But Flexsim can not receive all the information&lt;/P&gt;
 &lt;P&gt;how to adjust the code ?&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/63145-question.fsm" target="_blank"&gt;question.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/63157-%E7%B7%B4%E7%BF%921.py" target="_blank"&gt;練習1.py&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Thanks!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Jan 2023 05:53:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534786#M42860</guid>
      <dc:creator>s9816358</dc:creator>
      <dc:date>2023-01-17T05:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: The Socket server does not receive much information, how to modify the code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534787#M42861</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/34461/s9816358.html" nodeid="34461"&gt;@Tuan&lt;/A&gt;, it seems that it's a problem with the "getInput()" custom code. When you make a call to "serverreceive", your buffersize is only 15, thus why you only get the first few numbers. If you increase that buffersize, it will receive all your input. Just to test it, I set it to 400 and I got your whole message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1673980700878.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1514868i213F46903B1C989D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1673980700878.png" alt="1673980700878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/63187-increase-buffer-size.fsm" target="_blank"&gt;increase_buffer_size.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Jan 2023 18:39:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534787#M42861</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-01-17T18:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: The Socket server does not receive much information, how to modify the code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534788#M42862</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/34461/s9816358.html" nodeid="34461"&gt;@Tuan&lt;/A&gt;, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Jan 2023 21:00:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534788#M42862</guid>
      <dc:creator>andrew_o2</dc:creator>
      <dc:date>2023-01-20T21:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: The Socket server does not receive much information, how to modify the code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534789#M42863</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/34461/s9816358.html" nodeid="34461"&gt;@Tuan&lt;/A&gt;, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Jan 2023 21:05:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-socket-server-does-not-receive-much-information-how-to/m-p/13534789#M42863</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-01-20T21:05:26Z</dc:date>
    </item>
  </channel>
</rss>

