scanPort nodeURL portName [portName...]


The scanPort utility loads the instrument service (if it exists) on the specified port(s) of the specified SIAM node. If an instrument service is already associated with the specified port, or if a specified port does not exist on the node, an error is reported to the user. Multiple ports may be specified, and will be scanned in the order specified.


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

Example output:

scanPort loc /dev/tty.KeySerial1 
SIAM version $Name:  $
Scan port /dev/tty.KeySerial1


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

For Sun JVM (e.g. linux, win32, mac OS)
SIAM_HOME top of the SIAM directory tree -
SIAM_CLASSPATH Path including all SIAM and supporting classes For MMC

For linux/win32

See Also