<?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: Troubles when using the realtime() command in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/troubles-when-using-the-realtime-command/m-p/13581382#M79278</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks, I'll try it
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 05 May 2023 08:11:01 GMT</pubDate>
    <dc:creator>hoang_nk</dc:creator>
    <dc:date>2023-05-05T08:11:01Z</dc:date>
    <item>
      <title>Troubles when using the realtime() command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/troubles-when-using-the-realtime-command/m-p/13581380#M79276</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi guys,&lt;/P&gt;
 &lt;P&gt;I'm having a small question regarding the realtime() command. &lt;/P&gt;
 &lt;P&gt;So I'm writing a logging function for my model and would like to write the information such as time and date, actions and results, etc. into a text file. I got it worked but there is a small problem when printing date/time using the realtime() command as it automatically returns a new line right after the date/time. For example I would like to print some strings like this:&lt;/P&gt;
 &lt;P id="isPasted"&gt;&lt;STRONG&gt;"Fri May 5 08:30:48 2023 SocketClient Level5 test test test"&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P&gt;However, using the realtime() command will return this:&lt;/P&gt;
 &lt;P id="isPasted"&gt;&lt;STRONG&gt;"Fri May 5 08:30:48 2023&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P&gt;&lt;STRONG&gt; SocketClient Level5 test test test"&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P&gt;where you can see that it makes 2 lines instead of writing in the same line.&lt;/P&gt;
 &lt;P&gt;Does anyone have any idea how to fix this?&lt;/P&gt;
 &lt;P&gt;Regards,&lt;/P&gt;
 &lt;P&gt;Hoang&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 May 2023 05:54:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/troubles-when-using-the-realtime-command/m-p/13581380#M79276</guid>
      <dc:creator>hoang_nk</dc:creator>
      <dc:date>2023-05-05T05:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles when using the realtime() command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/troubles-when-using-the-realtime-command/m-p/13581381#M79277</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Using &lt;EM&gt;trim() &lt;/EM&gt;on the returned string seems to do it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="capture1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516923i3285A6C36B476ACF/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture1.png" alt="capture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 May 2023 07:29:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/troubles-when-using-the-realtime-command/m-p/13581381#M79277</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-05-05T07:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles when using the realtime() command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/troubles-when-using-the-realtime-command/m-p/13581382#M79278</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks, I'll try it
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 May 2023 08:11:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/troubles-when-using-the-realtime-command/m-p/13581382#M79278</guid>
      <dc:creator>hoang_nk</dc:creator>
      <dc:date>2023-05-05T08:11:01Z</dc:date>
    </item>
  </channel>
</rss>

