How to

A collection of 59 posts
Using Git Hooks

Using Git Hooks

Git Hooks can be quite useful for a variety of things. Here is a simple example to make sure you don't forget to include an issue # in your commit message.
5 min read
Checking for New GitLab Releases

Checking for New GitLab Releases

In my previous posts, I talked about automatic versioning and automatically creating releases. The next step is to create auto-updating code. By auto-updating I don’t mean code that automatically updates behind your user’s back ala Windows 10. You can do that if you want, but I believe the
6 min read
Automating Gitlab Releases

Automating Gitlab Releases

My previous post talked about versioning. I thought I would add to that discussion by talking about how I do releases and how I setup auto-updating in my apps, using the GitLab Package Repository. This a new feature I’ve started adding lately, so it’s still a work in
8 min read
Automatic Versioning

Automatic Versioning

At the GLA Summit recently minted LabVIEW Champion Felipe Pinheiro Silva gave a 7×7 on versioning. It was interesting. Be sure to take a few minutes and watch it when the video is released. I do things slightly differently. I learned my method from another LabVIEW Champion, Stefan Lemmens.
7 min read
Trouble Shooting GitLabCI

Trouble Shooting GitLabCI

I saw a post recently on LinkedIn by Jim Kring. He had some issues with a build hanging unexpectedly. They were running Jenkins under a system account and therefore it was really hard to see what was going on to be able to troubleshoot it. Jim then linked to a
3 min read
A case for sets

A case for sets

Back in LabVIEW 2019, NI introduced both sets and maps. Maps became immediately popular. They should be. They are very useful constructs. However, sets seem to have gotten much less attention. In some ways, they aren’t as glamorous, but they do offer some advantages over arrays. To me, these
4 min read
Quick VI Analyzer

Quick VI Analyzer

I haven’t talked a whole lot about VI Analyzer yet. It’s a static code analysis tool. If you come from text-based background, it is similar to a linter. It checks your code against a set of predefined rules and reports back any violations. You do need LabVIEW professional
10 min read
GitLab CI and Git Bash

GitLab CI and Git Bash

A while back GitLab CI deprecated the batch executor for Windows runners. That meant that you could no longer directly call batch scripts from a Gitlab Runner. They had switched over to Powershell. There were workarounds. You could still write a batch script and call it from PowerShell using cmd.
3 min read
CRIO Tips: Mounting Network Drives

CRIO Tips: Mounting Network Drives

This a follow on article to a previous article. Its part of a series of tips that Neil Crossan provided me with, dealing with cRIOs and Linux RT targets. He saw a post of mine and sent me a bunch of tips and tricks. I thought I would share some
4 min read
Advanced Datatypes with Python Node in LabVIEW

Advanced Datatypes with Python Node in LabVIEW

A recent LinkedIn post on using Python and LabVIEW got me thinking about passing more advanced datatypes between LabVIEW and Python. I have written about the Python node before, but I hadn’t really played with advanced datatypes before, so I thought I would play around and come up with
3 min read
How to create a cRIO Virtual Machine

How to create a cRIO Virtual Machine

Just a week or two ago I stumbled upon a forum post that outlined how to create cRIO Virtual Machine. I’ve written a little bit about Virtual Machines before. Creating a virtual cRIO was pretty straightforward, but it required piecing together several responses in the thread, particularly since I
5 min read
View the Git Reflog Graphically

View the Git Reflog Graphically

While creating some content for my “Using Git Effectively” course, I discovered something new and amazingly useful. You may know about Git’s reflog and that it provides a chronological history of where your HEAD has been so that you can recover orphaned commits. For some things though, it can
1 min read
February 2021 Webinar

February 2021 Webinar

LabVIEW Shortcuts – Don’t waste time wiring… February 24th, 10:00am MT We are fortunate to have Stefan Lemmens join us in February. He is going to give a presentation on all the various types of LabVIEW Shortcuts. We are always looking for ways to be more efficient. These tips
1 min read
TDD in LabVIEW using Caraya

TDD in LabVIEW using Caraya

I’ve written a lot about Unit Testing in LabVIEW. There are a variety of frameworks. My go-to is JKI VI Tester, but JKI’s Caraya has been gaining popularity lately. I finally had time to sit down with it and practice some Test Driven Development (TDD). This is where
1 min read

PPL Plugins

I wrote previously about Tom and I’s Gang of Four project where we are creating GOF Examples in LabVIEW. We’ve been getting distracted a little lately, but I have finally found some time to get back to it. I thought I would share with you what I have
2 min read