      loc 1
node=//loc/node
port=1
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK         11   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK         10   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK         10   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         10   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         62   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         13   0   0

0 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
644 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
645 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1650 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1651 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2203 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2203 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  1 :
number of args: 2
SIAM version $Name: june09_2006 $
Seabird-SBE-16+ s/n 16P41561-4952:
parentID=1520, recordType=1
devid=1533, t=1150158326271, seqNo=1146, mdref=1135
nBytes=59
 23.9160,  0.00003,   -0.120, 4.5652, 13 Jun 2006, 00:25:21
tmprt: 23.916 deg C
conduct: 3.0E-5 siemens/meter
Press any key to get most recent sample from instrument on port  1 :
SIAM version $Name: june09_2006 $
parentID=1520, recordType=1
devid=1533, t=1150158326271, seqNo=1146, mdref=1135
nBytes=59
 23.9160,  0.00003,   -0.120, 4.5652, 13 Jun 2006, 00:25:21
Press any key to shutdown service on port  1 :
SIAM version $Name: june09_2006 $
Shutdown port /dev/ttySX1
OK
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  -                                    -       -        -           
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK         11   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK         11   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    SAMPLING   10   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         66   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         13   0   0

Should now be no service on port  1
Press any key to load service on port  1 :
SIAM version $Name: june09_2006 $
Scan port /dev/ttySX1
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    SAMPLING    0   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK         11   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK         11   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         11   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         70   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         13   0   0

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

parentID=1520, recordType=0
devid=1533, t=1150158482063, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.seabird.Seabird$Attributes
summaryVars=temperature conductivity 
serviceName=Seabird-SBE-16+ s/n 16P41561-4952
parentID=1520
maxSummarySamples=12
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=-1
extendedVersion=UNK
frameworkVersion=$Name: june09_2006 $
errCacheLimit=5
UUID=4a3ffd9c-aa3f-11da-bb39-00306e389969
powerPolicy=ALWAYS
timeSynch=false
maxSampleTries=3
isiID=1533
log=true
peakCurrentMa=5000
summaryTriggerCount=12
sampleTimeoutMsec=15000
commPowerPolicy=SAMPLING
safeSampleIntervalSec=300
serviceStatus=0
startDelayMsec=2000
</SRVC_MD>
<SVP_MD>
isiID = 1533
serviceName = Seabird-SBE-16+ s/n 16P41561-4952
sampleSchedule = 300
powerPolicy = always
commPowerPolicy = sampling
safeSampleIntervalSec = 300
currentLimitMa = 3000
summaryTriggerCount = 12
maxSummarySamples = 12
defaultSkipInterval = -1
UUID = 4a3ffd9c-aa3f-11da-bb39-00306e389969
</SVP_MD>
<DEV_MD>

SBE 16plus-PUCK V PUCK V 1.0   SERIAL NO. 4952    13 Jun 2006  00:27:55

vbatt = 13.1, vlith =  8.8, ioper =  50.5 ma, 

iext01 =  27.1 ma



status = not logging

sample interval = 300 seconds, number of measurements per sample = 1

Paros integration time = 1.0 seconds

samples = 27724, free = 433758

no pump, delay before sampling = 10.0 seconds

transmit real-time = no

battery cutoff =  7.5 volts

pressure sensor = quartz with temp comp, range = 6000.0

SBE 38 = no, SBE 50 = noExt Volt 0 = yes, Ext Volt 1 = no, Ext Volt 2 = no, Ext Volt 3 = no

echo commands = yes

output format = converted decimal

output salinity = no, output sound velocity = no

serial sync mode disabled

PUCK mode enabled


SBE 16plus-PUCK V PUCK V 1.0   SERIAL NO. 4952    13 Jun 2006  00:27:58

temperature:  22-jan-06

    TA0 = 1.244563e-03

    TA1 = 2.620085e-04

    TA2 = 1.601660e-07

    TA3 = 1.465003e-07

    TOFFSET = 0.000000e+00

conductivity:  22-jan-06

    G = -1.014574e+00

    H = 1.477361e-01

    I = -2.336784e-04

    J = 3.992807e-05

    CF0 = 2.623867e+03

    CPCOR = -9.570000e-08

    CTCOR = 3.250000e-06

    CSLOPE = 1.000000e+00

pressure S/N = 98241, range = 6000 psia:  28-nov-05

    PC1 = -2.741746e+04

    PC2 = 3.496060e-01

    PC3 = 7.487260e-03

    PD1 = 4.005700e-02

    PD2 = 0.000000e+00

    PT1 = 3.000112e+01

    PT2 = -9.453530e-05

    PT3 = 3.844040e-06

    PT4 = 1.490190e-09

    PSLOPE = 1.000000e+00

    POFFSET = 0.000000e+00

volt 0: offset = -4.591368e-02, slope = 1.248654e+00

volt 1: offset = -4.628527e-02, slope = 1.248240e+00

volt 2: offset = -4.598421e-02, slope = 1.249709e+00

volt 3: offset = -4.610526e-02, slope = 1.248341e+00

    EXTFREQSF = 1.000004e+00


</DEV_MD>
<DOC_MD>
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /home/cvs/puckxml/1533.xml,v 1.4 2006/06/07 23:28:29 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/06/07 23:28:29 $   -->

<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/06/07 23:28:29 $">
	
	<Deployment role="instrument">
		<Device id="1533" name="SBE16+ CTD" type="CTD" 
		mfgName="Seabird Electronics"  mfgModel="SBE16+" mfgSerialNumber="16P41561-4952" 
		preferredDeploymentRole="Instrument">
			<description>Seabird CTD</description>
			<Person	firstname="Paul" surname="Coenen" organization="MBARI"
			email="coenen@mbari.org" phone="831-775-2099"/>
		</Device>
		
		<output>
			<DataStream>
				<description>CTD Data Stream</description>
				<RecordDescription bufferStyle="ascii" 
					parseable="true" 
					recordType="1"
					bufferParseType="ordered"
					bufferItemSeparator=","
					bufferLengthType="fixed">
					<RecordVariable
						name="Temperature"
						longName="Water Temperature"
						units="deg C"	
						columnIndex="1"
						format="float" >
						<description>water temperature</description>
						<StandardVariable name="sea_water_temperature"/>
					</RecordVariable>
					<RecordVariable
						name="Conductivity"
						longName="Conductivity"
						units="S/m"	
						columnIndex="2"
						format="float" >
						<description>sea water conductivity</description>
						<StandardVariable name="sea_water_electrical_conductivity"/>
					</RecordVariable>
					<RecordVariable
						name="Pressure"
						longName="Pressure"
						units="decibars"	
						columnIndex="3"
						format="float" >
						<description>pressure of sea water</description>
						<StandardVariable name="sea_water_pressure"/>
					</RecordVariable>
					<RecordVariable
						name="ExternalVoltage0"
						longName="External Voltage 0"
						units="volts"	
						columnIndex="4"
						format="float" >
						<description>measured voltage from external sensor on channel 0</description>
						<StandardVariable name="sea_water_pressure"/>
					</RecordVariable>
					<RecordVariable
						name="Date"
						longName="Date of Sample"
						units="dd_MMM_yyyy"	
						columnIndex="5"
						format="string"	>
						<description>date in 'dd MMM yyyy' format</description>
					</RecordVariable>
					<RecordVariable
						name="Time"
						longName="Time of Day"
						units="hh-mm-ss"	
						columnIndex="6"
						format="string"	>
						<description>time of day in hh:mm:ss format</description>
						<StandardVariable name="time"/>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
		<output>
			<DataStream>
				<description>Summary CTD Data Stream</description>
				<RecordDescription bufferStyle="ascii" 
					bufferLengthType="variable" 
					parseable="false" 
					recordType="1000">
					<RecordVariable 
						name="CTD_summary" 
						longName="Summary CTD Data Record" 
						units="noUnits" 
						columnIndex="1" >
						<description>Summary packets for CTD variables in condensed XML format. Contents for each variable: 
							number of samples, average, max, min, and standard deviation.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>

		
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  1 :

 
    Name: Default
   Owner: moos.devices.aanderaa.AanderaaO2:1444 key=5
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	182062

    Name: Default
   Owner: moos.devices.serialadc.PowerCan:1554 key=1
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	343288

    Name: Default
   Owner: moos.devices.seabird.SBE16plus:1533 key=9
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	228359

    Name: Default
   Owner: moos.devices.nortek.Aquadopp:1474 key=4
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	165463

    Name: Default
   Owner: moos.devices.msp430.MSP430:1527 key=7
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	329596

    Name: Default
   Owner: moos.devices.medusa.Medusa:1526 key=8
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	71678

    Name: Default
   Owner: moos.devices.wetlabs.WetLabsTriplet:1535 key=3
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	117553


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)...
1567 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1568 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2176 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2177 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node1:/mnt/hda/siam/atp$ ./testport.sh  loc 1 2
node=//loc/node
port=2
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          1   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK         11   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK         11   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         11   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         71   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         13   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
646 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1608 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1609 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2205 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2206 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  2 :
number of args: 2
SIAM version $Name: june09_2006 $
WETLabs ECO-Triplet s/n WL-30010:
parentID=1520, recordType=1
devid=1535, t=1150158537371, seqNo=1218, mdref=1207
nBytes=112
06/13/06	00:25:17	5382	10135	17154

06/13/06	00:25:17	17373	10135	17154

06/13/06	00:25:18	17373	10135	17154




Parser not implemented.
Press any key to get most recent sample from instrument on port  2 :
SIAM version $Name: june09_2006 $
parentID=1520, recordType=1
devid=1535, t=1150158537371, seqNo=1218, mdref=1207
nBytes=112
06/13/06	00:25:17	5382	10135	17154

06/13/06	00:25:17	17373	10135	17154

06/13/06	00:25:18	17373	10135	17154




Press any key to shutdown service on port  2 :
SIAM version $Name: june09_2006 $
Shutdown port /dev/ttySX2
Leave instrument power off for at least one minute before switching on again
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          1   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK         11   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         11   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         73   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         14   0   0

Should now be no service on port  2
Press any key to load service on port  2 :
SIAM version $Name: june09_2006 $
Scan port /dev/ttySX2
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    SAMPLING    1   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          1   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK         12   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         12   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         79   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         14   0   0

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

parentID=1520, recordType=0
devid=1535, t=1150158741710, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.wetlabs.WetLabsTriplet$Attributes
summaryVars=Chlorophyll NTU1 NTU2 
logEnabled=true
serviceName=WETLabs ECO-Triplet s/n WL-30010
parentID=1520
maxSummarySamples=12
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=-1
packetInterval=0:0:0
extendedVersion=UNK
frameworkVersion=$Name: june09_2006 $
errCacheLimit=5
UUID=17f98e8e-ad84-11da-bb39-00306e389969
powerPolicy=ALWAYS
timeSynch=true
maxSampleTries=3
isiID=1535
peakCurrentMa=5000
summaryTriggerCount=12
sampleTimeoutMsec=60000
commPowerPolicy=SAMPLING
packetsPerSet=1
serialVersionUID=-5356413112920280297
serviceStatus=0
averageCount=50
startDelayMsec=2000
samplesPerPacket=5
baud=19200
</SRVC_MD>
<SVP_MD>
isiID = 1535
serviceName = WETLabs ECO-Triplet s/n WL-30010
powerPolicy = always
commPowerPolicy = sampling
sampleSchedule = 300
summaryTriggerCount = 12
maxSummarySamples = 12
timeSynch = true
samplesPerPacket = 5
currentLimitMa = 3000
defaultSkipInterval = -1
UUID = 17f98e8e-ad84-11da-bb39-00306e389969
</SVP_MD>
<DEV_MD>


ver FLNTU2-MB 3.10

ave 50

pkt 3

set 1

rat 19200

rec 0

puk 0

int 00:00:00

dat 06/13/06

clk 00:28:39

mem 2978


</DEV_MD>
<DOC_MD>
﻿<?xml version="1.0" encoding="UTF-8"?>

<!-- $Header: /home/cvs/puckxml/1535.xml,v 1.4 2006/05/26 18:29:06 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/05/26 18:29:06 $   -->
<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://ssds.mbari.org/xml/schema/SSDS_Metadata.xsd"
    majorVersion="1" minorVersion="3" 
	lastAuthor="$Author: graybeal $" lastUpdate="$Date: 2006/05/26 18:29:06 $" >
	
	<Deployment role="instrument" >
	
		<Device	id="1535" name="Combination Turbidity and Fluorescence Sensor" 
			type="Backscatterometer" 
			mfgName="Wetlabs" mfgModel="ECO Triplet" mfgSerialNumber="WL-30010"
			preferredDeploymentRole="Instrument">
			<description>Wetlabs ECO Triplet three-optical-sensor instrument</description>
			<Person	firstname="Tom" surname="Oreilly" organization="MBARI"
			email="oreilly@mbari.org" />
		</Device>
		
		<output>
			<DataStream>
				<description>Wetlabs ECO Triplet data stream</description>
				
				    
				<!-- Sample Record:
					04/28/06	07:29:32	5637	10135	17154
					04/28/06	07:29:33	17373	10135	17154
					04/28/06	07:29:33	17373	10135	17154
					
					Date Time 470 ref 470 sig 532 ref 532 sig 660 ref 660 sig therm
				-->
					
					<RecordDescription bufferStyle="ascii" 
		                bufferLengthType="fixed"
		                parseable="true"
						recordType="1"
						bufferParseType="ordered"
						bufferItemSeparator=" ">
						<RecordVariable
							name="Date_1"
							longName="Date of Sample 1"
							units="dd_mm_yy"	
							columnIndex="1"
							format="string"	>
							<description>date in dd/mm/yy format of 1st sample in this record</description>
							<!--StandardVariable name="date"/-->
						</RecordVariable>
						<RecordVariable
							name="Time_1"
							longName="Time of Day 1"
							units="hh_mm_ss"	
							columnIndex="2"
							format="string"	>
							<description>time of day in hh:mm:ss format of 1st sample in this record</description>
							<!--StandardVariable name="time"/-->
						</RecordVariable>
						<RecordVariable
							name="SignalA_1"
							longName="Signal A Sample 1"
							units="counts"	
							columnIndex="3"
							format="int" >
							<description>A signal of 1st sample in this record</description>
							<!--StandardVariable name="intensity"/-->
						</RecordVariable>
						<RecordVariable
							name="SignalB_1"
							longName="Signal B Sample 1"
							units="counts"	
							columnIndex="4"
							format="int" >
							<description>B signal of 1st sample in this record</description>
							<!--StandardVariable name="intensity"/-->
						</RecordVariable>
						<RecordVariable
							name="SignalC_1"
							longName="Signal C Sample 1"
							units="counts"	
							columnIndex="5"
							format="int" >
							<description>A signal of 1st sample in this record</description>
							<!--StandardVariable name="temperature"/-->
						</RecordVariable>
						
						<RecordVariable
							name="Date_2"
							longName="Date of Sample 2"
							units="dd_mm_yy"	
							columnIndex="6"
							format="string"	>
							<description>date in dd/mm/yy format of 2nd sample in this record</description>
							<!--StandardVariable name="date"/-->
						</RecordVariable>
						<RecordVariable
							name="Time_2"
							longName="Time of Day 2"
							units="hh_mm_ss"	
							columnIndex="7"
							format="string"	>
							<description>time of day in hh:mm:ss format of 2nd sample in this record</description>
							<!--StandardVariable name="time"/-->
						</RecordVariable>
						<RecordVariable
							name="SignalA_2"
							longName="Signal A Sample 2"
							units="counts"	
							columnIndex="8"
							format="int" >
							<description>A signal of 2nd sample in this record</description>
							<!--StandardVariable name="intensity"/-->
						</RecordVariable>
						<RecordVariable
							name="SignalB_2"
							longName="Signal B Sample 2"
							units="counts"	
							columnIndex="9"
							format="int" >
							<description>B signal of 2nd sample in this record</description>
							<!--StandardVariable name="intensity"/-->
						</RecordVariable>
						<RecordVariable
							name="SignalC_2"
							longName="Signal C Sample 2"
							units="counts"	
							columnIndex="10"
							format="int" >
							<description>A signal of 2nd sample in this record</description>
							<!--StandardVariable name="temperature"/-->
						</RecordVariable>
						
						<RecordVariable
							name="Date_3"
							longName="Date of Sample 3"
							units="dd_mm_yy"	
							columnIndex="11"
							format="string"	>
							<description>date in dd/mm/yy format of 3rd sample in this record</description>
							<!--StandardVariable name="date"/-->
						</RecordVariable>
						<RecordVariable
							name="Time_3"
							longName="Time of Day 3"
							units="hh_mm_ss"	
							columnIndex="12"
							format="string"	>
							<description>time of day in hh:mm:ss format of 3rd sample in this record</description>
							<!--StandardVariable name="time"/-->
						</RecordVariable>
						<RecordVariable
							name="SignalA_3"
							longName="Signal A Sample 3"
							units="counts"	
							columnIndex="13"
							format="int" >
							<description>A signal of 3rd sample in this record</description>
							<StandardVariable name="intensity"/>
						</RecordVariable>
						<RecordVariable
							name="SignalB_3"
							longName="Signal B Sample 3"
							units="counts"	
							columnIndex="14"
							format="int" >
							<description>B signal of 3rd sample in this record</description>
							<StandardVariable name="intensity"/>
						</RecordVariable>
						<RecordVariable
							name="SignalC_3"
							longName="Signal C Sample 3"
							units="counts"	
							columnIndex="15"
							format="int" >
							<description>A signal of 3rd sample in this record</description>
							<StandardVariable name="temperature"/>
						</RecordVariable>
						
				     </RecordDescription>
			</DataStream>
		</output>
		<output>
			<DataStream>
				<description>Summary Wetlabs ECO Triplet Data Stream</description>
				<RecordDescription bufferStyle="ascii" 
					bufferLengthType="variable" 
					parseable="false" 
					recordType="1000">
					<RecordVariable 
						name="ECO_Triplet_summary" 
						longName="Summary ECO Triplet Data Record" 
						units="noUnits" 
						columnIndex="1" >
						<description>Summary packets for ECO Triplet variables in condensed XML format. Contents for each variable: 
							number of samples, average, max, min, and standard deviation.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  2 :

 
    Name: Default
   Owner: moos.devices.aanderaa.AanderaaO2:1444 key=5
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	221688

    Name: Default
   Owner: moos.devices.serialadc.PowerCan:1554 key=1
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	82913

    Name: Default
   Owner: moos.devices.seabird.SBE16plus:1533 key=9
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	267983

    Name: Default
   Owner: moos.devices.nortek.Aquadopp:1474 key=4
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	205088

    Name: Default
   Owner: moos.devices.msp430.MSP430:1527 key=7
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	69221

    Name: Default
   Owner: moos.devices.medusa.Medusa:1526 key=8
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	111303

    Name: Default
   Owner: moos.devices.wetlabs.WetLabsTriplet:1535 key=10
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	264515


0 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
644 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
645 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1638 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1639 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2196 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2197 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node1:/mnt/hda/siam/atp$ ./testport.sh  loc 2 3
node=//loc/node
port=3
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          2   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          1   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK         12   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         12   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         80   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         14   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
646 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
647 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1673 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1674 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2239 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2240 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  3 :
number of args: 2
SIAM version $Name: june09_2006 $
Aquadopp Current Meter s/n AQD1995:
parentID=1520, recordType=1
devid=1474, t=1150158790163, seqNo=1309, mdref=1297
nBytes=236
**v*6**#********0:*
*****!**(	********************************************************************************************************************|*~ulg[VSH?:1*`Vgspohd]RMGA=***}***{vjf]QJBdcddddddccca]YKcddcddddcb_b\QFddddddddddddca`rM
Parser not implemented.
Press any key to get most recent sample from instrument on port  3 :
SIAM version $Name: june09_2006 $
parentID=1520, recordType=1
devid=1474, t=1150158790163, seqNo=1309, mdref=1297
nBytes=236
**v*6**#********0:*
*****!**(	********************************************************************************************************************|*~ulg[VSH?:1*`Vgspohd]RMGA=***}***{vjf]QJBdcddddddccca]YKcddcddddcb_b\QFddddddddddddca`rM
Press any key to shutdown service on port  3 :
SIAM version $Name: june09_2006 $
Shutdown port /dev/ttySX3
Aquadopp shut down
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          6   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          2   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          1   0   0
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         12   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         81   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         14   0   0

Should now be no service on port  3
Press any key to load service on port  3 :
SIAM version $Name: june09_2006 $
Scan port /dev/ttySX3
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          2   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          1   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          0   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         12   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         87   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         15   0   0

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

parentID=1520, recordType=0
devid=1474, t=1150158920780, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
samplesPerSession=1
limitSamplesPerSession=true
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.nortek.Aquadopp$Attributes
summaryVars=amplitude-0 velocity-0 velocity-1 velocity-2 
logEnabled=true
serviceName=Aquadopp Current Meter s/n AQD1995
parentID=1520
maxSummarySamples=12
currentLimitMa=5000
burstMode=false
measurementIntervalSec=1
packetSetSize=10
safeMeasurementIntervalSec=300
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=-1
extendedVersion=UNK
frameworkVersion=$Name: june09_2006 $
errCacheLimit=5
UUID=6948ae30-b399-11da-a94d-0800200c9a66
powerPolicy=ALWAYS
timeSynch=false
maxSampleTries=3
avgIntervalSec=1
nBeams=3
isiID=1474
summaryIntervalSec=1
peakCurrentMa=5000
summaryTriggerCount=12
sampleTimeoutMsec=4000
nCells=15
commPowerPolicy=ALWAYS
serviceStatus=0
startDelayMsec=0
baud=19200
</SRVC_MD>
<SVP_MD>
isiID = 1474
serviceName = Aquadopp Current Meter s/n AQD1995
powerPolicy = always
commPowerPolicy = always
sampleSchedule = 300
summaryTriggerCount = 12
maxSummarySamples = 12
samplesPerSession=1
currentLimitMa = 5000
burstMode=false
defaultSkipInterval = -1
UUID = 6948ae30-b399-11da-a94d-0800200c9a66
</SVP_MD>
<DEV_MD>
AQD 1995        AQD 1995       
 < 
  gg1.03֥p    H6P 1695        -   0hh  >27 3P                                         M7G.yIKhls'6r'd 77z2%%x                  U'd                      !%  	   ( $                . MSE    T  0 A      w'  :::
;+;H;e;;;;;;<'<A<[<u<<<<<<
="=9=P=g=~====== >>)>=>Q>e>y>>>>>>>>??.???P?`?p??????????@@"@0@=@J@W@d@p@}@@@@@@@@@@@@AAAA)A2AN/A                                                                                                                                                                                     j
c               	    		  @        q q   q  qMMSE      p  v MSE      x  } MSE         MSE         MSE         MSE         MSE         MSE        |MSE       |3MSE      3 \QMSE      `Q 4SMSE      8S mMSE      m %%MSE      % %MSE      % FMSE      F KMSE      K afMSE      df gMSE      g iMSE      i |qMSE      q tTMSE      xT `MSE      ` `                                                                                                                                              o
<configSummary>instrumentConfig: id=0x0; totalWords=256
avgInterval=1; nCells=15; nBeams: 3; measurementInterval: 1
hardwareConfig: id=0x5; totalWords=24
serialNo=AQD 1995      ; boardConfig=0x6; hasRecorder=false; hasCompass=true; hasNewCompass=true; boardFreq=2000; picVers=13; hwVers=60; fwVers=1.03; recorderSize=161 MBytes
FAT:
MSE    ,NW,  xf7000  xf7600
MSE    ,NW,  xf7800  xf7d00
MSE    ,NW,  xf8000  xf9a00
MSE    ,NW,  xf9c00  xfb900
MSE    ,NW,  xfbc00  x118000
MSE    ,NW,  x118400  xfc8400
MSE    ,NW,  xfc8800  xfeec00
MSE    ,NW,  xfef000  x1147c00
MSE    ,NW,  x1148000  x1337c00
MSE    ,NW,  x1338000  x1515c00
MSE    ,NW,  x1516000  x1533400
MSE    ,NW,  x1533800  x16d0800
MSE    ,NW,  x16d0c00  x2251800
MSE    ,NW,  x2251c00  x225b000
MSE    ,NW,  x225b400  x2468000
MSE    ,NW,  x2468400  x24b9800
MSE    ,NW,  x24b9c00  x2666100
MSE    ,NW,  x2666400  x267f400
MSE    ,NW,  x267f800  x2699c00
MSE    ,NW,  x269a000  x4717c00
MSE    ,NW,  x4718000  x5547400
MSE    ,NW,  x5547800  x560d800
MSE    ,NW,  x560dc00  x560f800
(Empty)
(Empty)
(Empty)
(Empty)
(Empty)
(Empty)
(Empty)
(Empty)
(Empty)
recorder size: 168820736
capacity: 167809024
used: 89208576
available: 78600448

</configSummary>
</DEV_MD>
<DOC_MD>
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /home/cvs/puckxml/1474.xml,v 1.3 2006/05/26 18:29:06 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/05/26 18:29:06 $   -->

<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:noNamespaceSchemaLocation="http://ssds.mbari.org/xml/schema/SSDS_Metadata.xsd"
    majorVersion="2" minorVersion="1" 
	lastAuthor="$Author: graybeal $" lastUpdate="$Date: 2006/05/26 18:29:06 $">
	
	<Deployment role="instrument">
		<Device id="1474" name="Aquadopp Current Meter" type="Currents Sensor-ADCP" 
		mfgName="Nortek" mfgModel="Aquadopp 2MHz, 6000m (titanium) A6L" mfgSerialNumber="AQD1995"
		preferredDeploymentRole="Instrument">
			<description>Measures ocean current motions</description>
			<Person firstname="Karen" surname="Salamy" 
			organization="MBARI" email="salamy@mbari.org"/>
		</Device>
		
		<output>
			<DataStream>
				<description>ADCP Data Stream</description>
				<RecordDescription bufferStyle="binary" 
					bufferLengthType="variable" 
					parseable="false" 
					recordType="1">
				    <RecordVariable 
				    	name="ADCP_data" 
				    	longName="ADCP Binary Data Stream" 
				    	units="noUnits" 
				    	columnIndex="1" >
						<description>All of ADCP data output packed into binary string.  Must be decoded for use.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
		<output>
			<DataStream>
				<description>Summary ADCP Data Stream</description>
				<RecordDescription bufferStyle="ascii" 
					bufferLengthType="variable" 
					parseable="false" 
					recordType="1000">
					<RecordVariable 
						name="ADCP_summary" 
						longName="Summary ADCP Data Record" 
						units="noUnits" 
						columnIndex="1" >
						<description>Summary packets for ADCP variables in condensed XML format. Contents for each variable: 
							number of samples, average, max, min, and standard deviation.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  3 :

 
    Name: Default
   Owner: moos.devices.aanderaa.AanderaaO2:1444 key=5
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	43277

    Name: Default
   Owner: moos.devices.serialadc.PowerCan:1554 key=1
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	504502

    Name: Default
   Owner: moos.devices.seabird.SBE16plus:1533 key=9
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	89572

    Name: Default
   Owner: moos.devices.msp430.MSP430:1527 key=7
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	490815

    Name: Default
   Owner: moos.devices.nortek.Aquadopp:1474 key=11
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	243815

    Name: Default
   Owner: moos.devices.medusa.Medusa:1526 key=8
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	232893

    Name: Default
   Owner: moos.devices.wetlabs.WetLabsTriplet:1535 key=10
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	86105


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
644 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
646 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1671 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1672 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2238 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2240 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node1:/mnt/hda/siam/atp$ ./testport.sh  loc 3 4
node=//loc/node
port=4
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          2   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          1   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          1   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK         12   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         88   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         15   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
646 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1581 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1582 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2226 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2227 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  4 :
number of args: 2
SIAM version $Name: june09_2006 $
Aanderaa Optode s/n 601:
parentID=1520, recordType=1
devid=1444, t=1150158971155, seqNo=1065, mdref=1053
nBytes=91
MEASUREMENT	  3830	   601	Oxygen: 	   258.90	Saturation: 	    97.90	Temperature: 	    23.60
Parser not implemented.
Press any key to get most recent sample from instrument on port  4 :
SIAM version $Name: june09_2006 $
parentID=1520, recordType=1
devid=1444, t=1150158976597, seqNo=1068, mdref=1053
nBytes=91
MEASUREMENT	  3830	   601	Oxygen: 	   258.97	Saturation: 	    97.92	Temperature: 	    23.60
Press any key to shutdown service on port  4 :
SIAM version $Name: june09_2006 $
Shutdown port /dev/ttySX4
OK
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          2   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          1   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          1   0   0
/dev/ttySX4  -                                    -       -        -           
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         90   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         15   0   0

Should now be no service on port  4
Press any key to load service on port  4 :
SIAM version $Name: june09_2006 $
Scan port /dev/ttySX4
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          3   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          2   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          1   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK          1   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         95   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         15   0   0

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

parentID=1520, recordType=0
devid=1444, t=1150159057949, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.aanderaa.AanderaaO2$Attributes
summaryVars=Oxygen 
serviceName=Aanderaa Optode s/n 601
parentID=1520
maxSummarySamples=12
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=-1
extendedVersion=UNK
frameworkVersion=$Name: june09_2006 $
errCacheLimit=5
UUID=10fd0c17-2937-11da-80c8-00306e389969
powerPolicy=SAMPLING
timeSynch=false
maxSampleTries=3
isiID=1444
peakCurrentMa=5000
summaryTriggerCount=12
sampleTimeoutMsec=5000
commPowerPolicy=SAMPLING
serviceStatus=0
startDelayMsec=1000
</SRVC_MD>
<SVP_MD>
isiID = 1444
serviceName = Aanderaa Optode s/n 601
powerPolicy = sampling
commPowerPolicy = sampling
sampleSchedule = 300
summaryTriggerCount = 12
maxSummarySamples = 12
currentLimitMa = 3000
defaultSkipInterval = -1
UUID = 10fd0c17-2937-11da-80c8-00306e389969
</SVP_MD>
<DEV_MD>
Protect	  3830	   601	     0

PhaseCoef	  3830	   601	-2.764358E-01	 1.119282E+00	 0.000000E+00	 0.000000E+00

TempCoef	  3830	   601	 1.945693E+01	-3.107417E-02	 3.008730E-06	-4.214065E-09

FoilNo	  3830	   601	  4104

C0Coef	  3830	   601	 3.199840E+03	-1.119634E+02	 2.408296E+00	-2.248740E-02

C1Coef	  3830	   601	-1.744936E+02	 5.462500E+00	-1.244084E-01	 1.239153E-03

C2Coef	  3830	   601	 3.941711E+00	-1.086677E-01	 2.719839E-03	-2.906343E-05

C3Coef	  3830	   601	-4.220910E-02	 1.018155E-03	-2.905609E-05	 3.306610E-07

C4Coef	  3830	   601	 1.738870E-04	-3.637668E-06	 1.227403E-07	-1.468399E-09

Salinity	  3830	   601	 0.000000E+00

CalAirPhase	  3830	   601	 2.458615E+01

CalAirTemp	  3830	   601	 2.085245E+01

CalAirPressure	  3830	   601	 9.944000E+02

CalZeroPhase	  3830	   601	 6.047794E+01

CalZeroTemp	  3830	   601	 2.150228E+01

Interval	  3830	   601	     0

AnCoef	  3830	   601	 0.000000E+00	 1.000000E+00

Output	  3830	   601	     0

SoftwareVersion	  3830	   601	     3

SoftwareBuild	  3830	   601	     7


</DEV_MD>
<DOC_MD>
﻿<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /home/cvs/puckxml/1444.xml,v 1.4 2006/05/26 18:29:06 graybeal Exp $	-->
<!-- Last edited by $Author: graybeal $	$Date: 2006/05/26 18:29:06 $   -->

<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="http://ssds.mbari.org/xml/schema/SSDS_Metadata.xsd" 
	majorVersion="1" minorVersion="3" 
	lastAuthor="$Author: graybeal $" lastUpdate="$Date: 2006/05/26 18:29:06 $" >

	<Deployment role="instrument" >
		<Device	id="1444" name="Aanderraa Oxygen Optode" type="Oxygen Sensor"	
			mfgName="Anderraa Instruments" mfgModel="Oxygen Optode 3830" mfgSerialNumber="601"
			preferredDeploymentRole="instrument">
			<description>Aanderraa Oxygen Optode</description>
			<Person	firstname="Karen" surname="Salamy" organization="MBARI"
			email="salamy@mbari.org" phone="831-775-1820"/>
		</Device>
		
		<output>
			<DataStream>
				<description>Aanderraa Oxygen Optode data stream</description>

				<RecordDescription bufferStyle="ASCII"
					bufferParseType="ordered"
					bufferItemSeparator="space"
					bufferLengthType="variable"
					parseable="true" recordType="1">
	    
 	            <RecordVariable 
					     name="Measurement"
					     longName="MeasurementString" 
					     units="string"
					     columnIndex="1" format="string">
						<description>Just the word MEASUREMENT</description>
						<!--StandardVariable name="checkString"/-->
				</RecordVariable>

				<RecordVariable 
					     name="SensorModel"
					     longName="SensorModel" 
					     units="string"
					     columnIndex="2" format="string">
						<description>The model of the sensor reporting measurements</description>
						<!--StandardVariable name="checkString"/-->
				</RecordVariable>
				
				<RecordVariable 
					     name="SensorSerialNumber"
					     longName="SensorSerialNumber" 
					     units="string"
					     columnIndex="3" format="string">
						<description>The serial number of the sensor reporting measurements</description>
						<!--StandardVariable name="checkString"/-->
				</RecordVariable>
				
				<RecordVariable 
					     name="OxygenLabel"
					     longName="OxygenLabel" 
					     units="string"
					     columnIndex="4" format="string">
						<description>Just the word Oxygen:</description>
						<!--StandardVariable name="checkString"/-->
				</RecordVariable>
				
				<RecordVariable
						name="Oxygen"
						longName="Dissolved Oxygen"
						units="mmol/l"	
						columnIndex="5"
						format="float"	>
						<description>Dissolved oxygen concentration in mmol per liter</description>
						<StandardVariable name="moles_of_oxygen_per_unit_mass_in_sea_water"/>
				</RecordVariable>
				
				<RecordVariable 
					     name="SaturationLabel"
					     longName="SaturationLabel" 
					     units="string"
					     columnIndex="6" format="string">
						<description>Just the word Saturation:</description>
						<!--StandardVariable name="checkString"/-->
				</RecordVariable>
				
				<RecordVariable
						name="Air_Saturation"
						longName="Air Saturation"
						units="percent"	
						columnIndex="7"
						format="float"	>
						<description>Air saturation value</description>
						<!--StandardVariable name="OxygenAirSaturation"/-->
				</RecordVariable>
				
				<RecordVariable 
					     name="TemperatureLabel"
					     longName="TemperatureLabel" 
					     units="string"
					     columnIndex="8" format="string">
						<description>Just the word Temperature:</description>
						<!--StandardVariable name="checkString"/-->
				</RecordVariable>
				
				<RecordVariable
						name="Temperature"
						longName="Temperature"
						units="deg C"	
						columnIndex="9"
						format="float"	>
						<description>Temperature value</description>
						<!--StandardVariable name="Temperature"/-->
				</RecordVariable>

             </RecordDescription>
		   </DataStream>
		</output>
		<output>
			<DataStream>
				<description>Summary Oxygen Optode Data Stream</description>
				<RecordDescription bufferStyle="ascii" 
					bufferLengthType="variable" 
					parseable="false" 
					recordType="1000">
					<RecordVariable 
						name="Oxygen_optode_summary" 
						longName="Summary Oxygen Optode Data Record" 
						units="noUnits" 
						columnIndex="1" >
						<description>Summary packets for Oxygen Optode variables in condensed XML format. Contents for each variable: 
							number of samples, average, max, min, and standard deviation.</description>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

Press any key to show schedule for instrument on  4 :

 
    Name: Default
   Owner: moos.devices.serialadc.PowerCan:1554 key=1
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	367408

    Name: Default
   Owner: moos.devices.seabird.SBE16plus:1533 key=9
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	252479

    Name: Default
   Owner: moos.devices.msp430.MSP430:1527 key=7
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	353721

    Name: Default
   Owner: moos.devices.nortek.Aquadopp:1474 key=11
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	106721

    Name: Default
   Owner: moos.devices.medusa.Medusa:1526 key=8
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	95799

    Name: Default
   Owner: moos.devices.aanderaa.AanderaaO2:1444 key=12
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	267427

    Name: Default
   Owner: moos.devices.wetlabs.WetLabsTriplet:1535 key=10
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	249007


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)...
1743 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1744 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2332 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2332 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node1:/mnt/hda/siam/atp$ ./testport.sh  loc 4[K15
node=//loc/node
port=15
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          3   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          2   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          1   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK          1   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK         96   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         15   0   0

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)...
1731 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1732 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.1, port=1025, server host=loc
2308 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Press any key to sample instrument on port  15 :
number of args: 2
SIAM version $Name: june09_2006 $
MSP430 (sidearm4.01):
parentID=1520, recordType=1
devid=1527, t=1150159103411, seqNo=492, mdref=486
nBytes=75
$PEDATA, P830.85, T36.20, H13.06, GFL0.28, GFH-0.13, C216.54, TC0.00, *3699
press: 830.85 millibar
tmprt: 36.2 deg C
humid: 13.06 rel %
GF-low: 0.28 microAmps
GF-high: -0.13 microAmps
heading: 216.54 deg
nTurns: 0 turns
Press any key to get most recent sample from instrument on port  15 :
SIAM version $Name: june09_2006 $
parentID=1520, recordType=1
devid=1527, t=1150159103411, seqNo=492, mdref=486
nBytes=75
$PEDATA, P830.85, T36.20, H13.06, GFL0.28, GFH-0.13, C216.54, TC0.00, *3699
Press any key to shutdown service on port  15 :
SIAM version $Name: june09_2006 $
Shutdown port /dev/ttySX15
OK
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          3   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          2   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          1   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK          1   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 -                                    -       -        -           
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         15   0   0

Should now be no service on port  15
Press any key to load service on port  15 :
SIAM version $Name: june09_2006 $
Scan port /dev/ttySX15
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          3   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          2   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          1   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK          1   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK          1   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         15   0   0

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

parentID=1520, recordType=0
devid=1527, t=1150159167446, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.msp430.MSP430$Attributes
serviceName=MSP430 (sidearm4.01)
parentID=1520
maxSummarySamples=0
currentLimitMa=3000
turnsSetpoint=0
packetSetSize=10
sampleSchedule=R */0 */10 */0 */0 * * * * GMT *
setTurns=false
defaultSkipInterval=0
extendedVersion=UNK
frameworkVersion=$Name: june09_2006 $
errCacheLimit=5
UUID=06a3a666-a8c6-11da-bb39-00306e389969
powerPolicy=ALWAYS
timeSynch=false
maxSampleTries=3
isiID=1527
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=10000
commPowerPolicy=ALWAYS
serviceStatus=0
startDelayMsec=500
</SRVC_MD>
<SVP_MD>
isiID = 1527
serviceName = MSP430 (sidearm4.01)
currentLimitMa = 3000
sampleSchedule = 600
UUID = 06a3a666-a8c6-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/1527.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="1527" name="SideARM MSP430" type="Environment Monitor-System" 
			mfgName="MBARI" mfgModel="MSP430" mfgSerialNumber="4.01" 
			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="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"  
						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  15 :

 
    Name: Default
   Owner: moos.devices.serialadc.PowerCan:1554 key=1
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	258008

    Name: Default
   Owner: moos.devices.seabird.SBE16plus:1533 key=9
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	143078

    Name: Default
   Owner: moos.devices.nortek.Aquadopp:1474 key=11
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Executing	-

    Name: Default
   Owner: moos.devices.medusa.Medusa:1526 key=8
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	286404

    Name: Default
   Owner: moos.devices.msp430.MSP430:1527 key=13
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	567159

    Name: Default
   Owner: moos.devices.aanderaa.AanderaaO2:1444 key=12
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	158024

    Name: Default
   Owner: moos.devices.wetlabs.WetLabsTriplet:1535 key=10
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	139602


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)...
1672 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1673 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2261 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2262 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node1:/mnt/hda/siam/atp$ ./testport.sh  loc 15  /dev/ttySA2
node=//loc/node
port=/dev/ttySA2
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          3   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          2   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          2   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK          1   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK          3   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    OK         16   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
646 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
647 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1685 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1686 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2240 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2241 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: june09_2006 $
Medusa card s/n 2.008:
parentID=1520, recordType=1
devid=1526, t=1150159212879, seqNo=965, mdref=953
nBytes=200
 

-> channel=0, temp=57.88, vcc=3.2110, txBiasI=4.5216, txPower=-2.5507, rxPower=-36.4687, status=0x2

channel=3, temp=54.52, vcc=3.2074, txBiasI=2.8926, txPower=-2.4703, rxPower=-99.9999, status=0x2
Parser not implemented.
Press any key to get most recent sample from instrument on port  /dev/ttySA2 :
SIAM version $Name: june09_2006 $
parentID=1520, recordType=1
devid=1526, t=1150159212879, seqNo=965, mdref=953
nBytes=200
 

-> channel=0, temp=57.88, vcc=3.2110, txBiasI=4.5216, txPower=-2.5507, rxPower=-36.4687, status=0x2

channel=3, temp=54.52, vcc=3.2074, txBiasI=2.8926, txPower=-2.4703, rxPower=-99.9999, status=0x2
Press any key to shutdown service on port  /dev/ttySA2 :
SIAM version $Name: june09_2006 $
Shutdown port /dev/ttySA2
OK
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          3   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          2   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          2   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK          1   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK          4   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: june09_2006 $
Scan port /dev/ttySA2
SIAM version $Name: june09_2006 $
Node 1520 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX13 400-12V Switch s/n 1.02              1554    OK          7   0   0
/dev/ttySX1  Seabird-SBE-16+ s/n 16P41561-4952    1533    OK          3   0   0
/dev/ttySX2  WETLabs ECO-Triplet s/n WL-30010     1535    OK          2   0   0
/dev/ttySX3  Aquadopp Current Meter s/n AQD1995   1474    OK          2   0   0
/dev/ttySX4  Aanderaa Optode s/n 601              1444    OK          1   0   0
/dev/ttySX5  -                                    -       -        -           
/dev/ttySX6  -                                    -       -        -           
/dev/ttySX7  -                                    -       -        -           
/dev/ttySX8  -                                    -       -        -           
/dev/ttySX9  -                                    -       -        -           
/dev/ttySX10 -                                    -       -        -           
/dev/ttySX11 -                                    -       -        -           
/dev/ttySX15 MSP430 (sidearm4.01)                 1527    OK          7   0   0
/dev/ttySA2  Medusa card s/n 2.008                1526    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=1520, recordType=0
devid=1526, t=1150159322762, 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=1520
maxSummarySamples=0
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=0
extendedVersion=UNK
frameworkVersion=$Name: june09_2006 $
errCacheLimit=5
UUID=3192f8e5-a8c5-11da-bb39-00306e389969
powerPolicy=NEVER
timeSynch=false
maxSampleTries=3
isiID=1526
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=1000
commPowerPolicy=NEVER
serviceStatus=0
startDelayMsec=2000
</SRVC_MD>
<SVP_MD>
isiID = 1526
serviceName = Medusa card s/n 2.008
currentLimitMa = 3000
UUID = 3192f8e5-a8c5-11da-bb39-00306e389969
</SVP_MD>
<DEV_MD>
META:
CPU MAC address: 00:0c:6a:01:02:05

CPU IP address: 134.89.36.55

CPU IP netmask: 255.255.0.0

CPU IP gateway: 134.89.36.200

SideARM IP address: 134.89.36.1

Medusa serial number: 2.05

Medusa ECO level: B

Firmware build: v2.50 [May 17 2006 11:00:10]

Toolchain: Rowley gcc 3.4.4

Trunk Failovers: 22 33

Backplane wakeup interrupts: 0

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

F  0     up      normal    normal   enabled   LHB FAIL   119     0

F  1    down    pwr save  pwr off   disabled  LHB FAIL     0     0

F  2    down    pwr save  pwr off   disabled  LHB FAIL     0     0

F  3     up      normal    normal   enabled   LHB FAIL    38     0

C  4     up      normal      ---    disabled  port up      0     0

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

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

nvshow: firstDataPg[33] numData[32] configCrc16[ff42]



Item  0 [serial]:	0000: 32 2e 30 35 

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

Item  2 [ecolevel]:	0000: 42 

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

Item  4 [saipaddr]:	0000: 86 59 24 01 

Trunk 0 failed over to port 1 from failed port 0

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

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

Item  7 [port0]:	0000: 08 

Item  8 [port1]:	0000: 09 

Item  9 [port4]:	0000: 01 

Item 10 [port2]:	0000: 08 

Item 11 [port3]:	0000: 09 

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

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

Item 14 [lhbage]:	0000: 2c 01 00 00

UIPSTAT:
uipstat: IP Packets Rx[30] 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[14183] rxFrame[60] ctrl1[14123] ctrl2[0] reset[0]

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

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

SFPDIAG:
channel=1, temp=49.42, vcc=3.2130, txBiasI=2.8550, txPower=-2.7144, rxPower=-99.9999, status=0x2

channel=3, temp=57.14, vcc=3.2066, txBiasI=2.9825, txPower=-2.4787, rxPower=-99.9999, status=0x2
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[1572864]

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

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

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

 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/1526.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="1526" name="Medusa Board" type="Communication" 
			mfgName="MBARI" mfgModel="Medusa" mfgSerialNumber="2.008" 
			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 :
1 [main] ERROR moos.operations.utils.ShowSchedule  - ShowSchedule: lookAhead value undefined or invalid; using default (3600)

 
    Name: Default
   Owner: moos.devices.medusa.Medusa:1526 key=14
Schedule: R */0 */5 */0 */0 * * * * GMT *
  Status: Waiting	216993


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
643 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
644 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
1685 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
1686 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2247 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.1, port=1025, server host=loc
2249 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
node1:/mnt/hda/siam/atp$ 