Name

powerUpPort

Synopsis

powerUpPort nodeURL port

Description

The powerUpPort utility is used to turn on power to an instrument port. It will not work while an instrument service is running on the port. It is typically used to communicate directly with instruments and perform PUCK operations while the SIAM application is running.
For example, typical operational sequences could include:

shutdownPort -> powerUpPort -> communicate with instrument via terminal program -> powerDownPort -> scanPort

or
shutdownPort -> powerUpPort -> read/write PUCK operation -> powerDownPort -> scanPort


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:

powerUpPort foce.mbari.org CO2subsys
SIAM version $Name:  $
		

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