JKI Discussion Forums
  • (2 Pages) +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

jki state machine producer consumer loop

#21
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06

View Posthburd, on Aug 4 2010, 08:06 AM, said:

Hi Jim!

The Ni week should be over tomorrow, so could you, please, post the link for the ni week presentations? Please could you also post the VIs in the presentation JKI STATE MACHINE VERSUS NI STATE MACHINE so that everybody can be able to download and follow the presentation?

thanks very much

Helcio


Hi Helcio,

Sorry for the delay. NIWeek is a hectic time :)

We have just posted our presentation slides in a new blog post: NIWeek 2010 Recap and Technical Session Slides.

Thanks,
0 kudos

#22
User is offline   hburd 

  • Group: Members
  • Posts: 15
  • Joined: 25-October 09
  • Gender:Male
  • Location:usa
Hello all,

Finally there are better clues of how to use JKI state machine for exchanging data with others jki state machines (Thanks Justin!): Here is the link of the template library for that Justin Goeres created for his presentation at CLA summit 2011 Template jki intercommunication with other jki state machines

Attached Image: timeout jki state machine cluster user events.png

However, as Justin Goeres mentioned in the CLA summit 2011 (VI SHOTS PODCAST), there is a problem when using his template if you need the timeout case in the event structure. Attached there is an example in labview 2010 (a little modification of what Justin Goeres' example) to try to make this problem clearer: Whenever a registered event is fired, Labview will reset the timeout event structure in the event structure where this event is registered if there is 1 or more registered events with no case to handle them in this event structure. There is a huge discussion if this is a bug or not (Lava link). But, as you can see in the template, Justin registers an entire cluster of user events all at once independently of them having a case to handle them in the event structure. This makes very practical and more maintainable code, but at the cost of having huge headache if you need the timeout case in the event structure. Hopefully NI will come up with some solution for this in the next version of labview.

I am still trying to figure out how to use it. I am really very, very tired of using queues to make the JKIs state machines to intercommunicate. Please, if someone has an example of use for it, please share it.

thanks

Helcio




View PostJim Kring, on 13 August 2010 - 04:59 PM, said:

Hi Helcio,

Sorry for the delay. NIWeek is a hectic time :)

We have just posted our presentation slides in a new blog post: NIWeek 2010 Recap and Technical Session Slides.

Thanks,

Attached File(s)


This post has been edited by hburd: 29 May 2011 - 03:29 PM

1 kudos

Share this topic:


  • (2 Pages) +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic