chronojump r352 - in trunk: . chronopic-tests



Author: xaviblas
Date: Thu Jan 24 19:43:13 2008
New Revision: 352
URL: http://svn.gnome.org/viewvc/chronojump?rev=352&view=rev

Log:
chronopic-tests all with /dev/ttyUSB0 default values


Modified:
   trunk/changelog.txt
   trunk/chronopic-tests/chronopic-serial-conf.c
   trunk/chronopic-tests/test-precision.c
   trunk/chronopic-tests/test-saltos.c
   trunk/chronopic-tests/test-saltos.mono.cs
   trunk/chronopic-tests/test-tramas.c
   trunk/chronopic-tests/test.cs

Modified: trunk/changelog.txt
==============================================================================
--- trunk/changelog.txt	(original)
+++ trunk/changelog.txt	Thu Jan 24 19:43:13 2008
@@ -1,5 +1,8 @@
 CHRONOJUMP DETAILED CHANGELOG:
 
+24 jan 2007 (2)
+	chronopic-tests all with /dev/ttyUSB0 default values
+
 24 jan 2007
 	Added windows driver to the releases on windows executing data
 	Added chronopic-tests (fixes: 511819) (added also on create_release)

Modified: trunk/chronopic-tests/chronopic-serial-conf.c
==============================================================================
--- trunk/chronopic-tests/chronopic-serial-conf.c	(original)
+++ trunk/chronopic-tests/chronopic-serial-conf.c	Thu Jan 24 19:43:13 2008
@@ -9,7 +9,7 @@
 /*     cronometro (chronopic). La velocidad se establece a 9600 baudios y  */
 /*     se usa la configuracion N81. Al dejarlo asi configurado, es posible */
 /*     leer las tramas de cronojump directamente abriendo el dispositivo   */
-/*     /dev/ttyS0. Resulta muy util para acceder a chronopic desde otro    */
+/*     /dev/ttyUSB0. Resulta muy util para acceder a chronopic desde otro    */
 /*     lenguaje de programacion distinto de C, como por ejemplo C#, Python */
 /*     Java, etc...                                                        */
 /*                                                                         */
@@ -46,7 +46,7 @@
     "Forma de uso:   chronopic-serial-conf dispositivo_serie [opciones]\n");
   printf ("Opciones:\n");
   printf ("    -h : Mostrar esta ayuda\n\n");
-  printf ("Ejemplo: chronopic-serial-conf /dev/ttyS0\n");
+  printf ("Ejemplo: chronopic-serial-conf /dev/ttyUSB0\n");
   printf ("\n");
 }
 

Modified: trunk/chronopic-tests/test-precision.c
==============================================================================
--- trunk/chronopic-tests/test-precision.c	(original)
+++ trunk/chronopic-tests/test-precision.c	Thu Jan 24 19:43:13 2008
@@ -33,12 +33,12 @@
     "Forma de uso:   test-precision dispositivo_serie [opciones]\n");
   printf ("\n");
   printf ("Dispositivo serie: \n");
-  printf ("   -Dispositivo donde esta conectado ChronoPic. Ej. /dev/ttyS0\n");
+  printf ("   -Dispositivo donde esta conectado ChronoPic. Ej. /dev/ttyUSB0\n");
   printf ("\n");
   printf ("Opciones:\n");
   printf ("    -h : Mostrar esta ayuda\n");
   printf ("\n");
-  printf ("Ejemplo: test-precision /dev/ttyS0\n");
+  printf ("Ejemplo: test-precision /dev/ttyUSB0\n");
   printf ("\n");
 }
 

Modified: trunk/chronopic-tests/test-saltos.c
==============================================================================
--- trunk/chronopic-tests/test-saltos.c	(original)
+++ trunk/chronopic-tests/test-saltos.c	Thu Jan 24 19:43:13 2008
@@ -31,12 +31,12 @@
     "Forma de uso:   test-saltos dispositivo_serie [opciones]\n");
   printf ("\n");
   printf ("Dispositivo serie: \n");
-  printf ("   -Dispositivo donde esta conectado ChronoPic. Ej. /dev/ttyS0\n");
+  printf ("   -Dispositivo donde esta conectado ChronoPic. Ej. /dev/ttyUSB0\n");
   printf ("\n");
   printf ("Opciones:\n");
   printf ("    -h : Mostrar esta ayuda\n");
   printf ("\n");
-  printf ("Ejemplo: test-saltos /dev/ttyS0\n");
+  printf ("Ejemplo: test-saltos /dev/ttyUSB0\n");
   printf ("\n");
 }
 

Modified: trunk/chronopic-tests/test-saltos.mono.cs
==============================================================================
--- trunk/chronopic-tests/test-saltos.mono.cs	(original)
+++ trunk/chronopic-tests/test-saltos.mono.cs	Thu Jan 24 19:43:13 2008
@@ -32,7 +32,7 @@
     double toff;
     
     //-- Crear objeto chronopic, para acceder al chronopic
-    Chronopic cp = new Chronopic("/dev/ttyS0");
+    Chronopic cp = new Chronopic("/dev/ttyUSB0");
     
     //-- Obtener el estado inicial de la plataforma
     respuesta=cp.Read_platform(out estado_plataforma);

Modified: trunk/chronopic-tests/test-tramas.c
==============================================================================
--- trunk/chronopic-tests/test-tramas.c	(original)
+++ trunk/chronopic-tests/test-tramas.c	Thu Jan 24 19:43:13 2008
@@ -39,14 +39,14 @@
   "Si no se especifica dispositivo serie, se toma la entrada estandar\n");
   printf ("\n");
   printf ("Dispositivo serie: \n");
-  printf ("   -Dispositivo donde esta conectado ChronoPic. Ej. /dev/ttyS0\n");
+  printf ("   -Dispositivo donde esta conectado ChronoPic. Ej. /dev/ttyUSB0\n");
   printf ("\n");
   printf ("Opciones:\n");
   printf ("    -h : Mostrar esta ayuda\n");
   printf ("\n");
-  printf ("Ejemplo1: test-tramas /dev/ttyS0\n");
+  printf ("Ejemplo1: test-tramas /dev/ttyUSB0\n");
   printf (
-  "   -Analizar las tramas de Chronopic, conectado al puerto serie /dev/ttyS0\n");
+  "   -Analizar las tramas de Chronopic, conectado al puerto serie /dev/ttyUSB0\n");
   printf ("\n");
   printf ("Ejemplo2: test-tramas < prueba\n");
   printf (

Modified: trunk/chronopic-tests/test.cs
==============================================================================
--- trunk/chronopic-tests/test.cs	(original)
+++ trunk/chronopic-tests/test.cs	Thu Jan 24 19:43:13 2008
@@ -34,7 +34,7 @@
     w.ShowAll();
     
     //-- Inicializar chronopic
-    cp = new Chronopic("/dev/ttyS0");
+    cp = new Chronopic("/dev/ttyUSB0");
     
     //-- Inicializar otras cosas
     Cola = new Queue();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]