This blog post contains information relevant to the presentation Fab and I are giving at NIWeek 2019, titled Simplifying your HAL with LVOOP and DQMH®. The bit.ly/NIWeek2019-DQMH-HAL takes you back to this post. You can find the code we used for the demonstrations in a Bitbucket repository.
Have you ever wanted to create a Hardware Abstraction Layer for measurement instrumentation but were unsure where or how to start? With all of the documentation available (White Papers, Blogs, PowerPoint Presentations), you are introduced to terminologies such as OOP, Dynamic Dispatch, and Hardware Abstraction. For some, putting all this together can be a daunting task. Well, there is good news: this post provides an answer to this task. With a simplified process and tools readily at your disposal, you can create decoupled reusable Hardware Abstraction Layer (HAL) components. You can clone the repository or download it as a zip file. The Readme file on the repository includes instructions on how to set up the code on your computer, such as installing DQMH and some additional instrument drivers. The attached document contains the step by step instructions to create the code that you can download from the repository. For the latest version of this document, see the one in the repository. We will walk you through how to create a HAL using a DMM class. When we are done, you will know exactly how to create a reusable DQMH DMM HAL that provides an API that works well in both LabVIEW and TestStand. Ready? Let us dive in.
Version as of May 31st, 2019
Download “Simplifying-your-Hardware-Abstraction-Layer-with-LVOOP-and-DQMH-Part-I-May-31-2019.pdf” Simplifying-your-Hardware-Abstraction-Layer-with-LVOOP-and-DQMH-Part-I-May-31-2019.pdf – Downloaded 1081 times – 3 MB
Initial version of the document: