listp Ports
SIAM version $Name: march14_2006 $
Invalid usage:
usage: PortLister nodeURL [-stats]
surface:/mnt/hda/siam/logs$ listPorts - loc stats
SIAM version $Name: march14_2006 $
Invalid option: moos.operations.utils.NodeUtility$InvalidOption: unknown option
usage: PortLister nodeURL [-stats]
surface:/mnt/hda/siam/logs$ date
Fri Mar 17 01:03:25 UTC 2006
surface:/mnt/hda/siam/logs$ datelistPorts loc stats-stats
SIAM version $Name: march14_2006 $
Node 1446 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX0  Mooring power can s/n 002            1322    OK        267   1   3
/dev/ttySX1  Snubber Node Power Control           1502    OK         45   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK        268   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    ERROR       0   1   0
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SLEEPING   90   7   7
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK        268   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK        268   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK        268   0   0
/dev/ttySX10 Workhorse LR ADCP 300kHz s/n 4164    1294    OK         45   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK        267   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK       2645   1   4
/dev/ttySA2  Medusa card s/n 2.007                1441    OK        533   0   0

surface:/mnt/hda/siam/logs$ ls bin
CVS/  arm-linux/  x86-linux/  x86-win32/
surface:/mnt/hda/siam$ cd bin/arm-linux/
surface:/mnt/hda/siam/bin/arm-linux$ ls
CVS/		cygwin*   rconsole*  sa1100gpio.o*   setrts*
commandRunner*	ethaddr*  rdate*     sa1100lddio.o*  stip*
console*	ipaddr*   ricohRTC*  sa1100spi.o*
surface:/mnt/hda/siam/bin/arm-linux$ cd ../atp
bash: cd: ../atp: No such file or directory
surface:/mnt/hda/siam/bin/arm-linux$ cd ../../
surface:/mnt/hda/siam$ cd atp/
surface:/mnt/hda/siam/atp$ ls
CVS/  atp1*  atp1.sh  ssds-siam/  testport*  testport.sh
surface:/mnt/hda/siam/atp$ ls -l
total 24
drwxrwxr-x    2 ops      root         4096 Feb  2 19:38 CVS/
-rwxrwxr-x    1 ops      root         2724 Aug 29  2005 atp1*
-rw-rw-r--    1 ops      root         2746 Aug 29  2005 atp1.sh
drwxrwxr-x    3 ops      root         4096 Mar 15 04:05 ssds-siam/
-rwxrwxr-x    1 ops      root         1307 May 12  2004 testport*
-rw-rw-r--    1 ops      root         1282 Aug 24  2005 testport.sh
surface:/mnt/hda/siam/atp$ chmod 775 testport.sh 
surface:/mnt/hda/siam/atp$ chmod 775 testport.sh ls -l[K
total 24
drwxrwxr-x    2 ops      root         4096 Feb  2 19:38 CVS/
-rwxrwxr-x    1 ops      root         2724 Aug 29  2005 atp1*
-rw-rw-r--    1 ops      root         2746 Aug 29  2005 atp1.sh
drwxrwxr-x    3 ops      root         4096 Mar 15 04:05 ssds-siam/
-rwxrwxr-x    1 ops      root         1307 May 12  2004 testport*
-rwxrwxr-x    1 ops      root         1282 Aug 24  2005 testport.sh*
surface:/mnt/hda/siam/atp$ testport.sh             listp
SIAM version $Name: march14_2006 $
Node 1446 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX0  Mooring power can s/n 002            1322    OK        273   1   3
/dev/ttySX1  Snubber Node Power Control           1502    OK         46   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK        274   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    ERROR       0   2   3
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SAMPLING   92   7   7
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK        274   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK        274   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK        274   0   0
/dev/ttySX10 Workhorse LR ADCP 300kHz s/n 4164    1294    OK         46   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK        273   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK       2704   1   4
/dev/ttySA2  Medusa card s/n 2.007                1441    OK        545   0   0


surface:/mnt/hda/siam/atp$ testports .sh loc /dev/ttySX0
node=//loc/node
port=/dev/ttySX0
SIAM version $Name: march14_2006 $
Node 1446 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX0  Mooring power can s/n 002            1322    OK        273   1   3
/dev/ttySX1  Snubber Node Power Control           1502    OK         46   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK        274   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    ERROR       0   2   3
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SAMPLING   93   7   7
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK        274   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK        274   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK        274   0   0
/dev/ttySX10 Workhorse LR ADCP 300kHz s/n 4164    1294    OK         46   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK        273   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK       2705   1   4
/dev/ttySA2  Medusa card s/n 2.007                1441    OK        545   0   0

Press any key to sample instrument on port  /dev/ttySX0 :
number of args: 2
SIAM version $Name: march14_2006 $
Mooring power can s/n 002:
parentID=1446, recordType=1
devid=1322, t=1142561042222, seqNo=427, mdref=153
nBytes=2979
ADC00 A+1.6871e-04 N0000521 L+1.2208e-03 H-6.1040e-04 D-3.0520e-04 E0

ADC01 A+1.7632e-04 N0000521 L+1.2208e-03 H-9.1560e-04 D-3.0520e-04 E0

ADC02 A+7.8589e-02 N0000521 L+7.3778e-02 H+8.3748e-02 D+0.0000e+00 E0

ADC03 A+7.6633e-02 N0000521 L+6.9790e-02 H+8.1754e-02 D+0.0000e+00 E0

ADC04 A-1.9214e-04 N0000521 L-1.2208e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC05 A-1.4821e-04 N0000521 L-1.2208e-03 H+1.2208e-03 D+3.0520e-04 E0

ADC10 A+3.6378e-04 N0000521 L+1.5260e-03 H-9.1560e-04 D-3.0520e-04 E0

ADC11 A+7.0940e-04 N0000521 L+1.8312e-03 H-3.0520e-04 D-3.0520e-04 E0

ADC12 A+6.9382e-01 N0000521 L+6.3409e-01 H+7.2980e-01 D+1.5952e-02 E0

ADC13 A+6.4624e-01 N0000521 L+5.8823e-01 H+6.8195e-01 D+1.5952e-02 E0

ADC14 A+5.6295e-04 N0000521 L-3.0520e-04 H+1.5260e-03 D+3.0520e-04 E0

ADC15 A+1.5875e-04 N0000521 L-1.2208e-03 H+1.5260e-03 D+3.0520e-04 E0

ADC20 A+6.0766e-01 N0000521 L+5.2608e-01 H+8.5991e-01 D+8.1170e-02 E0

ADC21 A-3.6630e-02 N0000521 L-3.9059e-02 H-3.4787e-02 D+6.1030e-04 E0

ADC22 A+5.4279e+01 N0000521 L+5.4257e+01 H+5.4287e+01 D+5.9820e-03 E0

ADC23 A-2.7300e+02 N0000521 L-2.7300e+02 H-2.7300e+02 D+0.0000e+00 E0

ADC24 A+2.8178e+01 N0000521 L+2.8041e+01 H+2.8194e+01 D+0.0000e+00 E0

ADC25 A-2.7879e-04 N0000521 L-2.4412e-03 H+1.8309e-03 D+6.1030e-04 E0

ADC26 A-3.6632e-02 N0000521 L-3.9059e-02 H-3.4177e-02 D+6.1030e-04 E0

ADC27 A+5.4485e+01 N0000521 L+5.4462e+01 H+5.4494e+01 D+5.9820e-03 E0

ADC28 A-2.7300e+02 N0000521 L-2.7300e+02 H-2.7300e+02 D+0.0000e+00 E0

ADC29 A+2.7579e+01 N0000521 L+2.7428e+01 H+2.7582e+01 D+0.0000e+00 E0

ADC30 A-1.0852e-04 N0002084 L-1.2208e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC31 A-1.3986e-04 N0002084 L-1.2208e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC32 A-5.4496e-01 N0000521 L-5.5080e-01 H-5.3550e-01 D+0.0000e+00 E0

ADC35 A-5.2380e-01 N0002084 L-8.1885e-01 H-4.4010e-01 D+8.2099e-02 E0

ADC36 A-3.2673e-04 N0002084 L-1.5260e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC37 A+1.3333e+01 N0000521 L+1.3188e+01 H+1.3384e+01 D+4.8790e-02 E0

ADC42 A+0.0000e+00 N0002084 L+0.0000e+00 H+0.0000e+00 D+0.0000e+00 E0

ADC43 A-5.4000e+01 N0000052 L-5.4000e+01 H-5.4000e+01 D+0.0000e+00 E0

ADC48 A-3.9920e-03 N0002084 L-4.0626e-03 H-3.9711e-03 D+0.0000e+00 E0

GFZ00 A-1.5498e-06 N0000008 L-1.5260e-06 H-1.5641e-06 E0

GFL00 A-1.5355e-06 N0000008 L-1.5260e-06 H-1.5641e-06 E0

GFH00 A-1.5403e-06 N0000008 L-1.5260e-06 H-1.5641e-06 E0

GFT00 A-1.4592e-06 N0000008 L-1.4497e-06 H-1.4878e-06 E0

GFZ01 A+2.0839e-06 N0000008 L+2.0982e-06 H+2.0601e-06 E0

GFL01 A+2.0601e-06 N0000008 L+2.0601e-06 H+2.0601e-06 E0

GFH01 A+2.0982e-06 N0000008 L+2.0982e-06 H+2.0982e-06 E0

GFT01 A+8.2147e-04 N0000008 L+8.2156e-04 H+8.2122e-04 E0

WS00 N0000053 A00 B00 C00 D00 E0

WS01 N0000053 A00 B00 C00 D00 E0

PRES A+1.0170e+03 N0000050 L+1.0150e+03 H+1.0210e+03 E0

TMP1 A+2.5000e+01 N0000050 L+2.5000e+01 H+2.5000e+01 E0

HUMI A+4.2000e+01 N0000050 L+4.2000e+01 H+4.2000e+01 E0

TMP2 A+2.6000e+01 N0000050 L+2.6000e+01 H+2.6000e+01 E0

DATA COUNT 02961


Parser not implemented.
Press any key to get most recent sample from instrument on port  /dev/ttySX0 :
SIAM version $Name: march14_2006 $
parentID=1446, recordType=1
devid=1322, t=1142561042222, seqNo=427, mdref=153
nBytes=2979
ADC00 A+1.6871e-04 N0000521 L+1.2208e-03 H-6.1040e-04 D-3.0520e-04 E0

ADC01 A+1.7632e-04 N0000521 L+1.2208e-03 H-9.1560e-04 D-3.0520e-04 E0

ADC02 A+7.8589e-02 N0000521 L+7.3778e-02 H+8.3748e-02 D+0.0000e+00 E0

ADC03 A+7.6633e-02 N0000521 L+6.9790e-02 H+8.1754e-02 D+0.0000e+00 E0

ADC04 A-1.9214e-04 N0000521 L-1.2208e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC05 A-1.4821e-04 N0000521 L-1.2208e-03 H+1.2208e-03 D+3.0520e-04 E0

ADC10 A+3.6378e-04 N0000521 L+1.5260e-03 H-9.1560e-04 D-3.0520e-04 E0

ADC11 A+7.0940e-04 N0000521 L+1.8312e-03 H-3.0520e-04 D-3.0520e-04 E0

ADC12 A+6.9382e-01 N0000521 L+6.3409e-01 H+7.2980e-01 D+1.5952e-02 E0

ADC13 A+6.4624e-01 N0000521 L+5.8823e-01 H+6.8195e-01 D+1.5952e-02 E0

ADC14 A+5.6295e-04 N0000521 L-3.0520e-04 H+1.5260e-03 D+3.0520e-04 E0

ADC15 A+1.5875e-04 N0000521 L-1.2208e-03 H+1.5260e-03 D+3.0520e-04 E0

ADC20 A+6.0766e-01 N0000521 L+5.2608e-01 H+8.5991e-01 D+8.1170e-02 E0

ADC21 A-3.6630e-02 N0000521 L-3.9059e-02 H-3.4787e-02 D+6.1030e-04 E0

ADC22 A+5.4279e+01 N0000521 L+5.4257e+01 H+5.4287e+01 D+5.9820e-03 E0

ADC23 A-2.7300e+02 N0000521 L-2.7300e+02 H-2.7300e+02 D+0.0000e+00 E0

ADC24 A+2.8178e+01 N0000521 L+2.8041e+01 H+2.8194e+01 D+0.0000e+00 E0

ADC25 A-2.7879e-04 N0000521 L-2.4412e-03 H+1.8309e-03 D+6.1030e-04 E0

ADC26 A-3.6632e-02 N0000521 L-3.9059e-02 H-3.4177e-02 D+6.1030e-04 E0

ADC27 A+5.4485e+01 N0000521 L+5.4462e+01 H+5.4494e+01 D+5.9820e-03 E0

ADC28 A-2.7300e+02 N0000521 L-2.7300e+02 H-2.7300e+02 D+0.0000e+00 E0

ADC29 A+2.7579e+01 N0000521 L+2.7428e+01 H+2.7582e+01 D+0.0000e+00 E0

ADC30 A-1.0852e-04 N0002084 L-1.2208e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC31 A-1.3986e-04 N0002084 L-1.2208e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC32 A-5.4496e-01 N0000521 L-5.5080e-01 H-5.3550e-01 D+0.0000e+00 E0

ADC35 A-5.2380e-01 N0002084 L-8.1885e-01 H-4.4010e-01 D+8.2099e-02 E0

ADC36 A-3.2673e-04 N0002084 L-1.5260e-03 H+9.1560e-04 D+3.0520e-04 E0

ADC37 A+1.3333e+01 N0000521 L+1.3188e+01 H+1.3384e+01 D+4.8790e-02 E0

ADC42 A+0.0000e+00 N0002084 L+0.0000e+00 H+0.0000e+00 D+0.0000e+00 E0

ADC43 A-5.4000e+01 N0000052 L-5.4000e+01 H-5.4000e+01 D+0.0000e+00 E0

ADC48 A-3.9920e-03 N0002084 L-4.0626e-03 H-3.9711e-03 D+0.0000e+00 E0

GFZ00 A-1.5498e-06 N0000008 L-1.5260e-06 H-1.5641e-06 E0

GFL00 A-1.5355e-06 N0000008 L-1.5260e-06 H-1.5641e-06 E0

GFH00 A-1.5403e-06 N0000008 L-1.5260e-06 H-1.5641e-06 E0

GFT00 A-1.4592e-06 N0000008 L-1.4497e-06 H-1.4878e-06 E0

GFZ01 A+2.0839e-06 N0000008 L+2.0982e-06 H+2.0601e-06 E0

GFL01 A+2.0601e-06 N0000008 L+2.0601e-06 H+2.0601e-06 E0

GFH01 A+2.0982e-06 N0000008 L+2.0982e-06 H+2.0982e-06 E0

GFT01 A+8.2147e-04 N0000008 L+8.2156e-04 H+8.2122e-04 E0

WS00 N0000053 A00 B00 C00 D00 E0

WS01 N0000053 A00 B00 C00 D00 E0

PRES A+1.0170e+03 N0000050 L+1.0150e+03 H+1.0210e+03 E0

TMP1 A+2.5000e+01 N0000050 L+2.5000e+01 H+2.5000e+01 E0

HUMI A+4.2000e+01 N0000050 L+4.2000e+01 H+4.2000e+01 E0

TMP2 A+2.6000e+01 N0000050 L+2.6000e+01 H+2.6000e+01 E0

DATA COUNT 02961


Press any key to shutdown service on port  /dev/ttySX0 :
SIAM version $Name: march14_2006 $
Shutdown port /dev/ttySX0
OK
SIAM version $Name: march14_2006 $
Node 1446 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX0  -                                    -       -        -           
/dev/ttySX1  Snubber Node Power Control           1502    OK         46   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK        274   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    ERROR       0   2   3
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SLEEPING   93   7   7
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK        274   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK        274   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK        274   0   0
/dev/ttySX10 Workhorse LR ADCP 300kHz s/n 4164    1294    OK         46   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK        273   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK       2707   1   4
/dev/ttySA2  Medusa card s/n 2.007                1441    OK        546   0   0

Should now be no service on port  /dev/ttySX0
Press any key to load service on port  /dev/ttySX0 :
SIAM version $Name: march14_2006 $
Scan port /dev/ttySX0
SIAM version $Name: march14_2006 $
Node 1446 has 14 ports

Port name    Service                              ISI-ID  Status    S  : E : R 
---------    -------                              ------  ------   ----------- 
/dev/ttySX0  Mooring power can s/n 002            1322    SAMPLING    0   0   0
/dev/ttySX1  Snubber Node Power Control           1502    OK         46   0   0
/dev/ttySX2  -                                    -       -        -           
/dev/ttySX3  -                                    -       -        -           
/dev/ttySX4  ASIMET BPR s/n BPR222                1443    OK        275   0   0
/dev/ttySX5  MBARI pCO2 s/n SOON1S                1448    ERROR       0   2   3
/dev/ttySX6  Triaxys s/n TAS01020                 1286    SLEEPING   93   7   7
/dev/ttySX7  ASIMET HRH s/n HRH355                1290    OK        274   0   0
/dev/ttySX8  ASIMET WND s/n WND358                1291    OK        274   0   0
/dev/ttySX9  ASIMET SWR s/n SWR344                1292    OK        274   0   0
/dev/ttySX10 Workhorse LR ADCP 300kHz s/n 4164    1294    OK         46   0   0
/dev/ttySX11 Garmin GPS s/n 81108654              1503    OK        273   0   0
/dev/ttySX15 MSP430 (sidearm4.25)                 1447    OK       2712   1   4
/dev/ttySA2  Medusa card s/n 2.007                1441    OK        546   0   0

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

parentID=1446, recordType=0
devid=1322, t=1142561212771, seqNo=0, mdref=0
 cause=just checking
<DEV_MD>
Couldn't get moos.devices.serialadc.PowerCan instrument state

</DEV_MD>
<SRVC_MD>
powerOnDelaySec=0
instrumentName=UNKNOWN
nominalCurrentMa=1000
className=moos.devices.serialadc.SerialAdc$Attributes
captureParams=ALL

serviceName=Mooring power can s/n 002
parentID=1446
currentLimitMa=500
sampleSchedule=R */0 */10 */0 */0 * * * * GMT *
statusMinSamples=10
extendedVersion=UNK
frameworkVersion=$Name: march14_2006 $
UUID=9E1469CB-5306-45E4-AFE8-F6290F8C7330
powerWarningLow=9.0
powerPolicy=ALWAYS
timeSynch=false
powerOkLow=10.0
maxSampleTries=3
isiID=1322
powerStatusChannel=ADC99
dataCountCheck=true
sampleTimeoutMsec=5000
commPowerPolicy=SAMPLING
serviceStatus=1
logTimeSync=true
startDelayMsec=10000
</SRVC_MD>
<DOC_MD>
unable to access XML file
</DOC_MD>

Press any key to show schedule for instrument on  /dev/ttySX0 :
ShowSchedule: lookAhead value undefined or invalid; using default (3600)
Looking for node service at rmi://loc/node
Got proxy for node service "moos.deployed.NodeService"

 
    Name: Default
   Owner: moos.devices.serialadc.PowerCan:1322 key=21
Schedule: R */0 */10 */0 */0 * * * * GMT *
  Status: Waiting	494199


Test complete.
surface:/mnt/hda/siam/atp$ 