date
Sat Oct 21 03:08:04 UTC 2006
node11:/mnt/hda/siam$ atp/testport.sh loc /dev/tySX   tySX15
node=//loc/node
port=/dev/ttySX15
SIAM version $Name: october20_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1593    BIN 400-12V Switch s/n 1.04          OK         26   3  22
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING 1149   0   2
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     SAMPLING 1332   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING 5426   3   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING 1706   0  29
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   2   2
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1549    WH Sentinel ADCP 300kHz s/n 2025     SAMPLING  206   0   0
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 OK       10417   0   4
/dev/ttySA2  1596    Medusa card s/n 2.008                OK         54   0   1

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//loc/node
Looking for node server stub at rmi://loc/node
887 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=loc, port=1099, server host=loc
888 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
2596 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
2597 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
3617 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.11, port=1025, server host=loc
3618 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: october20_2006-2 $
MSP430 (sidearm4.11):
parentID=1522, recordType=1
devid=1523, t=1161400197073, seqNo=259, mdref=232
nBytes=75
$PEDATA, P1024.51, T30.69, H53.26, GFL0.00, GFH0.00, C261.18, TC0.00, *3690
press: 1024.51 millibar
tmprt: 30.69 deg C
humid: 53.26 rel %
GF-low: 0 microAmps
GF-high: 0 microAmps
heading: 261.18 deg
nTurns: 0 turns
Press any key to get most recent sample from instrument on port  /dev/ttySX15 :
SIAM version $Name: october20_2006-2 $
parentID=1522, recordType=1
devid=1523, t=1161400206467, seqNo=259, mdref=232
nBytes=75
$PEDATA, P1023.43, T30.70, H53.30, GFL0.00, GFH0.00, C262.30, TC0.00, *3672
Press any key to suspend service on port  /dev/ttySX15 :
SIAM version $Name: october20_2006-2 $
SIAM version $Name: october20_2006-2 $
Node 1522 has 14 ports

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1593    BIN 400-12V Switch s/n 1.04          OK         26   3  22
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING 1158   0   2
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     SAMPLING 1344   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING 5455   3   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING 1718   0  30
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   2   2
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1549    WH Sentinel ADCP 300kHz s/n 2025     SAMPLING  207   1   1
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 ERROR    10467  14  46
/dev/ttySA2  1596    Medusa card s/n 2.008                OK         54   0   1

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

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1593    BIN 400-12V Switch s/n 1.04          OK         26   3  22
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING 1161   0   2
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK       1348   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   SAMPLING 5464   3   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              OK       1722   0  30
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   2   2
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1549    WH Sentinel ADCP 300kHz s/n 2025     OK        208   1   1
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SAMPLING 10475  25  79
/dev/ttySA2  1596    Medusa card s/n 2.008                OK         54   0   1

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

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1593    BIN 400-12V Switch s/n 1.04          OK         27   3  22
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING 1165   0   2
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     SAMPLING 1352   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   OK       5478   3   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              SAMPLING 1726   0  30
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   2   2
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1549    WH Sentinel ADCP 300kHz s/n 2025     OK        209   1   1
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 -       -                                    -        -           
/dev/ttySA2  1596    Medusa card s/n 2.008                OK         55   0   1

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

Port name    ISI-ID  Service                              Status    S  : E : R 
---------    ------  -------                              ------   ----------- 
/dev/ttySX13 1593    BIN 400-12V Switch s/n 1.04          OK         27   3  22
/dev/ttySX1  1534    Seabird-37SM s/n 37SM30960-2765      SAMPLING 1170   0   2
/dev/ttySX2  1537    WETLabs ECO-Triplet s/n WL-30011     OK       1357   0   0
/dev/ttySX3  1473    Aquadopp Current Meter s/n AQD1997   OK       5497   3   0
/dev/ttySX4  1445    Aanderaa Optode s/n 605              OK       1731   0  30
/dev/ttySX5  1510    McLane Profiler s/n 001              ERROR       0   2   2
/dev/ttySX6  -       -                                    -        -           
/dev/ttySX7  1549    WH Sentinel ADCP 300kHz s/n 2025     OK        210   1   1
/dev/ttySX8  -       -                                    -        -           
/dev/ttySX9  -       -                                    -        -           
/dev/ttySX10 -       -                                    -        -           
/dev/ttySX11 -       -                                    -        -           
/dev/ttySX15 1523    MSP430 (sidearm4.11)                 SAMPLING   14   0   0
/dev/ttySA2  1596    Medusa card s/n 2.008                OK         55   0   1

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

parentID=1522, recordType=0
devid=1523, t=1161400423759, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.msp430.MSP430$Attributes
serviceName=MSP430 (sidearm4.11)
parentID=1522
maxSummarySamples=0
currentLimitMa=3000
turnsSetpoint=0
packetSetSize=10
sampleSchedule=R */0 */10 */0 */0 * * * * GMT *
setTurns=false
defaultSkipInterval=0
extendedVersion=UNK
frameworkVersion=$Name: october20_2006-2 $
errCacheLimit=5
UUID=b1e23372-a5a1-11da-bb39-00306e389969
powerPolicy=ALWAYS
timeSynch=false
maxSampleTries=3
isiID=1523
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=10000
commPowerPolicy=ALWAYS
serviceStatus=0
startDelayMsec=500
</SRVC_MD>
<SVP_MD>
isiID = 1523
serviceName = MSP430 (sidearm4.11)
currentLimitMa = 3000
sampleSchedule = 600
UUID = b1e23372-a5a1-11da-bb39-00306e389969
</SVP_MD>
<DEV_MD>
$PSID, V2.3.1-Q [Mar 12 2004], *1811




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


$PAMASK, 00, *729




$PALARM, 00, *729





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

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

	<Deployment role="instrument" >
		<Device id="1523" name="SideARM MSP430" type="Controller" mfgName="MBARI" mfgModel="MSP430" mfgSerialNumber="4.11" 
		preferredDeploymentRole="instrument">
			<description>environmental signal processor</description>
			<Person firstname="Lance" surname="McBride" organization="MBARI" 
			email="lance@mbari.org" phone="831-775-2046"/>
		</Device>
		
		<output>
			<DataStream>
				<description>MSP 430 environmental data stream</description>
			
				<RecordDescription bufferStyle="ASCII" 
				bufferParseType="ordered"   
				bufferItemSeparator="," 
				bufferLengthType="fixed"  
				parseable="1" recordType="1">
					<!-- Sample Record: 
						$PEDATA, P1024.01, T26.71, H37.10, GFL0.38, GFH-0.28, C338.20, TC0.00, *3742 
					-->
					
					<RecordVariable 
						name="RecordStatus" 
						longName="Status of MSP Record" 
						units="noUnits"  
						columnIndex="1" 
						format="string">
							<description>tag string at beginning of data</description>
							<StandardVariable name="checkString"/>
					</RecordVariable>
					<RecordVariable 
						name="Pressure" 
						longName="Pressure Inside MMC Can" 
						units="millibars" referenceScale="TBD" 
						columnIndex="2" 
						format="double" parseRegExp="P(\d+\.\d+)" 
						validMin="0.0" validMax="5000.0" >
							<description>atmospheric pressure measured inside the MMC controller pressure housing</description>
							<StandardVariable name="pressure"/>
					</RecordVariable>
					<RecordVariable 
						name="Temperature" 
						longName="Temperature Inside MMC Can" 
						units="degrees C" referenceScale="none" 
						columnIndex="3" 
						format="double" parseRegExp="T(\d+\.\d+)" >
							<description>temperature measured inside the MMC controller pressure housing</description>
							<StandardVariable name="temperature"/>
					</RecordVariable>
					<RecordVariable 
						name="Humidity" 
						longName="Relative Humidity Inside Can" 
						units="percent" referenceScale="TBD" 
						columnIndex="4" 
						format="double" parseRegExp="H(\d+\.\d+)" 
						validMin="0.0" validMax="100.0" >
							<description>relative humidity measured inside the MMC controller pressure housing</description>
							<StandardVariable name="humidity"/>
					</RecordVariable>
					<RecordVariable
						name="Ground Fault Low" 
						longName="Ground Fault Low Voltage" 
						units="volts" referenceScale="tbd" 
						columnIndex="5" 
						format="double" parseRegExp="GFL(-*\d+\.\d+)" >
							<description>ground fault voltage measured on low voltage circuit</description>
					</RecordVariable>
					<RecordVariable
						name="Ground Fault High" 
						longName="Ground Fault High Voltage" 
						units="volts" referenceScale="TBD" 
						columnIndex="6" 
						format="double" parseRegExp="GFH(-*\d+\.\d+)" 
						validMin="0.0" validMax="240.0" >
							<description>ground fault voltage measured on high voltage circuit</description>
							<StandardVariable name="longitude"/>
					</RecordVariable>
					<RecordVariable 
						name="Compass Heading" 
						longName="Heading per Environmental Compass" 
						units="degrees" referenceScale="trueNorth(?)" 
						columnIndex="7" 
						format="double" parseRegExp="C(\d+\.\d+)" 
						validMin="0.0" validMax="360.0" >
							<description>Heading measured by the compass on the MSP430</description>
							<StandardVariable name="heading"/>
					</RecordVariable>
					<RecordVariable 
						name="Compass Turns Count" 
						longName="Number of Compass Turns Since Reset" 
						units="totalCount" referenceScale="TBD" 
						columnIndex="8" 
						format="int" parseRegExp="TC(-*\d+\.\d+)" >
							<description>Accumulated number of turns measured by the Compass Heading since the last reset.  (Positive = clockwise, negative = counter-clockwise.)</description>
							<StandardVariable name="count"/>
					</RecordVariable>
					<RecordVariable 
						name="CheckSum" 
						longName="checksum of data packet" 
						units="tbd" referenceScale="tbd" 
						columnIndex="9" 
						format="int" parseRegExp="\*(\d+)" >
							<description>checksum</description>
							<StandardVariable name="checksum"/>
					</RecordVariable>
				</RecordDescription>
			</DataStream>
		</output>
	</Deployment>
</Metadata>

</DOC_MD>

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

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


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