PutDir()

Put a dictionary parameter in the data base.

Usage

PutDic( path, par,
                 value, clobber=True )

Parameters

path (string)
Data base path of the node containing the parameter.
par (string)
Parameter name.
value ((string) (path of directory)
The parameter value.
clobber (boolean)
The parameter value will be overwritten if clobber is true.

Return Value

None

Error

The parameter must be a string.

Description

This routine saves a directory parameter in the data base. The parameter address is given by its node path and the par name. The value of parameter is given by value. If the clobber is true, the parameter value will be overwritten. For example,
nodeDir = ROOT + RS + 'directory'
PutDir( nodeDir,'directoryVal', 'D:\Acusim' )