VMCM2 Documentation Page
Instrument Operation & Command Sets
Processing the Binary Data File with gcc
- VMCM2 Ver 3.xx gcc processing README file for Linux
- The following source code will compile under gcc for Linux.
For example, under gcc for Linux, compile as follows:
gcc -o vmcm2asc vmcm2asc.c
- VMCM2 Ver 3.xx C source (vmcm2asc.c) for binary to ascii conversion
- VMCM2 Ver 3.xx C source (vmcm2swab.c) for byte swapping
- The first 20000H (128K) bytes of the FLASH card are reserved for future use. Always use the
dd command per PCMCIA Card Reading via LINUX Laptop below.
- Note that if you retrieved the binary data using XMODEM via the serial console, the XMODEM
transfer will pad the final block transferred (if necessary) to equal 128 bytes. Thus the final
ascii "record" may be garbage. Be sure to check for a valid record if using any sort of
automated processing. One easy check is to see if the first byte on a line is a valid hour;
a value of 255 indicates this is a "padded record" due to the XMODEM transfer.
PCMCIA Card Reading via LINUX Notebook PC
Maintained by: Geoff Allsup
- last update: 16 Jul 2003