node=//surface/node
port=/dev/ttySA2
SIAM version $Name: june08_2006-3 $
/dev/ttySX0  Mooring power can s/n 2              1547    OK         86   6  24
/dev/ttySX1  Snubber Node Power Control           1502    OK         16   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK         14   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    OK          1   0   0
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SLEEPING   32   0   0
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK         12   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK         12   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK         11   0   0
/dev/ttySX10 Workhorse LR ADCP 75kHz s/n 4164     1294    OK         16   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK          9   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK         10   0   0
/dev/ttySA2  Medusa card s/n 2.007                1441    OK         12   0   0

1 DEBUG  NodeUtility [main]: getNodeURL(): input=//surface/node
Looking for node server stub at rmi://surface/node
849 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=surface, port=1099, server host=surface
852 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
2016 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=surface
2018 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2641 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=surface
2644 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: june08_2006-3 $
Medusa card s/n 2.007:
parentID=1446, recordType=1
devid=1441, t=1149886029495, seqNo=187, mdref=174
nBytes=200
 
-> channel=1, temp=50.99, vcc=3.2158, txBiasI=2.9419, txPower=-1.7644, rxPower=-10.9897, status=0x0
channel=2, temp=52.08, vcc=3.2218, txBiasI=3.8694, txPower=-2.6658, rxPower=-11.5872, status=0x0
Press any key to get most recent sample from instrument on port  /dev/ttySA2 :SIAM version $Name: june08_2006-3 $
parentID=1446, recordType=1
devid=1441, t=1149886029495, seqNo=187, mdref=174
nBytes=200
 
-> channel=1, temp=50.99, vcc=3.2158, txBiasI=2.9419, txPower=-1.7644, rxPower=-10.9897, status=0x0
channel=2, temp=52.08, vcc=3.2218, txBiasI=3.8694, txPower=-2.6658, rxPower=-11.5872, status=0x0
Press any key to shutdown service on port  /dev/ttySA2 :SIAM version $Name: june08_2006-3 $
Shutdown port /dev/ttySA2
OK
SIAM version $Name: june08_2006-3 $
/dev/ttySX0  Mooring power can s/n 2              1547    OK         86   6  24
/dev/ttySX1  Snubber Node Power Control           1502    OK         16   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK         14   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    OK          1   0   0
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SLEEPING   32   0   0
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK         12   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK         12   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK         11   0   0
/dev/ttySX10 Workhorse LR ADCP 75kHz s/n 4164     1294    OK         16   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK          9   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK         12   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: june08_2006-3 $
Scan port /dev/ttySA2
SIAM version $Name: june08_2006-3 $
/dev/ttySX0  Mooring power can s/n 2              1547    OK         86   6  24
/dev/ttySX1  Snubber Node Power Control           1502    OK         16   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK         14   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    OK          1   0   0
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SLEEPING   32   0   0
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK         12   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK         12   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK         11   0   0
/dev/ttySX10 Workhorse LR ADCP 75kHz s/n 4164     1294    OK         16   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK          9   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK         15   0   0
/dev/ttySA2  Medusa card s/n 2.007                1441    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://surface/node
Got proxy for node service "moos.deployed.NodeService"
Requesting packet...components = 0x1f
Packet received:

parentID=1446, recordType=0
devid=1441, t=1149886153639, seqNo=0, mdref=0
 cause=just checking
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=org.mbari.isi.interfaces.InstrumentServiceAttributes
serviceName=Medusa card s/n 2.007
parentID=1446
maxSummarySamples=0
currentLimitMa=3000
packetSetSize=10
sampleSchedule=R */0 */5 */0 */0 * * * * GMT *
defaultSkipInterval=0
extendedVersion=UNK
frameworkVersion=$Name: june08_2006-3 $
errCacheLimit=5
UUID=e052be35-e4db-11d9-b8bc-00306e389969
powerPolicy=NEVER
timeSynch=false
maxSampleTries=3
isiID=1441
peakCurrentMa=5000
summaryTriggerCount=0
sampleTimeoutMsec=1000
commPowerPolicy=NEVER
serviceStatus=0
startDelayMsec=2000
</SRVC_MD>
<SVP_MD>
isiID = 1441
serviceName = Medusa card s/n 2.007
currentLimitMa = 3000
UUID = e052be35-e4db-11d9-b8bc-00306e389969
</SVP_MD>
<DEV_MD>
META:
CPU MAC address: 00:0c:6a:01:02:07
CPU IP address: 134.89.36.57
CPU IP netmask: 255.255.0.0
CPU IP gateway: 134.89.36.200
SideARM IP address: 134.89.36.200
Medusa serial number: 2.007
Medusa ECO level: B
Firmware build: v2.50 [May 17 2006 11:00:10]
Toolchain: Rowley gcc 3.4.4
Trunk Failovers: 34 0
Backplane wakeup interrupts: 9371

PORTS:
Port   Status   PHY Stat  Optical   LHB Stat  Last Evt  Fail  LHB OK
F  0    down    pwr save  pwr off   disabled  LHB FAIL     0     0
F  1     up      normal    normal   enabled    LHB OK      0  5876
F  2     up      normal   unknown   disabled  port up      0     0
F  3  unknown   pwr save  pwr off   disabled  no event     0     0
C  4     up      normal      ---    disabled  no event     0     0
C  5     up      normal      ---    disabled  port up      0     0

NVSHOW:
nvshow: sig[cf] ver[01] firstItemPg[1] numItem[16]
nvshow: firstDataPg[17] numData[16] configCrc16[f9b2]

Item  0 [macaddr]:	0000: 00 0c 6a 01 02 07 
Item  1 [ipaddr]:	0000: 86 59 24 39 
Item  2 [gateway]:	0000: 86 59 24 c8 
Item  3 [netmask]:	0000: ff ff 00 00 
Item  4 [saipaddr]:	0000: 86 59 24 c8 
Item  5 [serial]:	0000: 32 2e 30 30 37 
Item  6 [ecolevel]:	0000: 42 
Item  7 [trunk0]:	0000: 01 00 01 03 
Item  8 [port0]:	0000: 09 
Item  9 [port1]:	0000: 08

UIPSTAT:
uipstat: IP Packets Rx[10751] 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[36455] rxFrame[21645] ctrl1[14810] ctrl2[0] reset[0]

U0STAT:
u0stat: maxTx[256] maxRx[6] maxIsrPass[2]
u0stat: txDrop[0] rxDrop[0] spurInt[0] lsrInt[0]

SFPDIAG:
channel=1, temp=50.96, vcc=3.2164, txBiasI=2.9680, txPower=-1.7591, rxPower=-10.9717, status=0x0
channel=2, temp=52.09, vcc=3.2196, txBiasI=3.8636, txPower=-2.6759, rxPower=-11.6848, status=0x0
SHOWSTATS[0]:

--- Zarlink port stats for port [0] ---
  TX: bytes[0 0]  unicastFrame[0]  frameTxFail[0]
  RX: bytes[0 0]  frames[0 0]  totalBytes[0 0]  totalFrames[0]
  RX: mcastFrames[0]  bcastFrames[0]  flowCtrlFrames[0]
 ERR: align[0]  runt[0]  crc[0]  shortEvent[0]
FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[1179648]
 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[2 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[192806912]
 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[768]  flowCtrlSent[0]
 PKT: len64[0]  len65-127[0]  jabber[0]  oversize[0]
 LEN: 128-255[0]  256-511[0]  512-1023[0]  1024-1522[0]
OOPS: fragment[0]  dropped[0]  filterCount[0]  delayExceedDiscard[0]
SHOWSTATS[3]:

--- Zarlink port stats for port [3] ---
  TX: bytes[0 0]  unicastFrame[0]  frameTxFail[0]
  RX: bytes[0 0]  frames[0 0]  totalBytes[0 0]  totalFrames[0]
  RX: mcastFrames[0]  bcastFrames[0]  flowCtrlFrames[0]
 ERR: align[0]  runt[0]  crc[0]  shortEvent[0]
FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[0]
 PKT: len64[0]  len65-127[0]  jabber[0]  oversize[0]
 LEN: 128-255[0]  256-511[0]  512-1023[0]  1024-1522[0]
OOPS: fragment[0]  dropped[0]  filterCount[0]  delayExceedDiscard[0]
SHOWSTATS[4]:

--- Zarlink port stats for port [4] ---
  TX: bytes[0 0]  unicastFrame[0]  frameTxFail[0]
  RX: bytes[0 0]  frames[0 0]  totalBytes[0 0]  totalFrames[0]
  RX: mcastFrames[0]  bcastFrames[0]  flowCtrlFrames[0]
 ERR: align[0]  runt[0]  crc[0]  shortEvent[0]
FLOW: flowCtrlFramesRecv[0]  flowCtrlSent[0]
 PKT: len64[0]  len65-127[0]  jabber[0]  oversize[0]
 LEN: 128-255[0]  256-511[0]  512-1023[0]  1024-1522[0]
OOPS: fragment[0]  dropped[0]  filterCount[0]  delayExceedDiscard[0]
SHOWSTATS[5]:

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

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

</DOC_MD>

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

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


1 DEBUG  NodeUtility [main]: getNodeURL(): input=//surface/node
Looking for node server stub at rmi://surface/node
736 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=surface, port=1099, server host=surface
740 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
2040 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=surface
2041 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Got proxy for node service "moos.deployed.NodeService"
2712 DEBUG  SiamSocketFactory [main]: SiamSocketFactory.createSocket() - host=134.89.36.200, port=1025, server host=surface
2713 DEBUG  SiamSocketFactory [main]: return new Socket(host, port)...
Test complete.
