Webinar – Creating a Hardware Abstraction Layer in LabVIEW
- Apply the VI Package Configuration using VI Package Manager (vipm.jki.net) for LabVIEW 2015
- Open HAL Webinar.lvproj in LabVIEW 2013+ IDE
- From the project environment, Run "Microscope.TestLauncher.vi"
- Click on wells to see the XYStage move to that location and capture a simulated image.
*To use Camera.IMAQdx class, you will require a valid Vision RunTime License or Vision Development License from National Instruments (ni.com)
- You can edit "simulated.ini" file provided to change the relative path to images folder and use your own images
- You can edit "hal.ini" file provided to use a more specific camera (IMAQdx code provided).
To add your own camera or XYStage classes derived from these base classes, open "Microscope.lvclass:enumerateStaticDependencies.vi" and modify the configuration-driven dependency injection and add your specific class in the appropriate case structure.
If you have any questions, please contact JKI at jki.net or create an issue on this thread. We hope you enjoy trying the code and creating awesome Hardware Abstraction Layers for your projects!
HAL Webinar content is an open source project maintained by JKI.
HAL Webinar is distributed under the open source three clause BSD license providing everyone right to use and distribute both souce code and compiled versions. See LICENSE file for details.
This code is based on JKI State Machine Objects, an other open-source project from JKI
If you prefer you can get the templates directly using VIPM