All posts by Martin

Developing the next generation of fuel cells

Acal Energy is reaping great rewards from their automated test investment. Acal Energy used our automated test software Metest to control and log data on their development fuel cell test racks. Test results are key to the success of Acal Energy as it proves the reliability to their clients of their patented technology, which will power the next generation of vehicles. Read more

Conditional Error Probes

I had an issue today on an older project today using the Variant to Data function. I was getting a runtime error at the Variant to Data conversion. Unfortunately, there were many instances of this function in my project. Although I’d narrowed it down to one VI and was logging the error, it still did not tell me which instance was generating the error. Conditional Error Probes in LabVIEW A nice feature in LabVIEW is the Conditional Error Probe. This is a bit more advanced than your standard probe, and it has the ability to stop your code and notify […] Read more

Why use a Launcher VI?

A question came up at our North West LabVIEW Group about the use of a Launcher VI as the top level application, rather than having the main User Interface as the top level VI in a project. Here’s what my typical top-level VI looks like in an application:   This VI has no visible User Interface, it hides as the applications start. The block diagram of the Launcher.vi has all of the loops for each module in the application and also a message handling event structure. This Launcher will also load a single or multiple User Interfaces. There are a few reasons why […] Read more

How to Ace your CLA Exam

I recently passed my CLA exam, and after a few uncertain weeks wondering how well I’d done – it turned out that I’d passed with 100% marks. I’ve since had a few discussions where I’ve been asked about how I prepared and my exam techniques on the day, so here’s my thoughts on the CLA exam. Create a solid architecture in one hour On my exam day, I managed to complete my architecture within 1hr 15 mins, I then had 2hr 45 to fill in requirements. This was plenty of time to ensure I covered every requirement and also get […] Read more

Working with Legacy Code

What does Legacy Code mean to you? Do you imagine a perfectly organised project, well documented using standard design patterns – or an undocumented mess, one huge block diagram that will take hours to unravel and make sense from? In my experience probably the latter. I’m usually asked to help out with legacy code when there is a serious problem to be fixed, it’s an old code base, added to over several years and has often become out of hand with no design pattern applied. Working with legacy code can be daunting, risky and a less than enjoyable experience. What’s […] Read more

Creating Control References – Fast!

A very flexible way of managing lots of control and indicators on a User Interface is to create a cluster of control references for all control and indicators. This can then be used in the subsequent User Interface code to set properties, get values, set values. Save Time I found a great feature today that saves lots of time creating control references for front panel controls & indicators. Simply drag & select multiple control/indicators on the block diagram, right click and select Create > Reference. LabVIEW then creates a control reference for each selected item. Consequently, this saves you lots […] Read more