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:
- The functions are nicely bundled.
- An instrument GUI is automatically available to the owning VI.
- Browsing properties and methods would be easier than finding subVIs
Let me know what you think
"If you weren't supposed to push it, it wouldn't be a button."