Get a refs parameter from the data base.


refsPar = GetRefs( path, par, default= None )


path (string)
Data base path of the node containing the parameter.
par (string)
Parameter name.
default (list of strings)
Default value. This value is returned if the indicated path and par does not exist.

Return Value

refsPar (list of strings)
The parameter value.


  • The parameter in the data base must be a refs.
  • The parameter must exist in the data base or the default must not be None.


This routine returns a refs parameter from the data base. The parameter address is given by its node path and the par name. If the parameter does not exist, the default value is returned. For example,
nodeStg = ROOT + RS + 'STAGGER'
staggers = GetRefs( nodeStg, 'staggers' )