Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
imanay
- Wed, 24 Apr 2013 22:50:38
Show More
0
trunk/absroot/source/abspy/abscontrol/library3.py
trunk/absroot/source/abspy/abscontrol/library3.py
+6
0
@@
-115,8
+115,14
115
def waitAsClient ( self , nbytes = 1024 ):
No newline at end of file
115
def waitAsClient ( self , nbytes = 1024 ):
116
print " \n Waiting the server."
No newline at end of file
116
print " \n Waiting the server."
117
# Short data through ethernet
No newline at end of file
117
# Short data through ethernet
118
try :
No newline at end of file
118
trama_rx = self . socket_c . recv ( nbytes )
No newline at end of file
119
trama_rx = self . socket_c . recv ( nbytes )
119
lng = int ( trama_rx [ 20 : 26 ])
No newline at end of file
120
lng = int ( trama_rx [ 20 : 26 ])
121
except :
No newline at end of file
122
print "Waiting error"
No newline at end of file
123
trama_rx = "Error"
No newline at end of file
124
lng = 0
No newline at end of file
125
else :
No newline at end of file
120
print " \n This socket has received this data: " + str ( trama_rx )
No newline at end of file
126
print " \n This socket has received this data: " + str ( trama_rx )
121
No newline at end of file
127
122
return trama_rx , lng
No newline at end of file
128
return trama_rx , lng
0
trunk/absroot/source/abspy/scripts/getControlModulePhase.py
trunk/absroot/source/abspy/scripts/getControlModulePhase.py
+2
-2
@@
-1,8
+1,8
1
import file
No newline at end of file
1
import file
2
from client3 import *
No newline at end of file
2
from client3 import *
3
3
No newline at end of file
4
opt = "0"
No newline at end of file
4
ns = "0"
No newline at end of file
5
No newline at end of file
5
6
absObj = ABSClient ( ipDestino = "10.10.10.97" )
No newline at end of file
6
absObj = ABSClient ( ipDestino = "10.10.10.97" )
7
#absObj = ABSClient()
7
#absObj = ABSClient()
No newline at end of file
8
absObj . getControlModulePhase ( opt )
No newline at end of file
8
absObj . getControlModulePhase ( ns )
No newline at end of file
0
trunk/absroot/source/abspy/scripts/module_status.txt
trunk/absroot/source/abspy/scripts/module_status.txt
+1
-1
@@
-11,7
+11,7
11
192.168.1.9 [0 0]
No newline at end of file
11
192.168.1.9 [0 0]
12
192.168.1.10 [0 0]
No newline at end of file
12
192.168.1.10 [0 0]
13
192.168.1.11 [0 0]
13
192.168.1.11 [0 0]
No newline at end of file
14
192.168.1.12 [1 1]
No newline at end of file
14
192.168.1.12 [0 0]
No newline at end of file
15
192.168.1.13 [0 0]
No newline at end of file
15
192.168.1.13 [0 0]
16
192.168.1.14 [0 0]
No newline at end of file
16
192.168.1.14 [0 0]
17
192.168.1.15 [0 0]
No newline at end of file
17
192.168.1.15 [0 0]
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages