diff --git a/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/ForceDetection.dtx b/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/ForceDetection.dtx
index cac673a..cf8e3dc 100644
--- a/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/ForceDetection.dtx
+++ b/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/ForceDetection.dtx
@@ -82,11 +82,10 @@
-
+
-
diff --git a/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/comTcp.pgx b/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/comTcp.pgx
index 22bcbbd..3dec094 100644
--- a/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/comTcp.pgx
+++ b/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/comTcp.pgx
@@ -92,12 +92,12 @@
tx = tx + "0" + array_separator
endIf
- if events[0] != ""
- tx = tx + events[0]
+ if tcp_events[0] != ""
+ tx = tx + tcp_events[0]
for index=0 to 8
- events[index]= events[index+1]
+ tcp_events[index]= tcp_events[index+1]
endFor
- events[9] = ""
+ tcp_events[9] = ""
endIf
break
diff --git a/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/sendEventTcp.pgx b/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/sendEventTcp.pgx
index a503f6e..0c6a14b 100644
--- a/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/sendEventTcp.pgx
+++ b/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/sendEventTcp.pgx
@@ -12,8 +12,8 @@
//How to break a for?
for index=0 to 9
if ev != ""
- if events[index] == ""
- events[index] = ev
+ if tcp_events[index] == ""
+ tcp_events[index] = ev
ev = ""
endIf
endIf