Jump to content
Ruslan

download state machine

Recommended Posts

А можно вопрос, как быть если в какой-то frame работает долго, тогда вся программа не реагирует на события. Как быть в этом случае?

Share this post


Link to post
Share on other sites
11 hours ago, Ruslan said:

А можно вопрос, как быть если в какой-то frame работает долго, тогда вся программа не реагирует на события. Как быть в этом случае?

I have to confess that I don't speak Russian :)

I think you said (according to Google Translate), "How could it be the case that a frame works for a long time, and then the whole program does not respond to events?"

I'm not sure without looking at your specific code/example.

Share this post


Link to post
Share on other sites

thanks for the response. While there is no code, I just hypothetically looked at the structure and there was such a question. For example, if in some "case" there is a long calculation, then accordingly the program does not respond to events ... Or am I wrong?

Share this post


Link to post
Share on other sites

Hi @Ruslan.

Yes, if a Case Structure frame is doing work, the Event Structure frames will not execute (until the Case Structure is done and there is no more “work” on the state string shift register / queue (unless the “Idle” state is called explicitly by adding it to the state string queue).

However, Events (that the Event Structure is registered for) will still be queued up for the Event Structure to handle once the work is done in the Case Structure.

hope that helps,

Jim

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.