NAME
Instrument Service Properties
DESCRIPTION
Configuration and state of a SIAM instrument service is defined by the service's properties. Every instrument service has a set of "generic" properties, as listed below. In addition, specific services can define additional properties. All service properties and their values can be displayed with the portProperties command

The following generic properties are "configurable", and their value may be specified when the service jarfile is built, or with the setProperty utility while the service is running (except for for the sampleSchedule property, which must be set with the setSchedule utility).


isiID               ISI-ID of device
serviceName         Name of service
UUID                Universal unique identifier of device

nominalCurrentMa    Expected nominal instrument current draw
peakCurrentMa       Expected maximum instrument current draw
currentLimitMa      DPA overcurrent trip if this limit exceeded
powerOnDelaySec     Seconds to pause before first power-on
startDelayMsec      Pause (msec) after each power-on
powerPolicy         Set to ALWAYS, NEVER, or SAMPLING
commPowerPolicy     Set to ALWAYS, NEVER, or SAMPLING

timeSynch           If true, try to synchronize instrument clock with 
                    node clock when service starts

sampleSchedule      Sample acquisition schedule
maxSampleTries      Number of times to attempt per scheduled sample acquisition
sampleTimeoutMsec   Timeout (msec) on serial read during acquisition

summaryTriggerCount Generate summary packet after this many raw samples are
                    acquired

maxSummarySamples   Generate summary packet and clear statistics after this many raw samples
                    are acquired

defaultSkipInterval Number of "raw" SensorDataPackets to skip when 
                    telemetering data; set to zero to retrieve all raw
                    packets; set to -1 to retrieve no raw packets
                    (e.g. during summarization)


packetSetSize       Number of SIAM packets to retrieve per "set" by portal

errCacheLimit       Generate MessagePacket after this many successive errors

instrumentName      Unused

(Summarization and telemetry subsampling properties are described here).

The following are generic "state properties", which can be displayed but cannot be modified by the user:

className           Name of service class
parentID=1446       ISI-ID of host platform
extendedVersionK    Unused
frameworkVersion    SIAM version of service base class

serviceStatus=0     Current status of service: 0=OK, 1=ERROR, 2=INITIAL, 
                    3=SHUTDOWN, 4=SUSPEND, 5=SAMPLING, 6=SLEEPING, 7=SAFE

Note that the current configurable property values of a running service can be "cached" such that the service will assume these values the next time it is started on the current port; see cachePort.


SEE ALSO

 setPropertycachePortportProperties
 Instrument Data Summaries and Telemetry Subsampling