LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Top Authors
cancel
Showing results for 
Search instead for 
Did you mean: 

Include JKI State Machine in Templates

Ok this idea would be trivial for NI to include in 2011.Heck I could do it.

 

The idea is simply to include the JKI state machine in File/New/Design Patterns. It is BSD code and I am sure that JKI wouldn't mind anyway.

 

I must admit that I have an ulterior motive. If this were included in the NI distributed templates then I could use the JKI state machine for my CLD exam. And so could you!

 

Now let the kudos start rolling in so NI will take notice.

=====================
LabVIEW 2012


11 Comments
Trusted Enthusiast

Í would opt for JKI to place a template state machine into the template folder.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Trusted Enthusiast

Yes it is easy enough to put whatever you want to in the templates folder. But I want NI to put the JKI state machine in the templates folder. It is about time that they update the design patterns and this would be a really good one.

 

I plan on getting my CLD way before 2011 comes out. But if the state machine were already in the templates that NI ships I could use it on my exam.

=====================
LabVIEW 2012


Active Participant

Hey Steve,

 

This Jim from JKI.

 

Another approach to solving your dilemma would be to lobby the NI Certification department to allow CLD/CLA test-takers to use the JKI State Machine on the certification exams (plus, other cool stuff like the OpenG libraries, which I personally can't live without).  Now that VIPM powers the LabVIEW Tools Network, we're probably getting closer to making that a possibility.  I'll ping some people within NI about this, and see where it goes.

 

Thanks,

 

-Jim

JKI Blog
Trusted Enthusiast

Thanks Jim. I use the OpenG libraries and it would really be nice if I could use them on my CLD exam.

 

Would you guys have any problem with NI distributing the JKI state machine in the design pattern templates?

=====================
LabVIEW 2012


Active Participant

Hey Steve,

 

Regarding NI distributing the JKI State Machine with LabVIEW, that's an interesting question that we'll think about 🙂

 

Thanks,

 

-Jim

JKI Blog
Knight of NI Knight of NI
Knight of NI

This is going to make me very unpopular but...How do I vote against this idea?

 

That design pattern ( I admit it is popular and USED to be tought in the Advanced course ) has been discussed multiple times and when put under the microscope, does not lend itself well to an easily understandable applcations since the transisions can NOT be defined ahead of time (try to draw up a state diagram that covers all of the transisions). I have seen more than one application where that design pattern was used as intended and resulted in a monster that even the original developers could not always follow.

 

In the interest of LabVIEW and its reputation as being easily understood code, please don't ship that pattern (or any other pattern that results in hard to read code) with LV.

 

Ben

 

Member

I just published an article about how to use your favorite LabVIEW templates on your CLD/CLA exams.  No matter which design pattern you prefer, you can use your favorite templates (including the JKI State Machine) on your exams today!  It just takes a little bit of extra effort during pre-exam study, but it totally pays off.

Knight of NI Knight of NI
Knight of NI

Re: My comments above about a QSM.

 

Please see this thread as well as the LAVA threads that Daklu linked in his posts.

 

Ben

Trusted Enthusiast

I have since read that and other threads by Daklu on the same subject. I agree that the QSM is not really a good design pattern when used inapropriatly. In fact the entire term "Queued State Machine" is kind of meaningless. It should be called a "Command Queue". Those are apropriate when used as such but they definately are not state machines in the pure sense.

=====================
LabVIEW 2012


Active Participant

I vote yes, but they really should change the name so it isn't confused with true state machines anymore.