FileWatcher
Want to get notified via LabVIEW Events when a file changes on disk? Now you can!
Recently I posted a little tool I created to VIPM. It's part of my work on Blue. I'm working on having Blue run constantly in the background. As part of that, I needed a FileWatcher - something that would sit in the background and fire LabVIEW Events when files were changed on disk so that I could detect when a file has been saved and immediately run Blue on it.
Some languages, like .NET, have this functionality built-in. LabVIEW does not. However, LabVIEW does have a way to call .NET code, so that is what I ended up doing. I didn't figure all this out on my own. I stumbled upon an NI forum post. It had some example code that called .NET. It worked perfectly. However it wasn't very well packaged, so I wrapped it in a nice class-based interface, put it in a package, and threw it on VIPM. I figured it's useful enough as its own separate reuse package. Enjoy.
Support My Work
It is Thanksgiving, so if you found this post or any of my other posts or tools useful and would like to show your thanks please "Tell everyone you know, especially those who have money and might be in a position to hire me or take some of my training." If they show interest you can point them to my contact form using the button below and I'll take care of the rest. I would very much appreciate any leads.
I personally am thankful for the LabVIEW Community. I've learned a ton and gotten lots of support. I appreciate all of you and hope you all get value out of all my community activities. I enjoy doing them and would love to be able to afford to do more of them.