



























        PC64 DATA LOGGING SOFTWARE PACKAGE         














                                             LAWSON LABS, INC.
                                             3239 Phoenixville Pike 
                                             Malvern, PA 19355


                                               610 725-8800
                                                    or
                                               800 321-5355


Rev. F


               TABLE OF CONTENTS

INTRODUCTION                                        Page 2

A.  GETTING STARTED                                 Page 2

B.  SYSTEM CONFIGURATION                            Page 3

      1.  DEFINE DATA POINTS                        Page 3

      2.  DEFINE DATA RUN                           Page 7

      3.  DEFINE PRINTER OUTPUT                     Page 8

      4.  DEFINE BURST                              Page 8

      5.  RETURN TO MAIN MENU                       Page 10

C.  OPERATION                                       Page 11

D.  REPROCESSING FILES                              Page 12

E.  TROUBLESHOOTING                                 Page 13

F.  MODIFYING YOUR SOFTWARE                         Page 13

G.  SPECIFICATIONS                                  Page 14

WARRANTY                                            Page 16


INTRODUCTION

     Lawson Labs PC64 data logging software is a flexible general
purpose data acquisition package. Up to 64 channels of analog
input are accommodated each with its own label, scaling factors
and high and low alarm limits. The data is displayed on the
screen and can be logged or charted on a printer. 16-channel high
resolution strip chart recorder software is built in. If desired,
the data can be stored automatically at a preset interval. Data
can be stored on disk or printed at rates from one scan/day to
one scan/second. High speed sampling bursts are available if a
Model 134 is present. Up to 4 external multiplexers or
thermometers can be used. The software is available both in
executable form and as source code, written in BASIC and
recompilable by Microsoft QuickBASIC (reg. trademark). Control
functions or custom features can be added. Some care has been
taken to allow the same code to run as interpreted BASIC or in
compiled form. The BASIC source code, when run under the
interpreter, allows easy access for customization. The compiled
version provides speed. Customized versions can be recompiled for
speed if required.

     An IBM PC/XT/AT/386/486 (reg. trademarks) or compatible with
256K of memory and a Model 140 Analog Interface or a Model 134
16-bit A/D card or a Model 141 20-bit A/D card is required. Two
disk drives are recommended. An IBM graphics printer or Epson
(reg. trademark) compatible graphics printer is required for the
strip chart. IBM or Epson-compatible printers without graphics
capabilities will suffice if charting is not needed.

A.    GETTING STARTED

     First install the A/D card. Make note of the address
selection switch setting before closing the case. Follow the
instructions in the installation section of that manual for
connecting analog inputs. Also attach any external thermometers
or multiplexers at this time. To install your software on drive
C:, follow this procedure:

     1. Create a PC64 directory on drive C:

     2. Make the PC64 directory the current directory.

     3. Put the PC64 master disk in drive A. Make sure you see    
        the "C>" prompt.

     4. Type, COPY A:*.* C:

     The PC64 software is now on your hard drive. Put the
original in a safe place. If you want to save data on a floppy
disk you might want to format a data disk now, if your data is to
go to the hard drive, create a data directory now too. Data and
programs can be mixed in the same directory but separate data
directories are recommended. Before starting PC64, set the DOS
prompt to the disk containing the data logging program files.
Those files should be in the current directory. Type LOG to
begin.
For example, with a two floppy drive system with the system disk
in drive A: and the PC64 disk in drive B:, type B: <return> then
LOG <return>. To start the interpreted version, first start
BASIC. Then, if your working disk is in drive B, type RUN
"B:LQB3_SRC. For drive C, use RUN "C:LQB3_SRC.

      Shortly, the MAIN MENU will be displayed. It offers a
choice of 4 options: GATHER DATA, CONFIGURE SYSTEM, REPROCESS
FILES, or EXIT. Select option 2, CONFIGURE SYSTEM, to begin.

B.   SYSTEM CONFIGURATION

     In the course of the system configuration you will be asked
many questions. If you see the blinking cursor (underline symbol)
after a question, you will need to press the RETURN key after
your entry. Questions with Yes or No (Y/N) answers and statements
like PRESS SPACE TO CONTINUE are not accompanied by a cursor and
responses don't need to be followed by a RETURN. First select the
DEFINE DATA POINTS option from the configuration menu.

NOTE:  Pressing Ctrl Break may stop program execution. No harm
will be done to exit via Ctrl Break. However, using the built-in
exit point assures that all files will be closed, that the
printer will be returned to normal operating mode, and that
allocated memory will be released.

1.    DEFINE DATA POINTS

     You will be asked for the address code of the A/D converter,
ADC. See your A/D card manual. If other special purpose cards are
installed, entering an incorrect switch position may have
unexpected consequences. If you supply an incorrect code, or no
recognized A/D Card is installed, or if the switches are set
wrong, you will not be able to continue. Turn off the computer
and correct the situation before proceeding.

     After the switch position has been confirmed, you will see
10 numbered choices and four to six lettered choices. The
numbered choices comprise the possibilities for the data point's
configuration.

NOTE: The choices are slightly different if a thermocouple
thermometer is connected. The thermocouple configuration
procedure will be described shortly.

     Type the number of each option in turn to familiarize
yourself with them. Random answers in this section can do no harm
and can be readily revised. PC64 will accept any configuration
parameters which will produce meaningful results. If a value that
you enter is not accepted, try entering a more moderate number.

  1).  INPUT CHANNEL
     Enter the number (0 to 3) of the input channel which is
connected to the source for data point 1. The data point number
reflects only the order in which the data will be gathered and
printed. Input channels can be sampled in any sequence.

  2).  EXTERNAL DEVICE TYPE
     If an external device is connected, enter the appropriate
code. If you select "T" for thermometer, you will be asked for
the K constant of the Model 20 or Model 35 which is connected to
that channel. The configuration changes for thermometry. See
below.

  3).  EXTERNAL DEVICE CHANNEL (if any)
     If an external device is connected, enter the channel number
for this data point. For a Model 17B multiplexer, enter 0 to 15.

  4).  LABEL
     Each data point is given its own label. Labels can be from 1
to 8 characters long. Longer entries will be shortened. If you
want to generate DADiSP (reg. trademark) compatible files, you
should not include any blank spaces in the label or units Label.
If you use a one- or two-character label, you may want to add
several periods for a clearer display. For example:

      XX.....

NOTE: Do not include quote marks in labels.

  5).  UNITS
     The units are from 0 to 5 characters long. Longer entries
will be shortened.

  6).  DECIMAL PLACES TO DISPLAY
     Between 0 and five decimal places can be shown. Select the
appropriate number for the clearest display. Remember that the
maximum number of significant digits is five (16-bit resolution)
and that the formatted reading must fit in an eight-place field
including the sign and decimal point.

  7).  OFFSET FACTOR
     The formatting formula is READING = (COUNTS + OFFSET) *
SCALING. (The symbol "*" indicates multiplication.) Suppose, for
example, you have a 1-to-4 volt signal and you wish to display
the result in millivolts as a number between 0 and 3000. The
reading will be 1000 at 1 volt so an offset factor of -1000 must
be added to the count for a reading of zero. See TABLE 1 for
often used offset and scaling factors. The offset factor can also
be used to replace a hardware zero trim adjustment providing that
the "zero" voltage is within the input range of the A/D card.

  8).  SCALING FACTOR
     The scaling factor is normally between 0.001 and 100. It can
be used as a software gain adjustment, to convert the answer to
the desired units, or as a combination of the two. In the above
example the full scale reading would be 4000 plus an offset of
-1000 equals 3000. To convert that to a reading of 100% of full
scale use 100 = 3000 * SCALING or SCALING = 0.033333. See TABLE
1.

NOTE: If the scaling factor is zero, no formatted reading will be
shown and the data point will be skipped during data gathering.


TABLE 1:  TYPICAL OFFSET & SCALING FACTORS

Signal        Units        Offset         Scaling
-------------------------------------------------
+/-5V         Volts            0            0.001
+/-5V         MV               0            1
+/-2V         %             2000            0.025
0-4V          %                0            0.025
4-20MA*       %             -400            0.0625
4-20MA*       MA            -400            0.01

*assuming a 100 ohm terminating resistor

   FORMATTED READING
     The formatted reading is shown here in the same form as it
will appear on the screen. If the offset factor is zero and the
scaling factor is one then the formatted reading will read
directly in millivolts. The formatted reading can be used to
confirm that the hardware is properly connected. A percent sign
added in front of the formatted reading indicates that the
reading has overflowed the allotted number of digits. Reduce the
number of decimal places or scale the reading as a smaller
number. If formatted readings are allowed to overflow their
fields during data gathering, the display and printout may be
hard to read.

  9).  HIGH ALARM LIMIT
    A maximum formatted reading can be specified. If the reading
is above the specified limit, it will be displayed in inverse
characters on the screen and emphasized on the printer log. If
audible alarms are selected, a tone will sound each time an out
of range number is displayed. Entering 0 instead of a limit
disables the alarm for that channel. If a high alarm limit of
zero is desired, enter a small non-zero number like .0001.

  0).  LOW ALARM LIMIT
     The low alarm sets a minimum formatted reading. If the low
limit is exceeded the same actions are taken as for the high
limit.

     If you have a thermocouple thermometer connected to the
input channel, the configuration will be the same except as noted
below:

  1).  INPUT CHANNEL
     For maximum accuracy, thermocouples connected to the same
thermocouple thermometer should be grouped in the sampling
sequence.

  3).  THERMOCOUPLE NUMBER
     Enter the number of the thermocouple for this data point.

  5).  TEMPERATURE SCALE
     Scaling is automatic for readings in C, F or K.



  7).  THERMOCOUPLE TYPE
     Enter the letter designation of the thermocouple connected
to this channel. Types E, J, K, S and T are supported. Different
types can be mixed on the same thermocouple thermometer.

Note: You must enter the thermocouple type before leaving the
data point.

  8).  GAIN (G factor)
     Enter the G factor for the thermocouple thermometer
connected to the selected input channel. Individual thermocouples
can be calibrated by making slight adjustments in this factor.

NOTE: No formatted reading will be displayed if the gain factor
is exactly zero.

  COLD JUNCTION TEMPERATURE
    The cold junction temperature is shown for reference in the
selected temperature scale. The cold junction temperature should
be close to room temperature. If you suspect the cold junction
calibration is in error, place the thermocouple for this channel
in a room temperature bath with an accurate thermometer. If the
formatted reading does not agree with the bath thermometer,
select option 2 and adjust the K factor. Increasing the K factor
by .01 will reduce the reading by approximately .2 degrees C.

NOTE:  If the cold junction temperature reads as absolute zero,
either there is no thermometer connected to the selected channel,
the thermometer is not powered, or the guard connection is
missing between the Model 20 or Model 35 and the A/D card.

  LETTERED OPTIONS

M for menu

     Pressing M returns you to the configuration menu.

N for next

     Pressing N allows you to configure the next data point in
sequence. Data point numbers may be left unassigned. During
sampling, all assigned data points will be sampled and displayed
in ascending order of data point number.

S for skip

     After pressing S, you will be prompted for the data point
number you wish to skip to. The number must be between 1 and 64.

D for delete this one

     Selecting D will zero all values and erase all labels for
the current data point. Other data points are unchanged. Deleted
data points will not be sampled or displayed during the data
gathering process. If you want to temporarily remove a data point
from the sampling sequence you do not have to delete it and then
re-enter all the parameters.
Instead you can change the scaling factor (or gain) to zero. That
causes the data point to be ignored during the sampling process.
When you want to reinstate the data point, only the scaling (or
gain) need be re-entered.

Note: Data points that are included in a high speed burst (Model
134 only) can not be deleted or the scaling factor (gain) set to
zero, unless they are first removed from the burst.

Z for zero

     Selecting this option adjusts the offset factor to obtain a
reading of zero. This feature is useful for zeroing amplifier or
sensor offsets. The Z command is disabled for thermocouple data
points.

T for Toggle (for Model 141 only)

     Selecting this option causes the FORMATTED READING line to
toggle between displaying the current reading and the word
"DATA". This allows you to quickly change datapoint parameters
without waiting for the A/D to settle. This feature is
particularly useful at the slowest Model 141 clock rate.

Next select option 2, DEFINE DATA RUN

2.    DEFINE DATA RUN

     First you will be asked if you want to change the storage
interval. The storage interval is the period for writing one scan
to the disk or logging (or charting) on a printer. An N (for
next) answer will bring on the next question. After a C (for
change) answer you will be asked to supply hours, minutes, and
seconds. The maximum storage interval is 24 hours. If you enter 0
hours, 0 minutes and 90 seconds it will be translated to 0 hours,
1 minute and 30 seconds. If you select an interval which is
shorter than the time required for one scan, the sampling will
proceed at the maximum attainable rate. Note that under those
circumstances the storage intervals will not necessarily be
constant.

     Select now for audible or silent alarms. Selecting audible
alarms causes the computer to beep every time an out-of-limits
channel is sampled. Regardless of alarm status, limits violations
are displayed in inverse video.

     PC64 software is equipped with an autostop feature which
allows sampling to stop after a preprogrammed number of sample
intervals. If you wish to change the autostop status, enter C
(for change). Then you may enter the number of intervals to
complete before execution stops. Enter zero for continuous or
manually terminated sampling.

     Next you may choose automatic data storage on disk or no
automatic data storage. The data will be stored in a ASCII file.
The first file entry will be the interval number. The next entry
will be the time.
Next comes one entry for each of the displayed data points in
ascending order. Subsequent scans follow in the same fashion.

     If a Model 134 or 141 is being used, you can now adjust the
digital filtration. Averaging more readings reduces noise but
slows the scanning rate. You may want to increase the averaging
factor to obtain a readable display.

     If a Model 141 is being used, you can select Auto-Calibrate 
to be ON or OFF. If Auto-Calibrate is ON, then in the Gather Data
section a calibration is performed every auto-store interval.

     After the data collection has been defined, the
configuration menu will reappear. Now, select option 3, DEFINE
PRINTER OUTPUT.

3.    DEFINE PRINTER OUTPUT

    If your system has an IBM graphics printer or an Epson
compatible printer with graphics, then all features are available
to you. The strip chart may or may not work with other printers.
The printer can be off, it can log the data or it can plot up to
16 channels. When the printer is set to log, all the data that
appears on the screen is printed after each storage interval. If
you select the printer off or printer log option, no further
printer configuration is necessary and you will be returned to
the configuration menu. The printer is assumed to be at LPT1.

CONFIGURING THE STRIPCHART

     Any 16 channels can be chosen for charting. All will be
plotted on the same scale. If channels formatted in different
units are to be plotted on the strip chart, you may need to
change some formatting factors to get a clear presentation. The
baseline can be offset in either the plus or minus direction. The
full scale reading must be a positive number. For example, if
temperatures between -20 and 280 degrees C are to be plotted, the
baseline could be set at -20 degrees C with a full scale reading
of 280. Index marks are placed on the Y axis. The Y axis
resolution is 1 part in 850, with a maximum of 16 index marks.

     Index marks are placed every ten scans. Also, each tenth
scan is labeled with the time in hours, minutes and seconds.
Points falling outside the scale limits are not plotted. You will
be asked for the full scale reading, the base line reading, the
label and units label for the Y axis, the scale division
interval, and the number of channels to plot. Next, you supply
the data point numbers of the channels to plot. The label for the
selected data point is shown for confirmation. After all the
channels have been assigned you will be returned to the
configuration menu.

4.    DEFINE BURST

     The Define Burst section is available only if a Model 134
A/D card is present. The burst is a high-speed block of data
taken from the previously defined data points.
The burst data is stored in raw form on the disk and rewritten
later in engineering units in the appropriate file type. Up to 41
bursts can be gathered before reprocessing. Bursts are triggered
from the keyboard or by pulling the digital input low.

     In the define burst section, you are first asked if you want
to check the system timing. This check needs to be done only once
on any one computer unless the clock rate is changed. If you
select T for Timing the length of one delay count will be
established. You will normally press the space bar to continue.

     Next, you are asked for the path specification for the burst
files. The path should include the drive letter and can include
directories and subdirectories as well. If you specify a
directory that does not exist, an error message will occur when
the attempt is made to store the burst. If the path is the drive
designation only (for example A:), the burst files will be placed
in the root directory on that drive. When directories are
included in the path specification, make sure to add a backslash
as the last character, i.e. C:\DATA\ for a directory called DATA
on drive C.

     Next select for 8- or 16-bit burst resolution. The 8-bit
bursts require half the memory buffer space and run twice as
fast, but have much less resolution.

     The compiled version automatically allocates all free memory
for burst buffer space. In the interpreted version, you will be
asked for the address to begin the data table at. It is generally
satisfactory to use the exact address suggested. NOTE: Memory
resident programs may not be recognized. Unrecognized programs
may cause unpredictable results. Also, for DOS Versions 4 and 5,
ignore the recommended starting address. You should usually start
the data table at 128K or above.

     Next, you will be asked for an inter-channel delay count. If
a Model 17 or 20 or 35 is in use, a delay of 0.5 milliseconds is
recommended. Too small a number can result in meaningless data.
(Much faster switching is obtainable. Contact Lawson Labs for
details.) If no external multiplexer is in use, a count of 0 is
fine.

     Next you can opt for digital averaging of each point. For
minimum scatter, you should average as much as your scanning rate
will allow. Values from 0 to 16384 may be used. The value you
enter is converted to a power of 2.

     Next enter the number of data points per scan. That number
can be one, or any number up to the number of data points that
you have defined. Each burst scan will begin with the first
defined data point and end after scanning the number of data
points specified. This feature allows a larger number of points
to be monitored in low speed logging than in burst mode.

     Next, after a self-timing check, enter the desired scan
rate. If you enter a rate higher than can be achieved, the
maximum available rate is displayed.
If an interchannel delay is required, you may need to sample at a
rate slightly slower than the maximum. Otherwise, the first point
in successive scans may not be read properly. Note that the
self-timing is only redone as necessary.

     Last, you will be asked for the number of scans in the
burst. In the compiled version only, you will not be permitted to
exceed available memory. In the interpreted version, you should
double check the data buffer addresses. A summary of the burst
will now be displayed. If you answer N to the "Is everything
correct?" prompt you will get another pass through the burst
definition. If you answer Y, you are given the opportunity to
verify the burst timing. You will normally want to verify the
timing to assure that the nominal rate is within a percent of the
actual rate. If the nominal rate cannot be reached within that
one percent, an achievable  rate will be proposed. Next, the
configuration menu returns.

     When you are satisfied with the configuration, select option
5, RETURN TO MAIN MENU.

5.    RETURN TO MAIN MENU

     After selecting option 5, You will be asked if you want to
save the configuration. If you have made substantial changes to
the configuration you will almost always reply Y (for yes) to the
prompt. If you don't save the configuration, the most recent
version will remain in effect until program execution stops. When
PC64 is restarted it will begin from the most recently saved
configuration. If you want different configurations for different
purposes, make additional copies of the working disk and
configure (and label) them accordingly, or keep the different
versions in different directories. If you use more than one
configuration, make certain that you reprocess files with the
same configuration that was used to gather the data. If you are
saving the configuration, you will be asked if you want to save
it on drive A, B, C, or D. You will normally want to keep the
configuration file on the disk which contains the PC64 software.
The configuration file will always be written to the current
directory on the selected disk. Note that the configuration is
held in two files, one an ASCII file called CONFIG and the other,
a binary file called SAMARRAY.BAS

     Next you will be asked if you want to print the
configuration. It is good practice to have printouts of any
configurations with active files as insurance against disk
failure. A printout will also reveal any data points that may
have been overlooked. For example, if you delete a block of data
points in the middle of a configuration, the higher numbered data
points may be forgotten. If you choose not to print or when the
printout is complete, you will be returned to the MAIN MENU. Some
configurations can be constructed in a few minutes, but some
large systems take much longer to configure. Once you are
satisfied with your configuration, especially if it is of the
second type, you may want to make a backup copy of the
configuration for your files.

C.    OPERATION

     In the GATHER DATA section, the inputs are displayed on the
screen and continually updated. Shortly before the end of the
storage interval, screen updating is suspended.
Then a properly timed scan is completed and the data is stored on
disk and/or printed or charted as required. The data collection
process is begun by selecting the GATHER DATA option and is ended
either automatically when the preselected number of scans has
been completed, or manually by pressing the Esc key.

     Pressing CTRL RESET may also stop the logging process
although using CTRL RESET isn't recommended. The data logging
process is described in detail below.

     Select the GATHER DATA option from the main menu. If
automatic disk storage is selected you will then be prompted for
a name for the data file or D (for directory). If you give the
name of an existing file, the original file will be lost. If your
data disk is not in the specified drive, put it there at this
time. You can precede the file name with a path specification if
desired, i.e \TESTA\CYCLE1. If the printer is to be used, you
will be asked to make sure it is turned on. If the strip chart
mode is selected, the channel labels and y axis will be printed
now.

     The first scan is then started and the results are
displayed. The date and the time are shown in the upper left
corner of the screen. Pressing Esc terminates the sample run. If
a Model 141 A/D card is in present, pressing * will begin a
calibration.

     If a Model 134 is in use and valid burst files were defined,
the message "Press Esc to stop or * for burst" will appear in the
upper corner of the screen. Pressing * causes a burst to be
gathered and saved on the disk. Pulling the digital input line to
ground will also start a burst. A burst started by the digital
input is signaled by a beep from the computer. Bursts begun from
the keyboard always run to conclusion. Bursts triggered by the
digital input continue to completion only if the input is held
low. When the digital input returns high, the burst is cut short.
Forty-one bursts can be saved during logging. The burst files are
assigned a name based on the time the burst was begun, i.e.
03_58_03.BRS. If a burst is longer than 65520 bytes, the burst
will be saved as multiple files. Successive files will have the
letters A, B, C, etc. inserted in place of the second underscore,
i.e. 03_58A03.BRS.

     If the printer is being used and is taken off line during
data gathering, sampling will stop. A disk error with the
autostore feature active will also stop sampling. When the
problem is corrected a new sampling run should be started. The
most common reason for the premature end of a logging session is
a disk full error. In some cases under the interpreter, program
execution can be resumed with a CONT command after the problem
has been rectified.


D.    REPROCESSING FILES

     At the end of logging, if one or more bursts were executed,
you will be able to rewrite the .BRS files as sequential text
files suitable for importation by LOTUS 1 2 3 (reg. trademark) or
as DADiSP (reg. trademark) files, or both. The Lotus files have
the same name as the .BRS files, but carry a .PRN file extension.
The DADiSP files are placed in their own subdirectory.

     It is not necessary to reprocess the files before exiting
the logging software. In fact, it is a good idea to exit and make
a back-up copy of your burst files before reprocessing. (If you
changed the configuration, make sure to save it before exiting.)
Then restart LOG and select the reprocess files option. After
bursts have been taken and before reprocessing, the burst disk
will contain an extra file, called SBRSNAME, holding the
information required for reprocessing. That file is erased when
reprocessing is done. If additional bursts are saved before
reprocessing, the information will be added at the end of the
SBRSNAME file. Make sure there is no stray SBRSNAME file on your
burst disk when you begin to gather data.

     When you select REPROCESS FILES, the SBRSNAME file is
located in the burst directory (or on the burst disk). If none is
found, you will be returned to the MAIN MENU, otherwise, you will
be prompted for Lotus files, DADiSP files or both. Information
regarding the file currently being rewritten will be displayed on
the screen. After all files are rewritten you will return to the
MAIN MENU. Be patient; the reprocessing of long files can be time
consuming. The speed of the compiled version is particularly
valuable during file reprocessing. At any time during
reprocessing, pressing Esc will abort the rewriting of the file
in progress. Reprocessing will continue with the next .BRS file.
The .PRN files and DADiSP files are standard ASCII files which
can be viewed or printed using the DOS TYPE command.

     The Lotus files are similar to the .PRN files written by the
GATHER DATA section. The first entry is the scan number, the
second is the nominal elapsed time since the beginning of the
burst, and the next is the first data point formatted in
engineering units. The remaining points in the scan follow. The
next scan begins on the next line. When imported into Lotus 1 2
3, the first column contains the scan numbers, the second the
elapsed times, and the succeeding columns are the data points.

     For DADiSP files, a subdirectory is created for each .BRS
file. That subdirectory has the same name as the .BRS file and it
contains a separate file for each datapoint. The files are simply
named 1, 2, 3, 4 etc. For example, the DOS command TYPE
03_58_03\1 would write the first data point file on the screen.
DADiSP file headers are inserted at the start of the file. To the
extent possible, the pertinent information from the data point
configuration is inserted in the file headers. DADiSP doesn't
accept blank spaces in the label or units label, so you may have
to modify your configuration slightly.


     ASCII files occupy much more space than binary files so disk
full errors are apt to occur during the reprocessing of long
files. If you get a disk full error, move the SBRSNAME file plus
any files not yet completely rewritten to a fresh disk. Restart
LOG and reselect REPROCESS FILES.

NOTE: Do not change the configuration before reprocessing files.

E.    TROUBLESHOOTING

     Refer to the troubleshooting and background sections in the
appropriate manuals for help with hardware. If you find the
program won't load, first make sure that you are not trying to
read a disk formatted by a higher numbered DOS. If a "can't find
file" message appears when starting the compiled version, that
means either the DOS prompt needs to be set to the LOG disk or
that all the PC64 files are not in the current directory. The
compiled version uses 5 files: LOG.EXE, CONFIG, SAMARRAY.BAS,
BRUN30.EXE and USERLIB.EXE. The three .EXE files should be in the
current directory of the current drive when the program is
started.

     The interpreted version uses the files LQB3_SRC.BAS, CONFIG
and SAMMARRAY.BAS only.

     If the wrong configuration is loaded, there may be a file
named CONFIG on a second disk in another drive. PC64 will load
the first CONFIG file it finds. It will look in the current
directory only, first on the disk in drive C, then D, A, and B.
The SAMARRAY file should be with the CONFIG file.

     If extra points are displayed during sampling, print your
configuration to identify them.

     If a point is missing from the display, make certain that
the scaling (or gain) factor is not zero.

     If the interpreted version hangs up during the burst, check
for valid data table addresses.

     If an attempt to read a voltage causes the system to stop
running, make sure the ADC address is properly entered.

     If the "* for burst" message does not appear on the logging
screen, review DEFINE BURST in the configuration section and save
the configuration before selecting GATHER DATA.

     Contact Lawson Labs at 406 257-5355 or 800 321-5355 for help
with stubborn problems.

F.    MODIFYING YOUR SOFTWARE

     You can add your own routines for control output or other
special functions. Your routines should be called by a GOSUB
instruction at line 8340 in LQB3_SRC.BAS (or 8250 for the
LOG_SRC.BAS). Begin all your variable names with Z to avoid
conflict or use the FIND command to make sure that your variable
names are unique. The scaled reading for data point Z is
READING(Z). The high alarm, low alarm, scaling factor, and offset
factor for data point Z are at AH(Z), AL(Z), SC(Z) and OS(Z)
respectively. Note that Z is the data point number, and that data
point 1 is not necessarily the first reading displayed on the
screen. If you want to use the optically isolated output port on
the A/D card, use OUT ADC, ZCODE.

     If you want to recompile the modified code you will need
Microsoft's QuickBASIC version 3 or version 4.5. The standard
LOG.EXE version 5.1 program is compiled by QB3 because it is more
compact and faster. Different source code is provided for each
because of the differences in the two compilers. LQB3_SRC.BAS is
for QB3 and LOG_SRC.BAS is for QB 4.5. In either case, start
QuickBASIC with the libraries option (/l). For QB3, use the
USERLIB file provided with PC64 or build your own and include
USERLIB.OBJ. The ON ERROR GOTO, RESUME NEXT, and DEBUG options
must be selected at compile time. You must compile to an .EXE
file rather than to memory. See the program header of the
LOG_SRC.BAS file for notes on using QB4.5.

NOTE: For QB3, the line 1040 determines whether the code is
running under the interpreter. Change X in that line if the
program is renumbered.

G.    SPECIFICATIONS    PC64 Data Logging Software Package

GENERAL

               Supports Lawson Labs Model 140, 141 and 134 A/D
                    Cards and Model 17B, 20B and 35B Multiplexers
                         and Multiplexed Amplifiers
               Configurations from 1 to 64 channels
               Resolution of 8 or 16 bits
               Voltage, current or thermocouple inputs
               Storage rates from 1/day to 1/second
               Storage bursts available with Model 134
               Not copy-protected
               Compiled version of BASIC code provided
               Source code is available

Input Ranges

               +/- 5 volts or 
               4 to 20 milliamp current loop or
               +/-100MV with 7-Channel Amplifier
               All inputs are protected against overvoltage

Thermocouple Inputs

               Up to 56 Thermocouple inputs
               Linearizations for types J, K, T, S, & E
               Thermocouple types can be mixed
               Individual thermocouple calibration allowed
               One degree C accuracy, .1 degree C resolution
               All inputs are protected against overvoltage

Displayed Output

               Each channel is labeled; i.e. TEMP#1   319 
                  deg.C
               Individual offset and scaling factors for each 
                  channel
               Each channel is rounded to the desired precision
               High and low alarm limits for each channel
               Audible or silent alarms
               Any channel can be removed from the display 
                  output

Printer Output

               Log format includes time and all data points 
                  with labels
               Strip chart allows up to 16 channels to be 
                  plotted
               Strip chart resolution is 1 part in 850
               Selectable scaling and indexing for strip chart
               The entire configuration can be printed

Disk Output

               Automatic data storage at preset interval, if 
                  desired
               The scan #, time and scaled data are stored
               Files are Lotus 1 2 3 compatible
               Burst files can be LOTUS or DADiSP format

Minimum System Requirements

               256K IBM PC or compatible with one disk drive and
                  one Lawson Labs A/D card Model 134, 140, or 141
               A second disk drive is recommended
               IBM graphics printer (or Epson-compatible printer)
                  with graphics capabilities needed for strip 
                  chart


                     LIMITED WARRANTY

      All Lawson Labs, Inc. products are guaranteed against
defects in materials and workmanship for a period of one year
from the date of delivery. Products must be returned to Lawson
Labs for warranty service. Loan units are available during
servicing. Contact Lawson Labs, Inc. at 800 321-5355 for return
authorization before returning anything for service.

     The above warranty is in lieu of all warranties express or
implied. Lawson Labs will not be liable for indirect or
consequential damages caused by any defect in this product. Some
states do not allow the limitation of consequential damages, so
the above exclusion may not apply to you.

