Jump to content
jgcode

State Machine vs State Machine

Recommended Posts

Howdy guys!

 

I have a few quick questions that relate to Justin's presentation and the JKI State Machine in general (and one question on internet cats too):

 

1. Would it be possible to post the Power Supply Project Library example from NI Week? It appears in the slides but I don't recall discussion on it (in depth anyway). I am interested in seeing the implementation of Public vs Private events for a Module. Maybe it is possible to discuss the Private Event use cases here? - Does the Module act as the sole subscriber to a separate set of events, if so why not just queue them etc...?

 

2. How do you like to send messages to your JKI State Machine? Obviously via events, but do you send individual events per message (like the events sent out from the State Machine) or do you just like to send in State strings (both use cases wrapped in subVIs to form a Public API for protection of course) as per the example in this thread. I have used both in the past, but am wondering if you have any pros/cons to share of one over the other?

 

Much appreciated, look forward to your reply.

 

Regards

 

-Jon

Share this post


Link to post
Share on other sites

Hello Jim,

 

Yes it would be really great if Justin could put the POWER SUPPLY code available for download. It is not enough to read Justin's presentation to understand this design pattern. Please, share this example.

 

thanks

 

Helcio

 

 

Howdy guys!

 

I have a few quick questions that relate to Justin's presentation and the JKI State Machine in general (and one question on internet cats too):

 

1. Would it be possible to post the Power Supply Project Library example from NI Week? It appears in the slides but I don't recall discussion on it (in depth anyway). I am interested in seeing the implementation of Public vs Private events for a Module. Maybe it is possible to discuss the Private Event use cases here? - Does the Module act as the sole subscriber to a separate set of events, if so why not just queue them etc...?

 

2. How do you like to send messages to your JKI State Machine? Obviously via events, but do you send individual events per message (like the events sent out from the State Machine) or do you just like to send in State strings (both use cases wrapped in subVIs to form a Public API for protection of course) as per the example in this thread. I have used both in the past, but am wondering if you have any pros/cons to share of one over the other?

 

Much appreciated, look forward to your reply.

 

Regards

 

-Jon

Share this post


Link to post
Share on other sites
Does the Module act as the sole subscriber to a separate set of events....

 

Ok, no movement here maybe coz it was a dumb question? :)

Looking at the slide again I misread it: the Public API VIs + Get Private Events (must be a FGV?) are the events(messages) going in, The Pubic Events are the events going out (rather than both going out). Sorry.

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.