If you follow Test Driven Development (TDD) the first step is always to write your unit tests before you write your code. Well in LabVIEW that doesn’t work out quite so well because you need to have a subvi to drop into your test case.


Nobody likes bugs, whether they are...
Delegation is hard. There are a variety of reasons, but there are two things I’ve heard quite often from customers, and they are related. They have trouble specifying and clearly communicating the exact requirements to the person they are delegating to. They also have trouble verifying that...

We just received word that our submission at NI Week was accepted.
Unit Testing at Mock Speed
We will be talking about using some new tools me have developed for creating Mock Objects in LabVIEW for Unit Testing. A mock object is a kind of test double. Just like a stunt double...
Comments and documentation often lie. The only truth is the code.
Steve Watts commenting on Chris Stryker’s Clean Code presentation at NIWeek 2019
Now I don’t think Steve is accusing the developer who wrote the code or documentation of deliberately lying, but we’ve probably all...
Since I recently finished reading xUnit Test Patterns and my upcoming webinar is on Unit Testing, I have been thinking a lot about it lately. I thought I would expand on some of the ways in which I find unit testing incredibly useful.

Most of wouldn’t even think of...
So for those who don’t know, LabVIEW 2019 incorporates some new datatypes: Sets and maps. Piotr Kruczkowsk has been posting a bunch of possible use cases on Twitter. You can see them here. Peter has inspired me to come up with one of my own.
The problem with CLI...

I had a great time at NI Week this year. As always it was a bit of a party, although this year I skipped the Spazmatics after party after party on Wednesday night since I had to present early on Thursday. The highlight was definitely hearing Scott Kelly speak on Thursday afternoon. He had some...

How do I make sure my code works?
If you have ever asked that question then this presentation is for you. Find out how unit testing can help you verify that your code works and help you track down bugs when it doesn’t.
We’ll talk about the basics of unit testing using JKI Vi Tester....

If you want to know everything there is to know about xUnit Testing, then xUnit Test Patterns by Gerard Meszaros is the book for you. I must warn you, it is not light reading (it’s almost 900 pages) and it is not geared towards beginners. You should at least be familiar with the concept of...
Today is the first day of NI Week 2019. What is NI Week? It’s only the largest gathering of LabVIEW enthusiasts in the world! My friend John jokingly refers to it as something akin to a Star Trek Convention. Granted there is a bit of geekiness going on there, but since when is that a...
I recently sat down for an interview with Ram Gurung. We talked a lot about how I got into LabVIEW and the ensuing adventures. I also give a brief overview of my upcoming presentation at NI Week.
Ram has a lot of really great LabVIEW videos and tutorials on his LabVIEW...