May 24, 2016 admin
The V-model is an established conceptual framework for developing quality software
and it has been a best practice over decades now. This presentation aims at the challenges of implementing the V-model in the NI and LabVIEW ecosystem. Concentrating on host-target architectures, a wide-spread setup in control-and-monitor applications, we discuss profound insights around the following topics, specifically focusing on efficiency in development and execution: (1 – Design and reusability via LVOOP) Although OOP may generally be believed to induce prohibitive run-time costs for RT applications, it has proven to be a viable alternative to be a platform even on target machines. Dynamic dispatching and inheritance are powerful tools in the LabVIEW implementation of OOP (LVOOP), even though one has to deal with limitations such as the absence of multiple inheritance; (2 – Implementing network communication via streams) Network streams in LabVIEW offer powerful ways to communicate between host and target. The flexibility of this tool is also a source of several pitfalls so that stream-based solutions have to be carefully designed and implemented; (3 – Quality assurance via unit testing) LabVIEW’s Unit Test Framework (UTF) assists the developer in the rising edge of the V-model. UTF is a tool with premature features, some of which may be hard (or even impossible) to replace.