10-18-2021 05:02 AM
Actually I am trying to actualise the functionality of timeout of event structure using state machine for this considering state machine is quite similiar to it but unable to do so. Can anyone suggest a small snippet or a function which can help me to detect front panel activity?It would be grateful.
10-18-2021 05:30 AM
Dialog and User Interface Palette -> Wait for Front Panel activity.
10-18-2021 08:50 AM
@Yamaeda wrote:
Dialog and User Interface Palette -> Wait for Front Panel activity.
But if you are going with that, you might as well use an Event Structure as the Wait for Front Panel Activity will still stall a block diagram. One trick I have seen is to put the Event Structure on the outside of the cases for the state machine (the states only run in the Timeout case). This way, you are checking for an event each time your state machine iterates. And nothing says you cannot repeat a state over and over again until an event occurs.
10-19-2021 01:08 AM - edited 10-19-2021 01:09 AM
@Mudit099 wrote:
Actually I am trying to actualise the functionality of timeout of event structure using state machine for this considering state machine is quite similiar to it but unable to do so. Can anyone suggest a small snippet or a function which can help me to detect front panel activity?It would be grateful.
You need to much more specific explaining what you are trying to solve. There are many different state machine architectures and we cannot determine what you mean by "similar to it".