How to

A collection of 70 posts
Navigating a git repository

Navigating a git repository

Navigating the Commit Graph Sometimes we want to go back and revisit a particular commit in our project. We might want to do that for a variety of reasons: * Maybe a customer reports a bug in a specific version. We might go check out that tag to reproduce the bug.
9 min read
Git Tips For Beginners

Git Tips For Beginners

Git is a great source code control tool, but it is not known for being user friendly. It’s actually a shame. The way in which git stores and references content is incredibly elegant, but it’s UI seems more of an afterthought. The command structure is not at all
7 min read
Git Basics

Git Basics

I am working on some new training material on git. I thought I would use a series of blog posts to kind explore some ideas and help clarify my thinking. Learning git can be difficult. I want this material to be approachable to beginners, yet still detailed enough that they
7 min read
Managing Dependencies with DQMH Messages

Managing Dependencies with DQMH Messages

In one of his talks, Uncle Bob describes Software Engineering as the art of managing dependencies. This is something that a lot of new programmers have difficulty with. I often run into code written by beginners (and some not-so-beginnners) that has lots of circular dependencies. I also see a lot
1 min read
Caraya Review

Caraya Review

Caraya is a popular Unit Testing solution from JKI. Compared to JKI VI Tester, Caraya seems to be newer and better supported. In fact while conducting this review I found a small bug. I reported it and it was fixed within 24 hours. The Caraya paradigm is different from the
4 min read
Insta Coverage

Insta Coverage

I first heard about InstaCoverage at NI Week 2018. I was part of a panel discussing Unit Testing. Peter Bokor gave a brief presentation right before the panel started on a new unit testing tool IncQuiry Labs had created called InstaCoverage. He really emphasized the code coverage calculation. This is
7 min read
Using JKI VI Tester

Using JKI VI Tester

If you have been following my posts, you will know that I am a big fan of JKI VITester. It is my goto Unit Tester. Why? Mostly because it is an implementation of xUnitStyle testing, which means that I can easily use all of the great patterns outlined in xUnit
5 min read
Update VMs on SSDs

Update VMs on SSDs

This post is an update to my previous posts on using Virtual Machines (VMs). Here are some links to those articles: * Using Virtual Machines Part 1 * Using Virtual Machines Part 2 In part 2 I included a section on where to store VMs. I mentioned that I was using a
2 min read
Using Virtual Machines Part 2

Using Virtual Machines Part 2

This is second of a 2 part series on using Virtual Machines for LabVIEW development.  You can check out part 1 here.  Part 1 discusses why we use virtual machines.  This article will discuss a little more of the how.  I’m not going to give away all my secrets,
12 min read
Gitting Started With Git

Gitting Started With Git

What do you use for source code control? While I was asking everyone I met at NI Week about what frameworks they were using, I also started asking about source code control as well. Almost everyone I talked to universally said they were using some kind of source code control.
6 min read

Finding LabVIEW Version of a File

Since I do consulting, I often end up inheriting code.  Often I get called in because someone had hired a LabVIEW developer to write some code for them and then the LabVIEW developer had disappeared, either retired or moved, or got another job or something similar.  Luckily they usually leave
3 min read

Graphics Design for LabVIEW: Tips and Tricks

Graphic design should be important to anyone who designs and sells software.  The look and appearance of your final product makes an impact on what your users think of your software.  You want it to look professional.  Unfortunately, especially if you are an engineer turned LabVIEW programmer like me, you
5 min read

Creating CHM Help Files

Help Files If you are not creating help files for your applications, you should seriously consider it.  How many times have you written an application and then one of the users comes to ask you how to do perform some task in the software?  When I was writing software for
4 min read

Alternative to LabVIEW's Installer Builder

Most people who develop software in LabVIEW are familiar with the installer build process from within LabVIEW.  If you haven’t built an installer from within LabVIEW, it is similar to building an executable.  The first step is to build your executable.  Next you right click on Build Specifications in
3 min read

Easy VPN

VPN stands for Virtual Private Network.  Why would you need one?  Well, let’s backtrack to my previous post.  My previous post was about how to setup a development server.  It works great when I connect to it over my home LAN.  Your home LAN, or local area network consists
12 min read

Development Server Setup

Software Developers often use a development server which runs version control and bug tracking software. Version control systems, such as Subversion, keep copies of each iteration of the source code. This allows developers to roll back changes if need be to fix bugs or broken code. Bug tracking software, such
8 min read