atp/testport.sh loc /dev/ttySX15
node=//loc/node
port=/dev/ttySX15
SIAM version $Name: october18_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   45   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK         42   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING  154   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING   34   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 OK        116   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                OK          1   0   0

3 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
1015 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
1016 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
2448 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
2449 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
3275 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
3276 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: october18_2006-2 $
MSP430 (sidearm4.11):
parentID=1522, recordType=1
devid=1523, t=1161220085600, seqNo=6, mdref=4
nBytes=78
$PEDATA, P1033.65, T28.92, H52.48, GFL-458.08, GFH0.25, C262.63, TC0.00, *3875
press: 1033.65 millibar
tmprt: 28.92 deg C
humid: 52.48 rel %
GF-low: -458.08 microAmps
GF-high: 0.25 microAmps
heading: 262.63 deg
nTurns: 0 turns
Press any key to get most recent sample from instrument on port  /dev/ttySX15 :
SIAM version $Name: october18_2006-2 $
parentID=1522, recordType=1
devid=1523, t=1161220098138, seqNo=6, mdref=4
nBytes=78
$PEDATA, P1033.70, T29.02, H52.36, GFL-458.08, GFH0.25, C264.88, TC0.00, *3869
Press any key to suspend service on port  /dev/ttySX15 :
SIAM version $Name: october18_2006-2 $
SIAM version $Name: october18_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   50   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK         48   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING  178   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING   40   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SUSPEND   147   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                OK          1   0   0

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

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   53   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     SAMPLING   50   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   OK        196   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING   43   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SAMPLING  154   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                OK          2   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: october18_2006-2 $
Shutdown port /dev/ttySX15
OK
SIAM version $Name: october18_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   56   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK         54   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING  212   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              OK         47   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 -       -                                    -        -           
/dev/ttySA2  1596    Medusa card s/n 2.008                OK          2   0   0

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

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   60   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     SAMPLING   57   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING  226   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING   50   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 OK          9   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                OK          2   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=1522, recordType=0
devid=1523, t=1161220242186, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.msp430.MSP430$Attributes
serviceName=MSP430 (sidearm4.11)
parentID=1522
maxSummarySamples=0
currentLimitMa=3000
turnsSetpoint=0
packetSetSize=10
sampleSchedule=R */0 */10 */0 */0 * * * * GMT *
setTurns=false
defaultSkipInterval=0
extendedVersion=UNK
frameworkVersion=$Name: october18_2006-2 $
errCacheLimit=5
UUID=b1e23372-a5a1-11da-bb39-00306e389969
powerPolicy=ALWAYS
timeSynch=false
maxSampleTries=3
isiID=1523
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=10000
commPowerPolicy=ALWAYS
serviceStatus=5
startDelayMsec=500
</SRVC_MD>
<SVP_MD>
isiID = 1523
serviceName = MSP430 (sidearm4.11)
currentLimitMa = 3000
sampleSchedule = 600
UUID = b1e23372-a5a1-11da-bb39-00306e389969
</SVP_MD>
<DEV_MD>
$PSID, V2.3.1-Q [Mar 12 2004], *1811




$PALEVEL, PL0.000000, PH0.000000, TL0.000000, TH0.000000, HL0.000000, HH0.000000, GFLL0.000000, GFLH0.000000, GFHL0.000000, GFHH0.000000, CL0.000000, CH0.000000, TCL0.000000, TCH0.000000, *984


$PAMASK, 00, *729




$PALARM, 00, *729





</DEV_MD>
<DOC_MD>
﻿<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /home/cvs/puckxml/1523.xml,v 1.1 2006/03/02 19:54:17 rich Exp $	-->
<!-- Last edited by $Author: rich $	$Date: 2006/03/02 19:54:17 $   -->

<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ssds.shore.mbari.org/ssdsdata/config/schema/2005mtm3/SSDS_Metadata.xsd" majorVersion="2" minorVersion="0" lastAuthor="$Author: rich $" lastUpdate="$Date: 2006/03/02 19:54:17 $" >

	<Deployment role="instrument" >
		<Device id="1523" name="SideARM MSP430" type="Controller" mfgName="MBARI" mfgModel="MSP430" mfgSerialNumber="4.11" 
		preferredDeploymentRole="instrument">
			<description>environmental signal processor</description>
			<Person firstname="Lance" surname="McBride" organization="MBARI" 
			email="lance@mbari.org" phone="831-775-2046"/>
		</Device>
		
		<output>
			<DataStream>
				<description>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" referenceScale="TBD" 
						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>
					<RecordVariable 
						name="Temperature" 
						longName="Temperature Inside MMC Can" 
						units="degrees C" referenceScale="none" 
						columnIndex="3" 
						format="double" parseRegExp="T(\d+\.\d+)" >
							<description>temperature measured inside the MMC controller pressure housing</description>
							<StandardVariable name="temperature"/>
					</RecordVariable>
					<RecordVariable 
						name="Humidity" 
						longName="Relative Humidity Inside Can" 
						units="percent" referenceScale="TBD" 
						columnIndex="4" 
						format="double" parseRegExp="H(\d+\.\d+)" 
						validMin="0.0" validMax="100.0" >
							<description>relative humidity measured inside the MMC controller pressure housing</description>
							<StandardVariable name="humidity"/>
					</RecordVariable>
					<RecordVariable
						name="Ground Fault Low" 
						longName="Ground Fault Low Voltage" 
						units="volts" referenceScale="tbd" 
						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" referenceScale="TBD" 
						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="longitude"/>
					</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" referenceScale="TBD" 
						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" referenceScale="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 :
2 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.msp430.MSP430:1523 key=8
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	559732


0 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
726 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
742 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
4633 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
4634 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
5532 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
5533 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ atp/testport.sh loc /dev/ttySX15   A2
node=//loc/node
port=/dev/ttySA2
SIAM version $Name: october18_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   67   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK         65   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   OK        254   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              OK         58   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SAMPLING   59   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                OK          2   0   0

65 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
1025 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
1026 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
2455 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
2456 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
3161 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
3162 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: october18_2006-2 $
Medusa card s/n 2.008:
parentID=1522, recordType=1
devid=1596, t=1161220321850, seqNo=6, mdref=4
nBytes=101
 

-> channel=0, temp=50.07, vcc=3.2260, txBiasI=3.9998, txPower=-2.0332, rxPower=-3.6012, status=0x0
Parser not implemented.
Press any key to get most recent sample from instrument on port  /dev/ttySA2 :
SIAM version $Name: october18_2006-2 $
parentID=1522, recordType=1
devid=1596, t=1161220321850, seqNo=6, mdref=4
nBytes=101
 

-> channel=0, temp=50.07, vcc=3.2260, txBiasI=3.9998, txPower=-2.0332, rxPower=-3.6012, status=0x0
Press any key to suspend service on port  /dev/ttySA2 :
SIAM version $Name: october18_2006-2 $
SIAM version $Name: october18_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   72   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK         71   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING  276   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              OK         64   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SAMPLING  100   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                SUSPEND     3   0   0

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

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   75   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     SAMPLING   73   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING  285   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING   66   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SAMPLING  116   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                OK          3   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: october18_2006-2 $
Shutdown port /dev/ttySA2
OK
SIAM version $Name: october18_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   78   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     SAMPLING   76   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   OK        296   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING   69   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SAMPLING  135   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: october18_2006-2 $
Scan port /dev/ttySA2
ttySA: 1 input overrun(s)

ttySA: 1 input overrun(s)

ttySA: 1 input overrun(s)

SIAM version $Name: october18_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX0  -       -                                    -        -           
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING   84   0   0
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK         83   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING  320   0   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              OK         76   0   0
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   1   1
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  -       -                                    -        -           
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 OK        183   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                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
ttySA: 1 input overrun(s)

ttySA: 1 input overrun(s)

Packet received:

parentID=1522, recordType=0
devid=1596, t=1161220514804, 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.008
parentID=1522
maxSummarySamples=0
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=0
extendedVersion=UNK
frameworkVersion=$Name: october18_2006-2 $
errCacheLimit=5
UUID=e697de2a-5f01-11db-9a46-713f51a86ba0
powerPolicy=NEVER
timeSynch=false
maxSampleTries=3
isiID=1596
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=1000
commPowerPolicy=NEVER
serviceStatus=0
startDelayMsec=2000
</SRVC_MD>
<SVP_MD>
isiID = 1596
serviceName = Medusa card s/n 2.008
currentLimitMa = 3000
UUID = e697de2a-5f01-11db-9a46-713f51a86ba0
</SVP_MD>
<DEV_MD>
META:
CPU MAC address: 00:0c:6a:00:02:08

CPU IP address: 134.89.37.58

CPU IP netmask: 255.255.0.0

CPU IP gateway: 134.89.36.200

SideARM IP address: 134.89.36.11

Medusa serial number: 2.008

Medusa ECO level: B

Firmware build: v2.60 [Sep 26 2006 14:53:06]

Toolchain: Rowley gcc 3.4.4

Trunk Failovers: 0 0

Backplane wakeup interrupts: 0

PORTS:
Port   Status   PHY Stat  Optical   LHB Stat  Last Evt  Fail  LHB OK

F  0     up      normal    normal   enabled   port up      0     0

F  1    down    pwr save  pwr off   disabled  no event     0     0

F  2    down    pwr save  pwr off   disabled  no event     0     0

F  3    down    pwr save  pwr off   disabled  no event     0     0

C  4     up      normal      ---    disabled  no event     0     0

C  5     up      normal      ---    disabled  no event     0     0

NVSHOW:
nvshow: sig[cf] ver[01] firstItemPg[1] numItem[16]

nvshow: firstDataPg[17] numData[16] configCrc16[f9b2]



Item  0 [macaddr]:	0000: 00 0c 6a 00 02 08 

Item  1 [ipaddr]:	0000: 86 59 25 3a 

Item  2 [gateway]:	0000: 86 59 24 c8 

Item  3 [netmask]:	0000: ff ff 00 00 

Item  4 [serial]:	0000: 32 2e 30 30 38 

Item  5 [ecolevel]:	0000: 42 

Item  6 [saipaddr]:	0000: 86 59 24 0b 

Item  7 [trunk0]:	0000: 01 00 00 03 

Item  8 [trunk1]:	0000: 00 00 00 00 

Item  9 [port1]:	0000: 08 

Item 10 [port2]:	0000: 08 

Item 11 [port0]:	0000: 09 

Item 12 [port3]:	0000: 08 

Item 13 [port2]:	0000: 08

UIPSTAT:
uipstat: IP Packets Rx[1] Tx[0] Drop[0]

uipstat: ICMP Packets Rx[0] Tx[0] Drop[0]

uipstat: TCP Packets Rx[0] Tx[0] Drop[0]

uipstat: TCP Packets Retrans[0] Conn Attempts[0]

EVENT:
event: Zarlink events[2] rxFrame[1] ctrl1[1] ctrl2[0] reset[0]

U0STAT:
u0stat: maxTx[256] maxRx[15] maxIsrPass[1]

u0stat: txDrop[0] rxDrop[0] spurInt[0] lsrInt[0]

SFPDIAG:
channel=0, temp=50.00, vcc=3.2250, txBiasI=3.9911, txPower=-2.0374, rxPower=-3.6508, status=0x0
SHOWSTATS[0]:

--- Zarlink port stats for port [0] ---

  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]
SHOWSTATS[1]:

--- Zarlink port stats for port [1] ---

  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]
SHOWSTATS[2]:

--- Zarlink port stats for port [2] ---

  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]
SHOWSTATS[3]:

--- Zarlink port stats for port [3] ---

  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]

FLamesRecv[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]

 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[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: mcastFrame0]  bcastFrames[0]  flowCtrlFrames[0]

 ERR: align[0]  runt[0]  crc[nt[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/1596.xml,v 1.1 2006/10/18 23:53:42 kgomes Exp $	-->
<!-- Last edited by $Author: kgomes $	$Date: 2006/10/18 23:53:42 $   -->
<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:noNamespaceSchemaLocation="http://new-ssds.mbari.org/ssds-docs/xml/schema/SSDS_Metadata.xsd"
    majorVersion="1" minorVersion="2" 
	lastAuthor="$Author: kgomes $" lastUpdate="$Date: 2006/10/18 23:53:42 $">
	
	<Deployment role="instrument" >
		<Device id="1596" name="Medusa Board" type="Network Hub-Power Controller" mfgName="MBARI" mfgModel="Medusa" mfgSerialNumber="2.008">
			<description>Medusa Board</description>
			<Person firstname="Kent" surname="Headley" organization="MBARI" email="headley@mbari.org"/>
		</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 bufferStyle="ASCII"
					bufferLengthType="variable" 
					parseable="false" 
					recordType="1">
					<RecordVariable 
					    name="Medusa" 
					    longName="Medusa" 
					    units="noUnits"
					    format="String" 
					    columnIndex="1" >		
						<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>

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

 
    Name: Default
   Owner: moos.devices.medusa.Medusa:1596 key=9
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	236921


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
845 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
846 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
2587 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
2599 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
3499 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
3500 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ 
node11:/mnt/hda/siam$ 