09-07-2016 08:11 AM
would there be any examples on the typical use of actor framework with DAQmx via a HAL.
09-07-2016 09:40 AM
Weirdly, yes. 🙂
For the AF as a HAL, first of all, you might want to check out the project template "Evaporative Cooler" that ships with LabVIEW (File >> Create Project...). After you've looked at that example, then I think this will be much more tackleable:
https://decibel.ni.com/content/docs/DOC-32506
This is the LabVIEW code that Eli uses to demonstrates HALs. You need to download this support library first: https://decibel.ni.com/content/docs/DOC-21441
And then you can review the rest of the code. THIS IS THE MOST COMPLETE SHIPPING EXAMPLE OF A HAL/MAL setup in LabVIEW that I know of.
http://www.ni.com/webcast/3431/en/
This is a 46-minute webcast about LV OOP and HALs that goes with the above code.