nsy  anocom         bin/atp   
CVS        arm-linux  x86-linux  x86-win32  
surface:/mnt/hda/siam$ bin/arm-linux/
CVS            cygwin         rconsole       sa1100gpio.o   setrts
commandRunner  ethaddr        rdate          sa1100lddio.o  stip
console        ipaddr `              
surface:/mnt/hda/siam$ a atp/
CVS          atp1         atp1.sh      ssds-siam    testport     testport.sh
surface:/mnt/hda/siam$ atp/
CVS          atp1         atp1.sh      ssds-siam    testport     testport.sh
surface:/mnt/hda/siam$ atp/apt  tp1    atp   testport.sh 
usage: atp/testport.sh nodeHost portName
e.g.: 
  % atp/testport.sh sidearm14 /dev/ttySX1
surface:/mnt/hda/siam$ atp/testport.sh loc /dev/ttySX11
node=//loc/node
port=/dev/ttySX11
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK        272   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK       1089   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        544   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
645 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
647 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1672 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
1673 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2222 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
2223 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  /dev/ttySX11 :
number of args: 2
SIAM version $Name: october16_2006-3 $
Garmin GPS s/n 81108743:
parentID=1446, recordType=1
devid=1590, t=1161208384513, seqNo=280, mdref=8
nBytes=70
$GPRMC,215303,A,3648.1998,N,12147.2557,W,000.0,319.4,181006,014.8,E*6A
Parser not implemented.
Press any key to get most recent sample from instrument on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
parentID=1446, recordType=1
devid=1590, t=1161208384513, seqNo=280, mdref=8
nBytes=70
$GPRMC,215303,A,3648.1998,N,12147.2557,W,000.0,319.4,181006,014.8,E*6A
Press any key to suspend service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              SUSPEND   273   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK       1090   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        544   0   0

Service hould now be SUSPENDED on port  /dev/ttySX11
Press any key to resume service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK        273   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK       1090   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        544   0   0

Service hould now be OK/SAMPLING on port  /dev/ttySX11
Press any key to shutdown service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
Shutdown port /dev/ttySX11
OK
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK       1090   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        544   0   0

Should now be no service on port  /dev/ttySX11
Press any key to load service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
Scan port /dev/ttySX11
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK       1094   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        544   0   0

Should now be service running on port  /dev/ttySX11
Press any key to get instrument metadata from port  /dev/ttySX11 :
Looking for node server stub at rmi://loc/node
Got proxy for node service "moos.deployed.NodeService"
Requesting packet...components = 0x1f
Packet received:

parentID=1446, recordType=0
devid=1590, t=1161208601181, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.garmin.GarminGPS$Attributes
serviceName=Garmin GPS s/n 81108743
parentID=1446
maxSummarySamples=0
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */10 */0 */0 * * * * GMT *
defaultSkipInterval=0
fixTimeoutMsec=900000
extendedVersion=UNK
frameworkVersferential, 15m RMS
						(100m w/Selective Availability on)
						Velocity accuracy 0.2m/s RMS steady state (subject to Selective	Availability)
					-->
					<!--
						Comments:
						- One could parse for $GPRMC as	a double-check - if that isn't found, record is	bad.
					-->
					<RecordVariable
			es) (leading 0s will be transmitted)</description>
					</RecordVariable>
					<RecordVariable
						name="Longitude	Hemisphere"
						longName="Hemisphere of	Longitude Position"
						units="EorW" referenceScale="none"
						columnIndex="7"
						format="String">
							<description>hemisphere	of GPS longitude fix, N=north, S=south</description>
					</RecordVariable>
					<RecordVariable
						name="Speed"
						longName="Speed	over Ground"
						un
					bufferLengthType="variable"
					parseable="false" recordType="2">
					<!--
						Comments:
						- Error record is variable length, it collects as much info as possible.
						-->
					<RecordVariable
						name="GPS Error Record"
						longName="GPS Error String When No Fix"
						units="noUnits"	
						columnIndex="1"
						format="String"	>
						<description>GPS collects and returns 
							as much information as possible</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX11 :</description>
						<StandardVariable name="platform_course" namespaceUriString="http://marinemetadata.org/cf"/>
					</RecordVariable>
					<RecordVariable
						name="Date"
						longName="Date of GPS Fix"
						units="yearMonthDay" 
						columnIndex="10"
						format="int"
						validMin="000000" validMax="991231" >
							<description>date of GPS fix, expressed	in ddmmyy format</description>
					</RecordVariable>
					<RecordVariable
						name="Magnetic Variation"
						longName="Absolute Magnetic Variation at Location"
						units="degreesHeading" 
						columnIndex="11"
						format="float"
						validMin="0.0" validMax="180.0"	>
							<description>Absolute value of determined magnetic variation at	location of fix (leading 0s will be transmitted)</description>
					</RecordVariable>
					<RecordVariable
						name="Magnetic Variation Direction * Checksum"
						longName="Direction of Magnetic	Variation at Location and Checksum"
						units="EorW" 
						columnIndex="12"
						format="String" >
							<description>direction of magnetic variation at	location of fix, a westerly variation adds to true course * Checkum value</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
		<output>
			<DataStream>
				<description>GPS error stream</description>
				<RecordDescription bufferStyle="ASCII"
					bufferLengthType="variable"
					parseable="false" recordType="2">
					<!--
						Comments:
						- Error record is variable length, it collects as much info as possible.
						-->
					<RecordVariable
						name="GPS Error Record"
						longName="GPS Error String When No Fix"
						units="noUnits"	
						columnIndex="1"
						format="String"	>
						<description>GPS collects and returns 
							as much information as possible</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX11 :</description>
						<StandardVariable name="platform_course" namespaceUriString="http://marinemetadata.org/cf"/>
					</RecordVariable>
					<RecordVariable
						name="Date"
						longName="Date of GPS Fix"
						units="yearMonthDay" 
						columnIndex="10"
						format="int"
						validMin="000000" validMax="991231" >
							<description>date of GPS fix, expressed	in ddmmyy format</description>
					</RecordVariable>
					<RecordVariable
						name="Magnetic Variation"
						longName="Absolute Magnetic Variation at Location"
						units="degreesHeading" 
						columnIndex="11"
						format="float"
						validMin="0.0" validMax="180.0"	>
							<description>Absolute value of determined magnetic variation at	location of fix (leading 0s will be transmitted)</description>
					</RecordVariable>
					<RecordVariable
						name="Magnetic Variation Direction * Checksum"
						longName="Direction of Magnetic	Variation at Location and Checksum"
						units="EorW" 
						columnIndex="12"
						format="String" >
							<description>direction of magnetic variation at	location of fix, a westerly variation adds to true course * Checkum value</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
		<output>
			<DataStream>
				<description>GPS error stream</description>
				<RecordDescription bufferStyle="ASCII"
					bufferLengthType="variable"
					parseable="false" recordType="2">
					<!--
						Comments:
						- Error record is variable length, it collects as much info as possible.
						-->
					<RecordVariable
						name="GPS Error Record"
						longName="GPS Error String When No Fix"
						units="noUnits"	
						columnIndex="1"
						format="String"	>
						<description>GPS collects and returns 
							as much information as possible</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX11 :</description>
						<StandardVariable name="platform_course" namespaceUriString="http://marinemetadata.org/cf"/>
					</RecordVariable>
					<RecordVariable
						name="Date"
						longName="Date of GPS Fix"
						units="yearMonthDay" 
						columnIndex="10"
						format="int"
						validMin="000000" validMax="991231" >
							<description>date of GPS fix, expressed	in ddmmyy format</description>
					</RecordVariable>
					<RecordVariable
						name="Magnetic Variation"
						longName="Absolute Magnetic Variation at Location"
						units="degreesHeading" 
						columnIndex="11"
						format="float"
						validMin="0.0" validMax="180.0"	>
							<description>Absolute value of determined magnetic variation at	location of fix (leading 0s will be transmitted)</description>
					</RecordVariable>
					<RecordVariable
						name="Magnetic Variation Direction * Checksum"
						longName="Direction of Magnetic	Variation at Location and Checksum"
						units="EorW" 
						columnIndex="12"
						format="String" >
							<description>direction of magnetic variation at	location of fix, a westerly variation adds to true course * Checkum value</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
		<output>
			<DataStream>
				<description>GPS error stream</description>
				<RecordDescription bufferStyle="ASCII"
					bufferLengthType="variable"
					parseable="false" recordType="2">
					<!--
						Comments:
						- Error record is variable length, it collects as much info as possible.
						-->
					<RecordVariable
						name="GPS Error Record"
						longName="GPS Error String When No Fix"
						units="noUnits"	
						columnIndex="1"
						format="String"	>
						<description>GPS collects and returns 
							as much information as possible</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX11 :
1 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.garmin.GarminGPS:1590 key=4
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	544658


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
685 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
686 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1932 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
1933 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2493 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
2494 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
surface:/mnt/hda/siam$ inf
surface:/mnt/hda/siam$ infatp/testport.sh loc /dev/ttySX11 5
node=//loc/node
port=/dev/ttySX15
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK       1097   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        545   0   0

0 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
674 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
675 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1741 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
1742 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2351 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
2351 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  /dev/ttySX15 :
number of args: 2
SIAM version $Name: october16_2006-3 $
MSP430 (sidearm4.25):
parentID=1446, recordType=1
devid=1447, t=1161208679592, seqNo=713, mdref=440
nBytes=78
$PEDATA, P1022.10, T29.73, H34.10, GFL-458.79, GFH8.63, C322.57, TC0.00, *3870
press: 1022.1 millibar
tmprt: 29.73 deg C
humid: 34.1 rel %
GF-low: -458.79 microAmps
GF-high: 8.63 microAmps
heading: 322.57 deg
nTurns: 0 turns
Press any key to get most recent sample from instrument on port  /dev/ttySX15 :
SIAM version $Name: october16_2006-3 $
parentID=1446, recordType=1
devid=1447, t=1161208679592, seqNo=713, mdref=440
nBytes=78
$PEDATA, P1022.10, T29.73, H34.10, GFL-458.79, GFH8.63, C322.57, TC0.00, *3870
Press any key to suspend service on port  /dev/ttySX15 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------     /dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 SUSPEND  1098   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        545   0   0

Service hould now be SUSPENDED on port  /dev/ttySX15
Press any key to resume service on port  /dev/ttySX15 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK       1098   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        545   0   0

Service hould now be OK/SAMPLING on port  /dev/ttySX15
Press any key to shutdown service on port  /dev/ttySX15 :
SIAM version $Name: october16_2006-3 $
Shutdown port /dev/ttySX15
OK
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 -       -                                    -        -           
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        545   0   0

Should now be no service on port  /dev/ttySX15
Press any key to load service on port  /dev/ttySX15 :
SIAM version $Name: october16_2006-3 $
Scan port /dev/ttySX15
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          1   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        545   0   0

Should now be service running on port  /dev/ttySX15
Press any key to get instrument metadata from port  /dev/ttySX15 :
Looking for node server stub at rmi://loc/node
Got proxy for node service "moos.deployed.NodeService"
Requesting packet...components = 0x1f
Packet received:

parentID=1446, recordType=0
devid=1447, t=1161208776667, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentNameiption>MSP 430 environmental data stream</description>

				<RecordDescription bufferStyle="ASCII" 
					bufferParseType="ordered"   
					bufferItemSeparator="," 
					bufferLengthType="fixed"  
					parseable="1" recordType="1">
					
					<!-- Sample Record: 
						$PEDATA, P1024.01, T26.71, H37.10, GFL0.38, GFH-0.28, C338.20, TC0.00, *3742 
					-->
	
					<RecordVariable 
						name="RecordStatus" 
						longName="Status of MSP Record" 
						units="noUnits"  
						columnIndex="1" 
						format="string">
							<description>tag string at beginning of data</description>
							<!--StandardVariable name="checkString"/-->
					</RecordVariable>
					<RecordVariable 
						name="Pressure" 
						longName="Pressure Inside MMC Can" 
						units="millibars"  
						columnIndex="2" 
						format="double" parseRegExp="P(\d+\.\d+)" 
						validMin="0.0" validMax="5000.0" >
							<description>atmospheric pressure measured inside the MMC controller pressure housing</description>
							<!--StandardVariable name="pressure"/-->
					</RecordVariable>
	s Since Reset" 
						units="totalCount"  
						columnIndex="8" 
						format="int" parseRegExp="TC(-*\d+\.\d+)" >
							<description>Accumulated number of turns measured by the Compass Heading since the last reset.  (Positive = clockwise, negative = counter-clockwise.)</description>
							<!--StandardVariable name="count"/-->
					</RecordVariable>
					<RecordVariable 
						name="CheckSum" 
						longName="checksum of data packet" 
						units="tbd"  
						columnIndex="9" 
						format="int" parseRegExp="\*(\d+)" >
							<description>checksum</description>
							<!--StandardVariable name="checksum"/-->
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX15 :cordVariable
						name="Ground Fault Low" 
						longName="Ground Fault Low Voltage" 
						units="volts"  
						columnIndex="5" 
						format="double" parseRegExp="GFL(-*\d+\.\d+)" >
							<description>ground fault voltage measured on low voltage circuit</description>
					</RecordVariable>
					<RecordVariable
						name="Ground Fault High" 
						longName="Ground Fault High Voltage" 
						units="volts"  
						columnIndex="6" 
						format="double" parseRegExp="GFH(-*\d+\.\d+)" 
						validMin="0.0" validMax="240.0" >
							<description>ground fault voltage measured on high voltage circuit</description>
							<!--StandardVariable name=""/-->
					</RecordVariable>
					<RecordVariable 
						name="Compass Heading" 
						longName="Heading per Environmental Compass" 
						units="degrees" referenceScale="trueNorth(?)" 
						columnIndex="7" 
						format="double" parseRegExp="C(\d+\.\d+)" 
						validMin="0.0" validMax="360.0" >
							<description>Heading measured by the compass on the MSP430</description>
							<!--StandardVariable name="heading"/-->
					</RecordVariable>
					<RecordVariable 
						name="Compass Turns Count" 
						longName="Number of Compass Turns Since Reset" 
						units="totalCount"  
						columnIndex="8" 
						format="int" parseRegExp="TC(-*\d+\.\d+)" >
							<description>Accumulated number of turns measured by the Compass Heading since the last reset.  (Positive = clockwise, negative = counter-clockwise.)</description>
							<!--StandardVariable name="count"/-->
					</RecordVariable>
					<RecordVariable 
						name="CheckSum" 
						longName="checksum of data packet" 
						units="tbd"  
						columnIndex="9" 
						format="int" parseRegExp="\*(\d+)" >
							<description>checksum</description>
							<!--StandardVariable name="checksum"/-->
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX15 :cordVariable
						name="Ground Fault Low" 
						longName="Ground Fault Low Voltage" 
						units="volts"  
						columnIndex="5" 
						format="double" parseRegExp="GFL(-*\d+\.\d+)" >
							<description>ground fault voltage measured on low voltage circuit</description>
					</RecordVariable>
					<RecordVariable
						name="Ground Fault High" 
						longName="Ground Fault High Voltage" 
						units="volts"  
						columnIndex="6" 
						format="double" parseRegExp="GFH(-*\d+\.\d+)" 
						validMin="0.0" validMax="240.0" >
							<description>ground fault voltage measured on high voltage circuit</description>
							<!--StandardVariable name=""/-->
					</RecordVariable>
					<RecordVariable 
						name="Compass Heading" 
						longName="Heading per Environmental Compass" 
						units="degrees" referenceScale="trueNorth(?)" 
						columnIndex="7" 
						format="double" parseRegExp="C(\d+\.\d+)" 
						validMin="0.0" validMax="360.0" >
							<description>Heading measured by the compass on the MSP430</description>
							<!--StandardVariable name="heading"/-->
					</RecordVariable>
					<RecordVariable 
						name="Compass Turns Count" 
						longName="Number of Compass Turns Since Reset" 
						units="totalCount"  
						columnIndex="8" 
						format="int" parseRegExp="TC(-*\d+\.\d+)" >
							<description>Accumulated number of turns measured by the Compass Heading since the last reset.  (Positive = clockwise, negative = counter-clockwise.)</description>
							<!--StandardVariable name="count"/-->
					</RecordVariable>
					<RecordVariable 
						name="CheckSum" 
						longName="checksum of data packet" 
						units="tbd"  
						columnIndex="9" 
						format="int" parseRegExp="\*(\d+)" >
							<description>checksum</description>
							<!--StandardVariable name="checksum"/-->
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX15 :
1 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.msp430.MSP430:1447 key=5
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	557596


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
675 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
676 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1656 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
1657 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2394 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
2395 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
surface:/mnt/hda/siam$ 
surface:/mnt/hda/siam$ 
surface:/mnt/hda/siam$ 
surface:/mnt/hda/siam$ atp/testport.sh loc /dev/ttySX15   A2
node=//loc/node
port=/dev/ttySA2
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          1   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        545   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
895 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
896 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1931 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
1932 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2485 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
2486 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  /dev/ttySA2 :
number of args: 2
SIAM version $Name: october16_2006-3 $
Medusa card s/n 2.007:
parentID=1446, recordType=1
devid=1441, t=1161208851310, seqNo=1420, mdref=875
nBytes=1
 
Parser not implemented.
Press any key to get most recent sample from instrument on port  /dev/ttySA2 :
SIAM version $Name: october16_2006-3 $
parentID=1446, recordType=1
devid=1441, t=1161208851310, seqNo=1420, mdref=875
nBytes=1
 
Press any key to suspend service on port  /dev/ttySA2 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          3   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                SUSPEND   547   0   0

Service hould now be SUSPENDED on port  /dev/ttySA2
Press any key to resume service on port  /dev/ttySA2 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          3   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK        547   0   0

Service hould now be OK/SAMPLING on port  /dev/ttySA2
Press any key to shutdown service on port  /dev/ttySA2 :
SIAM version $Name: october16_2006-3 $
Shutdown port /dev/ttySA2
OK
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          3   0   0
/dev/ttySA2  -       -                                    -        -           

Should now be no service on port  /dev/ttySA2
Press any key to load service on port  /dev/ttySA2 :

SIAM version $Name: october16_2006-3 $
Scan port /dev/ttySA2
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1590    Garmin GPS s/n 81108743              OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          6   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Should now be service running on port  /dev/ttySA2
Press any key to get instrument metadata from port  /dev/ttySA2 :Looking for node server stub at rmi://loc/node
Got proxy for node service "moos.deployed.NodeService"
Requesting packet...components = 0x1f
Packet received:

parentID=1446, recordType=0
devid=1441, t=1161209062059, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=org.mbari.isi.interfaces.InstrumentServiceAttributes
serviceName=Medusa card s/n 2.007
parentID=1446
maxSummarySamples=0
currentLimitMa=3000
packetSetSize=10
ampleScheR .
2 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.medusa.Medusa:1441 key=6
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	247279


0 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
785 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
786 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1851 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
1852 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2415 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=loc
2416 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
surface:/mnt/hda/siam$ getMetadata loc /dev/ttySX16   A2
Looking for node server stub at rmi://loc/node
Got proxy for node service "moos.deployed.NodeService"
Requesting packet...components = 0x1f
Packet received:

parentID=1446, recordType=0
devid=1441, t=1161209141948, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=org.mbari.isi.interfaces.InstrumentServiceAttributes
serviceName=Medusa card s/n 2.007
parentID=1446
maxSummarySamples=0
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=0
extendedVersion=UNK
frameworkVersion=$Name: october16_2006-3 $
errCacheLimit=5
UUID=e052be35-e4db-11d9-b8bc-00306e389969
powerPolicy=NEVER
timeSynch=false
maxSampleTries=3
isiID=1441
peakCurrentMaFrames[0] ERR: align[0]  runt[0]  crc[0]  shortEvent[0]FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[0] PKT: len64[0]  len65-127[0]  jabber[0]  oversize[0] LEN: 128-255[0]  256-511[0]  512-1023[0]  1024-1522[0]OOPS: fragment[0]  dropped[0]  filterCount[0]  delayExceedDiscard[0]
SHOWSTATS[4]:

--- Zarlink port stats for port [4] ---  TX: bytes[0 0]  unicastFrame[0]  frameTxFail[0]  RX: bytes[0 0]  frames[0 0]  totalBytes[0 0]  totalFrames[0]  RX: mcastFrames[0]  bcastFrames[0]  flowCtrlFrames[0] ERR: align[0]  runt[0]  crc[0]  shortEvent[0]FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[0] PKoUnits">
						<description>Medusa board channel report, repeats for mul-511[0]  512-1023[0]  1024-1522[0]OOPS: fragment[0]  dropped[0]  filterCount[0] 
					</RecordVariable>
				</Re[5]:

--- Zarlink port stats for port [5] ---  TX: bytes[0 0]  unicastFrame[0]  frameTxFail[0]  RX: bytes[0 0]  frames[0 0]  totalBytes[0 0]  totalFrames[0]  RX: mcastFrames[0]  bcastFrames[0]  flowCtrlFrames[0] ERR: align[0]  runt[0]  crc[0]  shortEvent[0]FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[0] PKT: len64[0]  len65-127[0]  jabber[0]  oversize[0] LEN: 128-255[0]  256-511[0]  512-1023[0]  1024-1522[0]OOPS: fragment[0]  dropped[0]  filterCount[0]  delayExceedDiscard[0]
</DEV_MD>
<DOC_MD>
﻿<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /home/cvs/puckxml/1441.xml,v 1.2 2006/04/29 08:29:47 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/04/29 08:29:47 $   -->

<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:noNamespaceSchemaLocation="http://ssds.mbari.org/xml/schema/SSDS_Metadata.xsd"
    majorVersion="1" minorVersion="2" 
	lastAuthor="$Author: graybeal $" lastUpdate="$Date: 2006/04/29 08:29:47 $">
	
	<Deployment role="instrument">
		<Device id="1441" name="Medusa Board" type="Network Hub-Power Controller"
			mfgModel="Medusa" mfgName="MBARI" mfgSerialNumber="2.007"
			preferredDeploymentRole="Instrument">
			<description>Medusa Board</description>
			<Person email="headley@mbari.org" firstname="Kent" organization="MBARI"
				surname="Headley"></Person>
		</Device>
		<!-- Sample Record:
		    channel=3, temp=46.48, vcc=3.2482, txBiasI=2.5593, txPower=-2.7114, rxPower=-5.3160, status=0x0
		-->
		<output>
			<DataStream>
				<description>Medusa Data Stream</description>
				<RecordDescription bufferLengthType="variable" 
					bufferStyle="ASCII" 
					parseable="false"
					recordType="1">
					<RecordVariable 
						columnIndex="1" 
						format="String" 
						longName="Medusa" 
						name="Medusa"
						units="noUnits">
						<description>Medusa board channel report, repeats for multiple channels.
							Must be decoded by external program for use.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

surface:/mnt/hda/siam$ 0]  frames[0 0]  totalBytes[0 0]  totalFrames[0]  RX: mcastFrames[0]  bcastFrames[0]  flowCtrlFrames[0] ERR: align[0]  runt[0]  crc[0]  shortEvent[0]FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[0] PKT: len64[0]  len65-127[0]  jabber[0]  oversize[0] LEN: 128-255[0]  256-511[0]  512-1023[0]  1024-1522[0]OOPS: fragment[0]  dropped[0]  filterCount[0]  delayExceedDiscard[0]
</DEV_MD>
<DOC_MD>
﻿<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /home/cvs/puckxml/1441.xml,v 1.2 2006/04/29 08:29:47 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/04/29 08:29:47 $   -->

<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:noNamespaceSchemaLocation="http://ssds.mbari.org/xml/schema/SSDS_Metadata.xsd"
    majorVersion="1" minorVersion="2" 
	lastAuthor="$Author: graybeal $" lastUpdate="$Date: 2006/04/29 08:29:47 $">
	
	<Deployment role="instrument">
		<Device id="1441" name="Medusa Board" type="Network Hub-Power Controller"
			mfgModel="Medusa" mfgName="MBARI" mfgSerialNumber="2.007"
			preferredDeploymentRole="Instrument">
			<description>Medusa Board</description>
			<Person email="headley@mbari.org" firstname="Kent" organization="MBARI"
				surname="Headley"></Person>
		</Device>
		<!-- Sample Record:
		    channel=3, temp=46.48, vcc=3.2482, txBiasI=2.5593, txPower=-2.7114, rxPower=-5.3160, status=0x0
		-->
		<output>
			<DataStream>
				<description>Medusa Data Stream</description>
				<RecordDescription bufferLengthType="variable" 
					bufferStyle="ASCII" 
					parseable="false"
					recordType="1">
					<RecordVariable 
						columnIndex="1" 
						format="String" 
						longName="Medusa" 
						name="Medusa"
						units="noUnits">
						<description>Medusa board channel report, repeats for multiple channels.
							Must be decoded by external program for use.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

surface:/mnt/hda/siam$ 0]  frames[0 0]  totalBytes[0 0]  totalFrames[0]  RX: mcastFrames[0]  bcastFrames[0]  flowCtrlFrames[0] ERR: align[0]  runt[0]  crc[0]  shortEvent[0]FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[0] PKT: len64[0]  len65-127[0]  jabber[0]  oversize[0] LEN: 128-255[0]  256-511[0]  512-1023[0]  1024-1522[0]OOPS: fragment[0]  dropped[0]  filterCount[0]  delayExceedDiscard[0]
</DEV_MD>
<DOC_MD>
﻿<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /home/cvs/puckxml/1441.xml,v 1.2 2006/04/29 08:29:47 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/04/29 08:29:47 $   -->

<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:noNamespaceSchemaLocation="http://ssds.mbari.org/xml/schema/SSDS_Metadata.xsd"
    majorVersion="1" minorVersion="2" 
	lastAuthor="$Author: graybeal $" lastUpdate="$Date: 2006/04/29 08:29:47 $">
	
	<Deployment role="instrument">
		<Device id="1441" name="Medusa Board" type="Network Hub-Power Controller"
			mfgModel="Medusa" mfgName="MBARI" mfgSerialNumber="2.007"
			preferredDeploymentRole="Instrument">
			<description>Medusa Board</description>
			<Person email="headley@mbari.org" firstname="Kent" organization="MBARI"
				surname="Headley"></Person>
		</Device>
		<!-- Sample Record:
		    channel=3, temp=46.48, vcc=3.2482, txBiasI=2.5593, txPower=-2.7114, rxPower=-5.3160, status=0x0
		-->
		<output>
			<DataStream>
				<description>Medusa Data Stream</description>
				<RecordDescription bufferLengthType="variable" 
					bufferStyle="ASCII" 
					parseable="false"
					recordType="1">
					<RecordVariable 
						columnIndex="1" 
						format="String" 
						longName="Medusa" 
						name="Medusa"
						units="noUnits">
						<description>Medusa board channel report, repeats for multiple channels.
							Must be decoded by external program for use.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

surface:/mnt/hda/siam$ atp/testport.sh loc /dev/ttySX11
node=//loc/node
port=/dev/ttySX11
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          3   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                INIT        0   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
945 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
946 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
2301 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
2302 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
3184 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
3185 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  /dev/ttySX11 :
number of args: 2
SIAM version $Name: october16_2006-3 $
Garmin GPS s/n 81107237?:
parentID=1446, recordType=1
devid=1566, t=1161209659384, seqNo=1, mdref=0
nBytes=70
$GPRMC,221419,A,3648.2036,N,12147.2541,W,000.0,000.0,181006,014.8,E*67
Parser not implemented.
Press any key to get most recent sample from instrument on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
parentID=1446, recordType=1
devid=1566, t=1161209659384, seqNo=1, mdref=0
nBytes=70
$GPRMC,221419,A,3648.2036,N,12147.2541,W,000.0,000.0,181006,014.8,E*67
Press any key to suspend service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             SUSPEND     2   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          5   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Service hould now be SUSPENDED on port  /dev/ttySX11
Press any key to resume service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             OK          2   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          5   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Service hould now be OK/SAMPLING on port  /dev/ttySX11
Press any key to shutdown service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
Shutdown port /dev/ttySX11
OK
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------      /dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          5   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Should now be no service on port  /dev/ttySX11
Press any key to load service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
Scan port /dev/ttySX11
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK          9   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Should now be service running on port  /dev/ttySX11
Press any key to get instrument metadata from port  /dev/ttySX11 :
Looking for node server stub at rmi://loc/node
Got proxy for node service "moos.deployed.NodeService"
Requesting packet...components = 0x1f
Packet received:

parentID=1446, recordType=0
devid=1566, t=1161209785239, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.garmin.GarminGPS$Attributes
serviceName=Garmin GPS s/n 81107237?
parentID=1446
maxSummarySamples=0
currentLimitMa=3008
OMzv
2 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.garmin.GarminGPS:1566 key=4
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	545454


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
574 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
575 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1615 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
1616 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2252 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
2253 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
surface:/mnt/hda/siam$ 
surface:/mnt/hda/siam$ atp/testport.sh loc /dev/ttySX11
node=//loc/node
port=/dev/ttySX11
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK         10   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
705 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
706 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1760 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
1761 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2333 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
2334 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  /dev/ttySX11 :
number of args: 2
SIAM version $Name: october16_2006-3 $
Garmin GPS s/n 81107237?:
parentID=1446, recordType=1
devid=1566, t=1161209848596, seqNo=5, mdref=4
nBytes=70
$GPRMC,221728,A,3648.1937,N,12147.2577,W,000.0,000.0,181006,014.8,E*68
Parser not implemented.
Press any key to get most recent sample from instrument on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
parentID=1446, recordType=1
devid=1566, t=1161209848596, seqNo=5, mdref=4
nBytes=70
$GPRMC,221728,A,3648.1937,N,12147.2577,W,000.0,000.0,181006,014.8,E*68
Press any key to suspend service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             SUSPEND     2   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK         11   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Service hould now be SUSPENDED on port  /dev/ttySX11
Press any key to resume service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             OK          2   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK         11   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Service hould now be OK/SAMPLING on port  /dev/ttySX11
Press any key to shutdown service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
Shutdown port /dev/ttySX11
OK
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK         11   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Should now be no service on port  /dev/ttySX11
Press any key to load service on port  /dev/ttySX11 :
SIAM version $Name: october16_2006-3 $
Scan port /dev/ttySX11
SIAM version $Name: october16_2006-3 $
Node 1446 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  -       -                                    -        -           
/dev/ttySX2  -       -                                    -        -           
/dev/ttySX3  -       -                                    -        -           
/dev/ttySX4  -       -                                    -        -           
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 1566    Garmin GPS s/n 81107237?             OK          1   0   0
/dev/ttySX15 1447    MSP430 (sidearm4.25)                 OK         15   0   0
/dev/ttySA2  1441    Medusa card s/n 2.007                OK          1   0   0

Should now be service running on port  /dev/ttySX11
Press any key to get instrument metadata from port  /dev/ttySX11 :
Looking for node server stub at rmi://loc/node
Got proxy for node service "moos.deployed.NodeService"
Requesting packet...components = 0x1f
Packet received:

parentID=1446, recordType=0
devid=1566, t=1161209962732, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.garmin.GarminGPS$Attributes
serviceName=Garmin GPS s/n 81107237?
parentID=1446
maxSummarySamples=0
currentLimitMa=3000
>OgSZVz
2 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.garmin.GarminGPS:1566 key=5
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	552510


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
655 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
656 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1718 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
1719 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2272 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1026, server host=loc
2273 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
surface:/mnt/hda/siam$ 