Name

portProperties

Synopsis

portProperties nodeURL portName [portName...]

Description

The portProperties utility displays instrument service property values of the SIAM device service running on the specified node and port.

Multiple ports may be specified, e.g.

portProperties surface /dev/ttySX3 /dev/ttySX11 /dev/ttySX12

Options

Option Description Values
nodeURL IP address or host name of SIAM node e.g. 134.89.88.1, mooring.moos.mbari.org
portName Name of instrument port (or alias) defined in siamPort.cfg /dev/ttyS8, COM1, /dev/tty.KeySerial1

Example output:

					portProperties localhost /dev/tty.KeySerial1
					SIAM version $Name:  $
					
					Service properties for port /dev/tty.KeySerial1:
					commPowerPolicy=ALWAYS
					summaryTriggerCount=0
					rbnbCacheFrames=1024
					advertiseService=false
					frameworkVersion=$Name:  $
					svalue=2
					dataShelfLifeHours=-1.0
					serviceStatus=6
					diagnosticSampleInterval=1
					powerOnDelaySec=0
					locationName=
					peakCurrentMa=5000
					maxSummarySamples=0
					bvalue=1
					powerPolicy=ALWAYS
					sampleTimeoutMsec=1000
					dvalue=5.0
					parentID=999
					currentLimitMa=500
					extendedVersion=My extended version
					nominalCurrentMa=1000
					UUID=00000000-0000-0000-0000-000000000000
					errCacheLimit=5
					sampleSleepSec=30
					maxSampleTries=3
					strValue=six
					publisherHost=
					throwInitializeException=false
					longValue=4
					startDelayMsec=500
					defaultSkipInterval=0
					isiID=1151
					instrumentName=UNKNOWN
					rbnbArchiveFrames=102400
					registryName=Dummy
					timeSynch=false
					serviceName=Dummy
					className=org.mbari.siam.devices.dummy.DummyInstrument$Attributes
					packetSetSize=10
					sampleSchedule=R */30 */0 */0 */0 * * * * GMT *
					ivalue=3
					

Environment

The following environment variables must be set:

Variable Description Example
JAVA_HOME location of Java installation
/j9, /opt/java/jdk1.3.1, etc.
JAVA Path to JVM command For MMC
$JAVA_HOME/bin/j9

For Sun JVM (e.g. linux, win32, mac OS)
$JAVA_HOME/bin/java
SIAM_HOME top of the SIAM directory tree -
SIAM_CLASSPATH Path including all SIAM and supporting classes For MMC
$JAVA_HOME/lib/jclMax/classes.zip:$JAVA_HOME/lib/prsnlmot.jar:$JAVA_HOME/lib/RXTXcomm.jar:$SIAM_HOME/classes

For linux/win32
$SIAM_HOME/classes

See Also