<?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: How can i get current state of an operator? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570379#M70810</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/40637/kadircant.html" nodeid="40637"&gt;@Kadircan T&lt;/A&gt;, was one of Jason Lightfoot's or Felix Möhlmann's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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>Mon, 13 Mar 2023 19:46:02 GMT</pubDate>
    <dc:creator>Jeanette_Fullmer</dc:creator>
    <dc:date>2023-03-13T19:46:02Z</dc:date>
    <item>
      <title>How can i get current state of an operator?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570374#M70805</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, I want to assign the current state of the operator (ex: 1, 2, 3 ... ) as a label using assign label, how can I do this?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/65288-get-state.fsm" target="_blank"&gt;get_state.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 06:50:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570374#M70805</guid>
      <dc:creator>kadircan_t</dc:creator>
      <dc:date>2023-03-08T06:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get current state of an operator?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570375#M70806</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Do you mean the actual state, as in "idle/travel/loading/etc" or some number that is supposed to represent a different status, like you do with the "ChuteStatus" label?&lt;P&gt;And what object/token do you want to assign the label to?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 07:14:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570375#M70806</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-03-08T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get current state of an operator?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570376#M70807</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I mean the representation of status in numbers form such as "Idle == 1". I will add a new label to assign a helper operator to the token which has PersonelID label.&lt;/P&gt;
 &lt;PRE&gt;token.PersonelID.helper&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 08:29:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570376#M70807</guid>
      <dc:creator>kadircan_t</dc:creator>
      <dc:date>2023-03-08T08:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get current state of an operator?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570377#M70808</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can read the status of a fixed resource or task executer with the following expression:&lt;/P&gt;&lt;PRE&gt;// Get state number
object.stats.state(profileNum).value
// Get state name
object.stats.state(profileNum).valueString&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;object&lt;/EM&gt; is a reference to the object you want to read the state from. The &lt;EM&gt;profileNum&lt;/EM&gt; of the default state profile is 0 (you can also leave the argument blank in that case).&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 09:00:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570377#M70808</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-03-08T09:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get current state of an operator?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570378#M70809</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Are you asking about the state of the helper in order to determine if they can help? You can acquire the helper explicitly so don't need to check if they are idle.&lt;/P&gt;&lt;P&gt;Model attached with the code from your other post to have the helper travel to the same location and with helper labels added to each operator.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/65299-get-state-jl.fsm" target="_blank"&gt;get-state_jl.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 15:24:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570378#M70809</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-03-08T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get current state of an operator?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570379#M70810</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/40637/kadircant.html" nodeid="40637"&gt;@Kadircan T&lt;/A&gt;, was one of Jason Lightfoot's or Felix Möhlmann's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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>Mon, 13 Mar 2023 19:46:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-get-current-state-of-an-operator/m-p/13570379#M70810</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-03-13T19:46:02Z</dc:date>
    </item>
  </channel>
</rss>

