S.U.P.E.R. Archivo HP 200LX
← Volver al catálogo

BATTLOG

Versión 2.2 · Seiji Ieiri (GAOGAO)

Descargar 34.6 KB

Descripción

This is the long awaited update to GAOGAO's nice battery logging program and it has lots of new features. Battlog is an EXM program that lets you keep an accurate track on your palmtop's batteries. A small TSR is included which loads from AUTOEXEC.BAT and writes battery voltage to a file at specified intervals. The EXM formats this data file and presents it as a graph. Shareware.

Ficha técnica

Fichero
batlog22.zip
Tamaño
34.6 KB
Formato
.zip
Año
1998
Alta en S.U.P.E.R.
1998-07-24
Ficheros dentro
4
Autor
Seiji Ieiri (GAOGAO)
Ruta
anonftp/pub/batlog22.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 14.9 KB

Estos son los ficheros que necesitas. Puedes enviarlos desde el contenido del paquete.

  • BATTLOG.EXM → A:\SOFT aplicación del System Manager 45.2 KB
  • Battlog.com → A:\SOFT programa de DOS 4.8 KB

No hace falta llevar al palmtop Battlog.txt, Battlogj.txt: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 14.9 KB en un disco de 1 MB.

Pasos
  1. Copia BATTLOG.EXM a A:\SOFT. Es una aplicación del System Manager: regístrala en App Manager con F2 (Add), indicando la ruta completa (por ejemplo A:\SOFT\BATTLOG.EXM).
  2. El 200LX admite 8 aplicaciones EXM como máximo. Comprueba con F8 (List) en App Manager: si ves un * en la columna Status, tienes el cupo lleno y necesitarás MoreEXM.
  3. Copia Battlog.com a A:\SOFT. Son programas de DOS: se ejecutan desde el icono DOS, o añadiendo A:\SOFT al PATH de C:\AUTOEXEC.BAT para poder llamarlos por su nombre.

Deducido del contenido del paquete y de las convenciones del 200LX. Se instala en A: a propósito: C: es un disco RAM y cada byte ahí resta memoria al sistema.

Instrucciones del autor
HOW TO INSTALL BATTLOG
It's easy to install Battlog on your HP200LX. There are two files:

BATTLOG.COM
BATTLOG.EXM

 - Copy BATTLOG.COM on your tool directory (i.e. c:\tool or c:\_dat).
 - Before you execute SysMgr (100 or 200) in MS-DOS prompt, type
   BATTLOG [Enter] (To remove BATTLOG from the memory, type BATTLOG -R
   and hit [Enter]).

After above operation, BATTLOG.COM starts working and C:\BATTLOG.LOG will
be created automatically. Every 5 minutes, voltage data will be appended to
the file.

 - Then copy BATTLOG.EXM to your C:\_DAT directory.
 - Start the SysMgr and add BATTLOG.EXM your menu.

Recommendation:
* Copy both files to C:\_DAT directory.
* "More Application" Key Assignment to Ctrl+F10
* Add BATTLOG to your AUTOEXEC.BAT just before the 100 or 200 command.

Now, it's ready to use !

BATTLOG.COM command line options:
  /R  =  Remove BattLog.
  /?  =  Help screen.


HOW TO USE BATTLOG.EXM
Start BATTLOG.EXM and you will be able to see the current status in a
graph.

At the right side of the screen you can see a black "Bar" which displays
the current main battery voltage.

At the lower right corner, you can see current power source:

 "B" ...Battery running
 "A" ...AC Adapter running
 "F" ...Fast Charging (100mAh)
 "C" ...Charging(45mAh)

At the bottom of the graph, some horizontal lines will appear and these
lines mean:

  - Charge (thick line=Fast Charging, thin line=Charging)
  - RS232C(pen width 1=IR, 2=Wired RS232C, 3=COM2)

To scroll the graph:

Right and Left Arrow key, HOME, END key.

MENUS:

File menu:
  - Open...
  - Save As...
  - Reset LogFile...
  - Exit

View menu:
  - Volt Range...
     1.2V, 0.9V, 0.8V, 0.6V
  - Maximum Volt...
     3.3V 3.2V 3.1V 3.0V
  - Time Range...
     48Hr 24Hr 12Hr 6Hr
  - Plot Mode...
     Average, MaxMin, Both
…

Extracto literal de Battlog.txt, tal cual venía en el paquete.

Enviar a mi palmtop

El palmtop tiene que quedar esperando antes de pulsar el botón, o la transferencia fallará. Es él quien avisa de que está listo, no al revés.

En el palmtop

  1. Conecta el cable serie entre el palmtop y el ordenador.
  2. Abre Data Comm y ve a Menu → Connect → Settings. Ajusta: 9600 baudios, 8 bits de datos, paridad None, 1 bit de parada.
  3. Vuelve al menú y entra en Menu → File → Receive, con el protocolo Zmodem. El palmtop se queda esperando: déjalo así.

En el ordenador

  1. Usa Chrome (o Edge / Opera). Firefox y Safari no pueden abrir el puerto serie, y ningún navegador móvil tampoco.
  2. Averigua cuál es tu puerto: si no lo tienes claro, despliega la ayuda de aquí abajo.
  3. Pulsa el botón y selecciónalo en la ventana que abre Chrome.
¿Cómo sé cuál es mi puerto?

Linux — tu adaptador USB-serie será /dev/ttyUSB0 o /dev/ttyACM0. Los /dev/ttyS0ttyS31 son puertos heredados de la placa base: el núcleo los lista aunque no exista ninguno, así que casi nunca son el tuyo. Para salir de dudas:

ls -l /dev/serial/by-id/

Sale el fabricante y el modelo, y a qué ttyUSB* apunta. Si no aparece nada, desenchufa y vuelve a enchufar el cable y mira dmesg | tail: verás una línea del estilo «ch341-uart converter now attached to ttyUSB0».

Permisos: en Debian y derivados tu usuario debe estar en el grupo dialout o el puerto no se abrirá. Compruébalo con groups, y si falta:

sudo usermod -aG dialout $USER

Hay que cerrar la sesión y volver a entrar para que surta efecto.

Windows — Administrador de dispositivos → Puertos (COM y LPT). Tu adaptador aparece como COM3, COM4… Si aparece con un triángulo amarillo, te falta el driver del chip (FTDI, Prolific o CH340 según el cable).

macOSls /dev/cu.*; tu adaptador será algo como /dev/cu.usbserial-A50285BI. Usa siempre el cu., no el tty..

El 200LX no lleva un conector serie estándar: necesitas el cable de conectividad de HP (el F1015A o un equivalente) y, salvo que tu ordenador tenga puerto serie de verdad, un adaptador USB-serie detrás.