03-31-2017 04:22 PM
I got a crazy idea, but I don’t know how crazy it is: Put device drivers inside XControls.
The façade would have controls/indicators representing the front panel of the instrument.
The block diagram terminal data would be a cluster of the FP controls.
Settings & functions would be accessed either via property & invoke nodes or the block diagram terminal.
It would have the following advantages:
Let me know what you think
03-31-2017 04:39 PM
Sounds interesting. Test it and tell us how it goes. 🙂
/Y
03-31-2017 06:50 PM
Sounds like it should work well for GUI systems. For my automated systems, I think it would get more confusing. I'll stick with Objects for my instrument drivers.
04-04-2017 02:12 PM
Interesting idea. Initially I liked it, but then I started thinking about how I use drivers, and porting something like this to an RT system (with no, or limited UI access) would make me curse the developer who buried the driver level API behind an XControl. If it works for you I say go for it, but just be aware of the pitfalls...like using XControls in general.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord