JKI Blog

Avoiding Spaghetti Code in LabVIEW (Part 2)

Feb 4, 2019 3:14:57 PM Published by Jim Kring Leave a comment

In my last blog post I talked about how, over time, a simple LabVIEW VI can turn into a tangled mess of wires that barely fits on the screen -- we call this "spaghetti code". Worse, when you try to...

Read More

A Recipe for Spaghetti Code in LabVIEW (Part 1)

Feb 3, 2019 1:33:36 PM Published by Jim Kring Leave a comment

Have you ever wondered how a simple LabVIEW VI can turn into a tangled mess of wires that barely fits on your screen? Have you ever tried cleaning up that code only to find that it has lots of...

Read More

#5 Best Practice for using the JKI State Machine: Left-justify State Strings

Jan 13, 2016 6:00:54 AM Published by Jim Kring Leave a comment

In my last post on JKI State Machine Best Practices, I explained the #4 Best Practice: Use macros (instead of “chaining” together sequential states).

Read More

#4 Best Practice for using the JKI State Machine: Use macros instead of “chaining” together sequential states

Feb 18, 2015 8:30:00 AM Published by Jim Kring Leave a comment

In my last post on JKI State Machine Best Practices, I explained the #3 Best Practice: Keep the Original Size (i.e. don’t grow the structures). In this post, I'll tell you which best practice came in...

Read More

#3 Best Practice for using the JKI State Machine: Keep the Original Size (i.e. don’t grow the structures)

Feb 11, 2015 1:24:12 PM Published by Jim Kring Leave a comment

In my last post on JKI State Machine Best Practices, I explained the #2 Best Practice: Don’t add code and logic inside the Event Structure. In this post, I'll tell you which best practice came in...

Read More

#2 Best Practice for using the JKI State Machine: Don’t add code and logic inside the Event Structure

Feb 2, 2015 4:04:18 PM Published by Jim Kring Leave a comment

In my last post on JKI State Machine Best Practices, I explained the #1 Best Practice: Don’t hide your state strings in subVIs.  In this post, I'll tell you which best practice came in second place.

Read More

#1 Best Practice for using the JKI State Machine: Don’t hide your state strings in subVIs.

Jan 16, 2015 2:03:35 PM Published by Jim Kring Leave a comment

At a recent JKI Team “LabVIEW Lunch” (where the team gets together to eat and talk shop), we were discussing JKI State Machine Best Practices. Note: the JKI State Machine, an easy-to-use yet powerful...

Read More

Subscribe to Email Updates

Recent Posts

Posts by Topic

see all