NAME
setProperty - set device service properties to specified values on specified host and port
SYNOPSIS
setProperty nodeHost portName name=value[ name=value...]
DESCRIPTION
The setProperty utility sets one or more SIAM instrument service property values of the service running on the specified node and port. Each property setting as specified as a 'key=value' pair. If a whitespace must be included in the key=value string, the entire string must be enclosed by single or double quotes. Multiple key=value pairs may be specifed in a single invocation of setProperty. For example, to set the power and communication policies of the device service running on port /dev/ttySX11 on the "surface" node:
% setProperty surface /dev/ttySX11 powerPolicy=ALWAYS commPowerPolicy=SAMPLING
NOTE: property change will take effect when restartPort is executed
As the message indicates, the user should use the restartPort utility after making desired property modifications, to guarantee that the changes take effect.

The portName can be abbreviated as an integer, i.e. "/dev/ttySX11" can be abbreviated as simply "11". Thus the above example is equivalent to

% setProperty surface 11 powerPolicy=ALWAYS commPowerPolicy=SAMPLING

This utility may be run on the same host as the node, or on any networked host from which the node host is accessible. If run on the node's host, then nodeHost should be specified as "localhost".


ENVIRONMENT

The following environment variables must be set:


SEE ALSO

Instrument service propertiesportPropertiescachePortrestartPort