Avasil
You are correct in your understanding. The attributes are updated in memory and will persist when you call the save function. The save function takes 2 parameters. The first is the current session and the second is an optional filename. Specify a filename if you want to save to a specific location. Leave the filename blank to save to the default location.
In LabVIEW, call
C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\vision\driver\IMAQdx.llb\IMAQdx Write Attributes.vi
In C/C++, declare the function
IMAQdxError NI_FUNC IMAQdxWriteAttributes(IMAQdxSession id, char* filename);
The import library will contain correct linkage.
Once the attributes are saved, they will loaded by default when you next open the session.
Hope this helps,
Johann