Dynamic LabVIEW State Machine

BCA has created a LabVIEW application that allows a user to control a test procedure simply by editing a text file.


Context

Using LabVIEW, BCA developed a testing application for a device that analyzes the chemical content of a patient’s breath to determine if an infection is present in their lungs. The device contains many pumps and valves with variable states, which makes testing very complicated. Any testing application for this device would need to be able to be completely customizable in order to allow the kind of control that rigorous testing requires.

Solution

BCA’s testing application allows a user to create a list of system states and define test procedures using only a couple of white space delimited text files. The user is able to edit the tests, define new tests and new system states, and rerun the test procedure simply by reloading the text files and without recompilation of the code.