My version of the preferences dialog uses the OpenG panel to disk VIs, and they work great. I'll try to post an example tomorrow, if someone reminds me with a PM...Regardless of which method you choose to store the data in the app (class, globals, cluster), persisting the data is fairly easy:
Add a preferences category
Started by
Ton Plomp
, Jun 02 2010 06:26 AM
23 replies to this topic
#21
Posted 27 August 2010 - 02:14 AM

#22
Posted 27 August 2010 - 03:08 AM
Making it a symbolic path would encourage you users to link against it. If you thought we were cavalier about changing VIs in vi.lib that aren't in the palettes, that's nothing compared to what we feel free to do to the Resources directory. ;-)Is this a good Idea - or are there reasons not to do this?
#23
Posted 27 August 2010 - 03:23 AM
Making it a symbolic path would encourage you users to link against it. If you thought we were cavalier about changing VIs in vi.lib that aren't in the palettes, that's nothing compared to what we feel free to do to the Resources directory. ;-)
lol
#24
Posted 27 August 2010 - 10:45 PM
I posted a new version of the code on NI Community including a VI package.
Changes in the code:
Changes in the code:
- Reverted version number from 1.0 to 0.2
- Added VI package distribution
- Moved all dialog subVIs from LV resource folder into package
- Added support to show/hide Help button and specify dialog help file
- Moved API and framework into LV project library
- VIs install to ..\user.lib\ODF
- Added subpalette to User Libraries in Function Palette
Christian Loew, CLA
Senior Systems Engineer, Industrial Embedded - National Instruments
There's a reference design for that.
Senior Systems Engineer, Industrial Embedded - National Instruments
There's a reference design for that.












