atp/testport.sh /de   loc /dev/ttySX15
node=//loc/node
port=/dev/ttySX15
SIAM version $Name: october18_2006-2 $
Node 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          4   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          4   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          4   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          4   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          1   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK          5   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                OK          1   0   0

0 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
630 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
631 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1663 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
1665 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2307 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
2308 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.05):
parentID=1521, recordType=1
devid=1529, t=1161217186558, seqNo=277, mdref=276
nBytes=75
$PEDATA, P1021.12, T31.11, H31.69, GFL0.00, GFH0.00, C264.08, TC0.00, *3677
press: 1021.12 millibar
tmprt: 31.11 deg C
humid: 31.69 rel %
GF-low: 0 microAmps
GF-high: 0 microAmps
heading: 264.08 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=1521, recordType=1
devid=1529, t=1161217186558, seqNo=277, mdref=276
nBytes=75
$PEDATA, P1021.12, T31.11, H31.69, GFL0.00, GFH0.00, C264.08, TC0.00, *3677
Press any key to suspend service on port  /dev/ttySX15 :
SIAM version $Name: october18_2006-2 $
SIAM version $Name: october18_2006-2 $
Node 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          4   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          4   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          4   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          1   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 SUSPEND     7   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                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 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          4   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          4   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          1   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK          8   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                OK          1   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 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          4   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          4   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          1   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 -       -                                    -        -           
/dev/ttySA2  1528    Medusa card s/n 2.003                OK          1   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 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          5   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          4   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          1   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK          2   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                OK          1   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=1521, recordType=0
devid=1529, t=1161217292719, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.msp430.MSP430$Attributes
serviceName=MSP430 (sidearm4.05)
parentID=1521
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=ed7ae2e8-a8c8-11da-bb39-00306e389969
powerPolicy=ALWAYS
timeSynch=false
maxSampleTries=3
isiID=1529
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=10000
commPowerPolicy=ALWAYS
serviceStatus=5
startDelayMsec=500
</SRVC_MD>
<SVP_MD>
isiID = 1529
serviceName = MSP430 (sidearm4.05)
currentLimitMa = 3000
sampleSchedule = 600
UUID = ed7ae2e8-a8c8-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/1529.xml,v 1.2 2006/04/29 08:29:48 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/04/29 08:29:48 $   -->

<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ssds.mbari.org/xml/schema/SSDS_Metadata.xsd" 
	majorVersion="2" minorVersion="2" 
	lastAuthor="$Author: graybeal $" lastUpdate="$Date: 2006/04/29 08:29:48 $" >

	<Deployment role="instrument" >
		<Device id="1529" name="SideARM MSP430" type="Environment Monitor-System" mfgName="MBARI" mfgModel="MSP430" mfgSerialNumber="4.05" 
		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"  
						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"  
						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"  
						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 :
2 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.msp430.MSP430:1529 key=9
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	567254


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
646 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1657 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
1658 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2242 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
2243 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node5:/mnt/hda/siam$ a
Looking for node at "localhost"
Connected to localhost
Requested CPU lease for 600 seconds starting in 0 seconds

node5:/mnt/hda/siam$ a 3600
Looking for node at "localhost"
Connected to localhost
Requested CPU lease for 3600 seconds starting in 0 seconds

node5:/mnt/hda/siam$ 
node5:/mnt/hda/siam$ 
node5:/mnt/hda/siam$ 
node5:/mnt/hda/siam$ a 3600[Ktp/testport.sh loc /dev/ttySX15   A2
node=//loc/node
port=/dev/ttySA2
SIAM version $Name: october18_2006-2 $
Node 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          5   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          5   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          2   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK          5   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                OK          2   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
637 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
638 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1632 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
1633 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2331 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
2334 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.003:
parentID=1521, recordType=1
devid=1528, t=1161217381105, seqNo=544, mdref=542
nBytes=198
 

-> channel=0, temp=52.57, vcc=3.2200, txBiasI=3.7825, txPower=-2.4325, rxPower=-5.8363, status=0x0

channel=3, temp=53.68, vcc=3.2450, txBiasI=3.0463, txPower=-2.5934, rxPower=-2.8138, 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=1521, recordType=1
devid=1528, t=1161217381105, seqNo=544, mdref=542
nBytes=198
 

-> channel=0, temp=52.57, vcc=3.2200, txBiasI=3.7825, txPower=-2.4325, rxPower=-5.8363, status=0x0

channel=3, temp=53.68, vcc=3.2450, txBiasI=3.0463, txPower=-2.5934, rxPower=-2.8138, 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 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          5   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          5   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          2   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK          6   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                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 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          5   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          5   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          2   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK          6   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                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 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          5   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          5   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          5   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          2   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK          6   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
SIAM version $Name: october18_2006-2 $
Node 1521 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1555    BIN 400-12V Switch s/n 1.03          OK          3   0   0
/dev/ttySX1  1546    Seabird-SBE-16+ s/n 16P27581-4198    OK          6   0   0
/dev/ttySX2  1536    WETLabs ECO-Triplet s/n WL-30009     OK          5   0   0
/dev/ttySX3  1553    Aquadopp Current Meter s/n AQD2053   OK          5   0   0
/dev/ttySX4  1524    Aanderaa Optode s/n 677              OK          5   0   0
/dev/ttySX5  -       -                                    -        -           
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1592    WH Sentinel ADCP 300kHz s/n 1706     OK          2   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1529    MSP430 (sidearm4.05)                 OK         10   0   0
/dev/ttySA2  1528    Medusa card s/n 2.003                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=1521, recordType=0
devid=1528, t=1161217529417, 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.003
parentID=1521
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=8f79b5b7-a8c6-11da-bb39-00306e389969
powerPolicy=NEVER
timeSynch=false
maxSampleTries=3
isiID=1528
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=1000
commPowerPolicy=NEVER
serviceStatus=0
startDelayMsec=2000
</SRVC_MD>
<SVP_MD>
isiID = 1528
serviceName = Medusa card s/n 2.003
currentLimitMa = 3000
UUID = 8f79b5b7-a8c6-11da-bb39-00306e389969
</SVP_MD>
<DEV_MD>
META:
CPU MAC address: 00:0c:6a:01:02:03

CPU IP address: 134.89.36.53

CPU IP netmask: 255.255.0.0

CPU IP gateway: 134.89.36.200

SideARM IP address: 134.89.36.5

Medusa serial number: 2.003

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    LHB OK      0     1

F  1    down    pwr save  pwr off   disabled  port dn      0     0

F  2    down    pwr save  pwr off   disabled  port dn      0     0

F  3     up      normal    normal   enabled    LHB OK      0     1

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

nvshow: firstDataPg[256] numData[255] configCrc16[ed26]



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

Item  1 [serial]:	0000: 32 2e 30 30 33 

Item  2 [ecolevel]:	0000: 42 

Item  3 [ipaddr]:	0000: 86 59 24 35 

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

Item  5 [trunk1]:	0000: 03 02 03 03 

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

Item  7 [saipaddr]:	0000: 86 59 24 05 

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

UIPSTAT:
uipstat: IP Packets Rx[0] 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[11] rxFrame[4] ctrl1[7] ctrl2[0] reset[0]

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

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

SFPDIAG:
channel=0, temp=52.51, vcc=3.2212, txBiasI=3.7999, txPower=-2.4821, rxPower=-5.8821, status=0x0

channel=3, temp=53.72, vcc=3.2428, txBiasI=3.0231, txPower=-2.5741, rxPower=-2.8256, 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]

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]

 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: 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/1528.xml,v 1.2 2006/04/29 08:29:48 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/04/29 08:29:48 $   -->

<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:48 $">
	
	<Deployment role="instrument" >
		<Device id="1528" name="Medusa Board" type="Communication" 
			mfgName="MBARI" mfgModel="Medusa" mfgSerialNumber="2.003" preferredDeploymentRole="Instrument">
			<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:1528 key=10
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	252579


0 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
681 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
682 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1726 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
1727 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2353 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.5, port=1025, server host=loc
2355 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node5:/mnt/hda/siam$ 