Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 1 of 23

DuraTrax/LaserLite, LaserLite Pro/LaserLite Mx Developer's Reference, pages 1 to 10

Pages 1 to 10 of 229

The original document is the PDF (797 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Videx DuraTrax, Videx LaserLite, Videx LaserLite Mx and Videx LaserLite Pro

Page 1

DuraTrax® /LaserLite® LaserLite Pro/LaserLite Mx Developer’s Reference

Copyright © 1997-1999 by Videx, Inc. All Rights Reserved GCO# 930 MN-DTL-06

Page 2

Blank Page

Page 3

Notice: Videx, Inc. reserves the right to make improvements or changes in the product described in this manual at any time without notice. Disclaimer of All Warranties and Liability: Videx, Inc. makes no warranties, either expressed or implied except as explicitly set forth in the Limited Warranty below, with respect to this manual nor with respect to the product described in this manual, its quality, performance, merchantability or fitness for any purpose. Videx, Inc. software is sold or licensed “as is.” The entire risk as to its quality and performance is with the buyer. Should the programs prove defective following their purchase, the buyer (and not Videx, Inc., its distributors, or its retailers) assumes the entire cost of all necessary servicing, repair, or correction and any incidental or consequential damages. In no event will Videx, Inc. be liable for direct, indirect, incidental, or consequential damages resulting from any defect or the possibility of such damages. Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you. Limited Warranty: Videx, Inc. warrants this product to be free from defects in material and workmanship for a period of one (1) year from the date of original purchase. Videx, Inc. agrees to repair or, at our option, replace any defective unit without charge. Videx, Inc. assumes no responsibility for any special or consequential damages. No other warranty, either expressed or implied, is authorized by Videx, Inc. Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you. Copyright Notice: This manual is copyrighted. All rights are reserved. This document may not, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine-readable form without prior consent, in writing, from Videx, Inc. Copyright © 1997-1999 by Videx, Inc. 1105 N.E. Circle Blvd., Corvallis, Oregon 97330 USA Phone: (541) 758-0521 Fax: (541) 752-5285 www.videx.com • sales@videx.com • support@videx.com Videx, DuraTrax, and LaserLite are registered trademarks of Videx, Inc., Application Builder and BarCode Labeler are trademarks of Videx, Inc. All other trademarks are properties of their respective owners.

i

Page 4

Federal Communications Commission Statement: This equipment is a Class A computing device under the U.S. FCC rules and this warning is required. Warning: This equipment generates, uses, and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual, may cause interference to radio communications. It has been tested and found to comply with the limits for a Class A computing device pursuant to Subpart J of Part 15 of FCC rules, which are designed to provide reasonable protection against such interference when operated in a commercial environment. Operation of this equipment in a residential area is likely to cause interference in which case the user at his own expense will be required to take whatever measures may be required to correct the interference. If this equipment is operated from the same electrical wall circuit as other pieces of equipment and erratic operation of the unit occurs, it may be necessary to shut off other equipment or power the unit from a dedicated electrical circuit. If this equipment has an FCC ID number affixed to the equipment, then the unit meets the limits for a U.S. Federal Communications Commission Class B computing device and the following information applies. FCC Notice: This equipment generates, uses, and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual, may cause interference to radio and television reception. It has been type tested and found to comply with the limits for a Class B computing device in accordance with the specifications in Subpart J of Part 15 of FCC rules, which are designed to provide reasonable protection against such interference in a residential installation. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause interference to radio or television reception, which can be determined by disconnecting and reconnecting the equipment, the user is encouraged to try to correct the interference by one or more of the following measures. Reorient the receiving antenna. Relocate the computer with respect to the receiver. Move the computer away from the receiver. Plug the computer into a different outlet so that computer and receiver are on different branch circuits. If necessary, the user should consult the dealer or an experienced radio/television technician for additional suggestions. The user may find the following booklet prepared by the Federal Communications Commission helpful: “How to Identify and Resolve Radio-TV Interference Problems.” This booklet is available from the U.S. Government Printing Office, Washington, DC 20402, Stock No. 004-000-00345-4.

ii

Page 5

Table of Contents INTRODUCTION ............................................................................................1 CHAPTER 1 COMMUNICATIONS PROGRAMS ....................................3 COMMUNICATIONS PROGRAMS OVERVIEW ..................................................... 4 COMMUNICATIONS PROGRAMS FOR WINDOWS, DOS, AND MACINTOSH ..... 10 Download for DOS .............................................................................................. 10 Vxcom for Windows ............................................................................................. 11 Download and Vxcom Parameters ...................................................................13 Windows DLL for Vxcom ...............................................................................20 Vxcomm.dll (version 2.10) .........................................................................20 Videx Download for Macintosh ........................................................................... 24 Videx Download Interface (Macintosh only)...................................................24 Communications Program Commands File......................................................... 25 Commands .......................................................................................................26 Looping Commands ....................................................................................28 Assigning IDs .........................................................................................29 Changing a Data Collector’s ID with a Windows Computer .............29 Changing a Data Collector’s ID with a DOS Computer ....................32 Changing a Data Collector’s ID with a Macintosh Computer ...........35 Transferring Data from Multiple Data Collectors...................................37

CHAPTER 2 MONITOR PROGRAM........................................................43 MONITOR PROGRAM OVERVIEW ................................................................... 44 Resetting the Data Collector to Monitor Mode ................................................... 44 Monitor Program Signatures............................................................................... 45 Monitor Commands ............................................................................................. 45 System Block Diagram.....................................................................................48 Dumping Memory to Recover Data ..................................................................... 51 Special Notes on LaserLite Pro Monitor 1.11 ..................................................... 53 Loading from Flash Memory............................................................................53 Startup Model for VX1 Monitor 1.33 and 1.34.................................................... 54 iii

Page 6

CHAPTER 3 OPERATING SYSTEM SOFTWARE.................................59 OPERATING SYSTEM SOFTWARE OVERVIEW ................................................. 60 Operating System Command Line ....................................................................... 61 Operating System Commands ..........................................................................62 Battery.........................................................................................................62 Set ID ..........................................................................................................62 Default Application* ...................................................................................62 Load from Flash (OS versions 1.22 or later, LaserLite Pro and LaserLite Mx only) ............................................................................................................63 Go................................................................................................................63 Unlock.........................................................................................................63 Lock ............................................................................................................64 Message.......................................................................................................64 Pass to Memory Card (LaserLite Mx only)..................................................64 Quit Operating System ................................................................................64 Receive........................................................................................................64 Send.............................................................................................................65 Time ............................................................................................................65 Reset Memory Card.....................................................................................65 Listen for Response from Memory Card .....................................................65 Clear Data....................................................................................................65 Default.s Application .......................................................................................66 Default Application Variables.....................................................................66 Default Application Sounds ........................................................................69 LaserLite Mx MX-DEMO Application............................................................70 MX-DEMO Application Variables ..................................................................70

CHAPTER 4 APPLICATION BUILDER SOURCE TEMPLATE ..........75 APPLICATION BUILDER BASIC SOURCE CODE ............................................. 76 GENERATE BASIC SOURCE CODE FOR APPLICATION ................................... 76 CODE GENERATION DIRECTIVES ................................................................... 80 DESCRIBE.SRC .............................................................................................. 89 Describe.src Variables......................................................................................... 89 Describe.src Subroutines ..................................................................................... 95 Describe.src Sounds ............................................................................................ 99 Plug-ins.............................................................................................................. 100

TIMEWAND.SRC .......................................................................................... 101 iv

Page 7

CHAPTER 5 LASERLITE MX MEMORY CARD DATA MANAGEMENT..........................................................................................103 MEMORY CARD CAPABILITIES .................................................................... 104 LASERLITE MX MEMORY CARD COMMAND SET ........................................ 105 Operating System P Command–Pass to Memory Card ..................................... 105

TRANSFERRING FILES BETWEEN THE MEMORY CARD AND THE COMPUTER130 Commands File.................................................................................................. 131 Commands File Commands ...........................................................................132 Memory Card Commands for the Commands File ....................................133 R Command..........................................................................................133 S Command ..........................................................................................134 D Command .........................................................................................134 K Command .........................................................................................134 F Command ..........................................................................................135 File Types ........................................................................................136 Commands File Examples ...............................................................137 Notes on Communicating with a Memory Card ........................................139 About the Modulus....................................................................................141 Common Precautions for Using a Memory Card ......................................143 Protecting the Data in the Memory Card...................................................144

BOOTING FROM THE MEMORY CARD.......................................................... 145 SENDING CROSS-REFERENCE FILES TO THE MEMORY CARD ...................... 147 TRANSFERRING DATA FROM THE MEMORY CARD ...................................... 148 CREATING A CROSS-REFERENCE FILE FOR THE MEMORY CARD ................. 149 OPENING A FILE ON THE MEMORY CARD .................................................... 150 DATA AND CROSS-REFERENCE FILE HANDLING ON THE MEMORY CARD ... 151 CHANGING RECORDS IN MEMORY CARD FILES ........................................... 153 LASERLITE MX ERROR HANDLING STRATEGIES ......................................... 156 Operating System Error Handling..................................................................... 157 CARDCMD Statement Errors............................................................................ 159 CARDSTATUS Function Errors ........................................................................ 164

CHAPTER 6 DURATRAX, LASERLITE, LASERLITE PRO AND LASERLITE MX DATA FILES .................................................................169 DEFAULT DATA FILE ................................................................................... 170 SCAN.S DATA FILE ...................................................................................... 171 The Header ........................................................................................................ 172 The Data ............................................................................................................ 173 The Tailer .......................................................................................................... 174

TIMEWAND II-STYLE DATA FILE (TIMEWAND.SRC) ................................... 175 The Header ........................................................................................................ 177 The Data ............................................................................................................ 178 The Tailer .......................................................................................................... 179 Origin of Data ................................................................................................180

CHAPTER 7 CROSS-REFERENCE FILE CONVERT PROGRAMS .181 v

Page 8

CROSS-REFERENCE FILE DISCUSSION ......................................................... 182 Vxcrfw.exe.......................................................................................................... 183 Vxcrf.exe ............................................................................................................ 184 Cross-Reference File (*.CRF) Notes ................................................................. 188

CHAPTER 8 THEORY OF OPERATION...............................................189 THEORY OF OPERATION OVERVIEW ............................................................ 190 Power Up Sequence........................................................................................... 190 Battery Monitoring ............................................................................................ 191 Power Down Sequence ...................................................................................... 191 Boot Loader (Monitor Program) ....................................................................... 191 Communications ................................................................................................ 191 Memory Access .................................................................................................. 192 Times.................................................................................................................. 192 Currents ............................................................................................................. 192 Voltages ............................................................................................................. 193 Environmental Testing....................................................................................... 193 Definition of Terms ............................................................................................ 193 Circuit Description ............................................................................................ 194 Main Board ....................................................................................................194 DuraTrax Scan Board.....................................................................................196 LaserLite, LaserLite Pro, and LaserLite Mx Scan Board ...............................196 Base Stations..................................................................................................197

APPENDIX A MODEM COMMUNICATIONS HOOK-UP CONFIGURATIONS AND CABLE PIN OUTS .......................................199 APPENDIX B LOW-LEVEL LASERLITE MX MEMORY CARD FORMATTING SEQUENCES ...................................................................205 FORMATTING AN UNFORMATTED MEMORY CARD ...................................... 206 FORMATTING PREVIOUSLY FORMATTED MEMORY CARDS ......................... 208 APPENDIX C ERROR CODES.................................................................209 COMMUNICATION ERRORS .......................................................................... 210 MEMORY CARD ERRORS............................................................................. 213 INDEX ...........................................................................................................215 vi

Page 9

Introduction This manual provides additional information for the DuraTrax, LaserLite, LaserLite Pro, and LaserLite Mx software developer. This manual consists of eight chapters and three appendixes. Chapter 1 contains information on the communications programs: Vxcom, Download, and Videx Download. These programs provide communication between the data collector and the computer. Chapter 2 contains information on the monitor program that is the boot program that resides in the ROM of the DuraTrax, LaserLite, LaserLite Pro, and LaserLite Mx. Chapter 3 contains information on the operating system files for the DuraTrax, LaserLite, LaserLite Pro, and LaserLite Mx. The operating system must be installed on the data collector before it can collect data. Chapter 4 contains information on the Application Builder Source Template (which generates source code in BASIC), including information on plug-ins and exporting the source file. Chapter 5 contains information on the LaserLite Mx memory card and how to manage files on the memory card. Chapter 6 contains information on DuraTrax, LaserLite, LaserLite Pro, and LaserLite Mx data files. These are the files of collected data that are transferred to the computer. Chapter 7 contains information on the cross-reference file convert programs: Vxcrfw.exe and Vxcrf.exe. These programs convert a text file into a cross-reference file that can be used by a DuraTrax, LaserLite, LaserLite Pro, or a LaserLite Mx without a memory card. Chapter 8 discusses the theory of operation for the DuraTrax, LaserLite, LaserLite Pro, and LaserLite Mx data collectors. Appendix A contains information on connecting the Base Station to a modem, Appendix B contains information on formatting LaserLite Mx memory cards, and Appendix C contains lists of error codes.

Introduction

1

Page 10

2

Introduction