Bay Area Denizens — Don’t Miss NITS in Santa Clara, October 27

NITS 2011

If you missed NIWeek 2011 — or even if you didn’t — now’s your chance to explore NI’s latest trends in automation, design, and test in this free, full-day conference in Santa Clara on October 27, 2011! The National Instruments Technical Symposium agenda features a keynote, a variety of technical sessions, hands-on labs, and presentations.

In addition to the latest in NI hardware advances, you’ll learn about the new features in LabVIEW 2011, some of which (again this year) were suggested by JKI engineers in the LabVIEW Idea Exchange.

We’ll have a booth, so make sure to come by and visit with Jim Kring and Michael Aivaliotis, the VIPM Product Manager. We’d love to hear about your latest cool application, your ideas for how we can make JKI products better, and we’re always happy to chat about LabVIEW and answer questions. Jim will even sign your copy of LabVIEW for Everyone, and if you don’t already have one, he’ll have a few available for a mere $60 ($22 less than the list price).

As always, NI feeds you breakfast and lunch, and you’ll have the chance to catch up with your local NI buddies. Come on by and say hello!

Register Now

 

Posted in Company News, Events | Tagged , , , | Leave a comment

We Want Your VI Package Manager Ideas

Today I’m pleased to announce the VI Package Manager Idea Exchange. Modeled after the National Instruments LabVIEW Idea Exchange, the VIPM Idea Exchange is a collaboration tool that enables VIPM users and VIPM developers to work together to submit ideas and determine the direction of VIPM.

VIPM Idea Exchange

We need your help to make the Idea Exchange a success. You can participate in several ways:

  • Submit your own ideas – Is VIPM missing something? Is there a task that is painful for you that you wish VIPM could solve? Are we just doing it wrong? Tell us!
  • Vote for existing ideas – Show your support for other ideas by voting for them. Ideas with more votes carry more weight with the development team.
  • Comment on existing ideas – Help clarify and expand on ideas submitted by other users to make their ideas better.

Join the VIPM Idea Exchange today! The development cycle for VIPM 2012 will be starting soon, so get your ideas submitted before the window closes.

We will be reviewing the activity on the Idea Exchange throughout VIPM’s development. The more popular an idea is, the more likely we are to include it in the next version of VIPM. Don’t be afraid to submit off-the-wall ideas or things that you think are outside “normal” VIPM usage. We want VIPM to be the best tool to create, use, and distribute LabVIEW add-ons of every kind, so it’s important that we hear from you, no matter how you use VIPM.

The Lifecycle of an Idea

The VIPM Idea Exchange is about two-way communication between you (the users) and us (the developers). To keep you updated on the status of all the ideas, we’ve created the process below. Ideas progress through the following stages:

  • Under Review – New ideas start here. The VIPM developer team will review this idea and decide what to do next. An idea can go into the Planned stage or the Declined stage next.
  • Planned – This idea is slated for a future VIPM release. There is still no guarantee that an idea will make it into the final product, but the likelihood is high.
  • Started – This idea is under active development (design and coding) for the next major VIPM release.
  • Completed – This idea has been implemented for the next VIPM release. Development is complete and it will ship with the product.
  • Declined – This idea has been rejected. We’ll provide a reason accompanying the response.

Special Thanks

JKI would like to extend a special thank-you to everyone who helped out during the beta period of the VIPM Idea Exchange. You know who you are. Your feedback and help working out the kinks and submitting the first few dozen ideas has been invaluable.

Now tell us what you want VIPM to do!

Posted in Company News, JKI Software Products, VIPM | Tagged , , , , | Leave a comment

Pioneering Intelligent Medicine with JKI

“We have high confidence in the quality JKI produces. The code they deliver works – they’ve clearly tested it thoroughly. And when JKI makes a promise about a timeline, we know we can trust it.” - Gary Palmer, Staff Electrical Engineer, Proteus Biomedical, Inc.

How cool would it be if your medication system could report your body’s vital signs as well as your dosage history? Gary Palmer and his team at Proteus Biomedical are developing just such a system called Raisin™.

Raisin combines an intelligent pharmaceutical (a pill with a sensor) with a wearable monitor. Tiny, digestible sensors made from food ingredients and bonded to a patient’s pills, then activated by stomach fluids after the patient swallows the pill. The patient also wears a small bandage-style patch on his or her skin to detect the ultra-low-power, private, digital signal emitted by the sensor.

This system can provide extremely useful data for healthcare providers and patients:

  • The Raisin patch personal monitor records information such as type of drug, dose, and place of manufacture; captures date and time; and also measures and reports physiologic parameters such as heart rate and activity.
  • Healthcare professionals can also derive metrics like sleep patterns and respiration rate from the collected data.
  • The patch communicates with the patient’s phone using Bluetooth, and the phone makes the data available to patients via user-friendly customized displays on mobile phones, tablets and desktop computers. Patients can choose who else can see their data, including family members or doctors.

Read the case study to see how Proteus and JKI created a collection of LabVIEW-based component and system testing tools to manage system verification and production testing for the Proteus Intelligent Medicine system. The result? With this amazing system, patients can better understand and manage their health. And doctors can provide better care because they have better information.

Note: The Raisin™ system is an Investigational Device limited by Federal (or United States) law to investigational use.  The Raisin™ system is not for sale and is available for use only under Investigational Review Board (IRB) approved clinical studies. 

Smart pill with tiny digestible sensor

Proteus "smart pills," wearable electronic recorder patch, and phone-based monitor

Posted in Applications, Company News, JKI, LabVIEW | Tagged , , , , , | Leave a comment

Don’t Throw Away Your “Throw-Away” Code

Lately, software testing has been on my mind. I’ve been trying to dial in the sweet spot where automated testing is directly profitable by decreasing net development time, and indirectly profitable by increasing the intangible perception of quality.

Here’s the problem: unit testing can seem tedious. Prohibitively expensive. Tough to justify. Even intimidating! As a result, applications and application components can easily get starved of any form of automated testing.

A colleague let me in on a secret that helps break down these misconceptions. It’s simple, and maybe even obvious, but it’s still a secret worth sharing: a unit is as big as you want it to be. It’s just that once the unit gets big enough, we call it something else: a functional test, or an integration test. This type of testing can be a great strategy if you’re looking to minimize time writing tests yet ensure many high-level functional units are working as expected.

Here’s an example of how I recently used JKI’s VI Tester to develop an integration test for a LabVIEW application I was working on, and turned some low-value “throw-away” code into a permanent, reusable part of my application’s build process.

I received a new requirement that would require significant modification to a stable application. In this project, a .NET FileSystemWatcher monitors a directory where a third-party app creates test result files. This new requirement involved monitoring for an additional file extension, which meant I could no longer rely on the simple filter built-in to the FileSystemWatcher. While working on this modification, two things became evident: I was going to need to write some helper code in order to develop the feature, and I would need a test plan that involved more than just kicking the tires after building.

I started to write some throw-away code to enable development of a regular expression to replace the simple built-in filter. During this process, it hit me: toss this code into a VI Tester Test Case, and the helper code would effectively become my test plan. By making this code part of a Test Case and running those tests automatically at build time, the code became a valuable, functional part of my QA process! (By the way, the winning regex turned out to be “^[^\~].*\.(xls|xlsm)$“)

Test Case - New Test File Detection

This VI is the Test Case that is run by VI Tester. It ensures that the application is able to properly monitor the test file directory and filter the filenames of interest.

 

Set Up Method

By using two application functions (File System Watcher and File Call Back) as part of the Test Harness, I ensure functionality of the entire application component.

Functional tests like these help quell misconceptions about writing software tests. Testing does not have to be boring – feel free to whip out some application design patterns to create integration tests! Further, testing does not have to be tedious. Consider functional testing of high-level processes if the application does not warrant unit testing each low-level function.

Download a packaged version of this example below and poke around. There are a few more goodies in there, such as the source of the FileSystemWatcher setup, and a design pattern I dub “The Flaky Delegate” where a .NET callback brokers messages back as LabVIEW User Events.

Download the example as a VI Package. (108 KB, requires the free VI Package Manager Community Edition or higher)

Learn more about VI Tester, JKI’s free unit testing framework for LabVIEW.

Functional Tests Passed

A view of VI Tester and the project structure of VIs under test.

Posted in JKI Labs, LabVIEW, VI Tester | Tagged , , , , | Leave a comment

NIWeek 2011: “Put the LabVIEW Community to Work for You” Slides Now Available

Thanks to everyone who came to my presentation at NIWeek 2011. It was great to see so much interest, and I was especially happy to see a lot of NI people there.  I hope everyone gleaned something to make you more successful in the LabVIEW Ecosphere.

If you’re like me, it’s easy to think of social media and forums as just a big hole in the internet you throw your productivity into. But that’s not always true – spending time socializing on LAVA, the NI Forums, etc., can be a great way to increase technical knowledge and build your own professional standing and confidence.

What tools tips and tricks do you use to stay connected to the LabVIEW community? Leave a comment below and tell the world.

Presentation Highlights
Even if you’re already plugged into the LabVIEW Ecosystem, skip to Slide 23 to see LabVIEW Block Diagrams that illustrate helpful techniques and tools for staying involved with the community (it’s easier if you view the slideshow full screen). You’ll also find an introduction to my favorite tools for staying plugged into The Discussion — RSS feeds and Google Reader.

During the presentation, I also introduced LVFeed. LVFeed is a bundle of RSS feeds designed to keep you engaged with interesting LabVIEW content. Check out slide 35 to get started.

 

Title: The Business Side of Social: Put the LabVIEW Community to Work for You

Abstract: The LabVIEW Ecosystem offers a wealth of “social media” resources — so many that it can sometimes be hard to find the technical information you really need. Jack Dunaway will share his secrets on how to get a great return on time invested in the LabVIEW Community. Learn how to equip yourself with online tools that give you the inside scoop on the latest engineering techniques and keep you at the top of your game.

Posted in Community, Company News, NIWeek | 1 Comment

NI Celebrates 20 Years of the Alliance Partner Network

National Instruments marked a big milestone at NIWeek 2011: 20 years of the NI Alliance Partner Network.

JKI joined the Alliance program almost 9 years ago. We love the relationship we’ve built with NI over that time, and we’re delighted to share in the celebration. NI has been a huge part of JKI’s success, and we definitely wouldn’t be the same company without them.

That’s why we were excited when NI asked our CEO, Jim Kring, to discuss what it means to be part of the NI Alliance Partner Network. In the interview, Jim and some other NI partners (Alfamation and Cal-Bay Systems) describe the services they offer to customers and the impact the Alliance program has had on their business. The video was shown at the NIWeek 2011 keynotes, and now you can watch it below.

Congratulations to NI and to all the Alliance member companies on 20 great years! We can’t wait to see what happens next.

Want to know more?

JKI helps companies bring commercial products to market powered by LabVIEW. We provide expert consulting services at every stage of development and we eliminate the time and expense of costly rewrite or platform switches. We also make software products that help teams of developers improve their LabVIEW skills and practice good code reuse. If your team wants to do better software engineering in LabVIEW, check out our clients page, and then contact us.

Posted in Company News, NIWeek | Tagged , , | Leave a comment

NIWeek 2011: “Five Clever Debugging Techniques” Slides and Code Now Available

First, I’d like to thank everyone who attended my presentation at NIWeek 2011. I know that the room was a schlep for everyone since it was not in the typical presentation area, so I was really excited that the session was full!  I’d also like to thank Michael Aivaliotis for helping me with impromptu technical support and a special guest appearance during the presentation with great comments about his own debugging tricks and tips.

This presentation came about after I was working with several other JKI Engineers and it became obvious that many of us were using debugging techniques that others had forgotten or never knew existed. We recorded a live screencast of the session and will upload it once we’ve got it ready, but for those who’d like to review the slides or download the code now, check them out below.

Do you any super-secret debugging techniques of your own?  Share them in the comments below.

 

Title: Five Clever Debugging Techniques for Every LabVIEW Developer

Abstract: Do you want to be a LabVIEW bug assassin? Do you want to identify, isolate, and fix bugs faster than your coworkers by using clever tricks? Learn several powerful built-in LabVIEW debugging techniques ranging from simple tools like retain wire values to the best LabVIEW debugging feature that no one knows about.

Download Slides & Code: niweek-2011-jki-clever-debugging-techniques.zip (1.0 MB)

Notes:

Posted in Events, NIWeek, VI Tester | Tagged , , , , , , , , , , , , , , , | 1 Comment

Live Wires Newsletter: NIWeek 2011 Edition

If you went to NIWeek last week, you’re probably spending this week like the JKI team: digging out from under an ever-burgeoning pile of neglected tasks. Hopefully you’re having more success than I am at keeping the Hydra at bay – every time I dispatch one thing, it seems that two more crop up in its place!

It was an outstanding and busy week, and in the hubbub, we didn’t have time to post our first-day-of-NIWeek Live Wires newsletter here on the blog, so here it is now.

Take a look at Live Wires to check out the latest LabVIEW Community and JKI happenings! This newsletter is an “NIWeek special,” so if you didn’t make it to the conference, you can catch up on some of the exciting news and events. And if you did attend, you might have missed some of these tidbits.

Better yet, sign up to receive the newsletter directly (don’t worry, we won’t spam you incessantly – it only goes out every few months).  After you read it, we’d love to hear your thoughts on how to make it even better! What other articles would you like to see? What are you sick of seeing? Leave a comment and tell us…

Posted in Community, Company News, JKI, NIWeek | Tagged , , , , | Leave a comment

NIWeek 2011: “Beyond State Machines” Slides and Code Now Available

Thank you to everyone who packed the room for my NIWeek 2011 presentation last week, especially those of you who sat on the floor! The questions and discussion were great, and I’m sorry we only had an hour to kill together.

If you missed my talk, or if you just can’t get enough, don’t worry; the slides and sample code are now available for download below. If you’re interested in interprocess communication in LabVIEW, or if you just want to see a novel use for LabVIEW’s User Events, please give this framework a try! And as always, comments/questions/criticism are encouraged. Join the discussion below.

If this is your first exposure to the JKI State Machine, welcome! The JKI State Machine is a simple yet flexible and powerful template that forms the backbone of everything we do at JKI. You can use it for free in all your projects. Visit our JKI State Machine pages to get started.

 

Title: Beyond State Machines: Building Modular Applications in LabVIEW

Abstract: Nearly every significant LabVIEW application uses multiple loops and several pieces of hardware. Coordinating these moving pieces can create a recipe for unreadable code. Learn how to use a template for interprocess communication based on “public” and “private” events that is easy enough for intermediate developers but powerful enough for Certified LabVIEW Architects.

Download Slides & Code: niweek-2011-jki-beyond-state-machines.zip (4.5 MB)

Notes:
Example code requires LabVIEW 2009 or later.
Example code requires the JKI State Machine. Install the JKI State Machine using the free VIPM 2011 Community Edition if you don’t already have it.

Posted in Events, JKI State Machine, NIWeek | Tagged , , , , , , , , , , , , , | 14 Comments

EasyXML wins LabVIEW Add-on of the Year at NIWeek 2011

JKI's EasyXML Toolkit wins LabVIEW Add-on of the Year award in the VI Library category

Live from NIWeek 2011… we’re delighted to announce that NI has selected JKI’s EasyXML Toolkit as a LabVIEW Add-on of the Year in the VI Library category!

The EasyXML Toolkit for LabVIEW is a simple set of VIs that make generating and parsing XML data in LabVIEW as easy as creating a cluster. It’s NI Certified as Gold Compatible with LabVIEW.

Try it! You can download the free trial directly from within LabVIEW 2011.  Just click on the Find LabVIEW Add-ons… link in the Getting Started window to launch the LabVIEW Tools Network. Search for EasyXML, and click the Install button.  VIPM will automatically download and install EasyXML into LabVIEW, and you’ll find it in your palettes immediately.

Also check out how NI uses the EasyXML toolkit to support the FIRST Robotics championships, in which NI Application Engineer Patrick Corcoran notes that “JKI’s EasyXML made XML easy, to the point that we may have gotten spoiled with it.”

All 2011 LabVIEW Add-on Award Winners

Winners of the 2011 LabVIEW Add-on Awards, surrounded by Jeffs (Meisel on the left, Kodosky on the right)

 

 

 

Posted in Community, Company News, EasyXML, JKI Software Products, LabVIEW, VI Package Network | Tagged , , , , , | 2 Comments