ExCaliper icon ExCaliper

Digital Caliper Control for Macintosh

(ExCaliper hardware requirements, download ExCaliper)


Detailed Information about ExCaliper

(Ver 2.00 Oct. 17, 1994, © A.Richard Palmer)


CONTENTS

INTRODUCTION
- FEATURES
- CONFIGURING ExCaliper FOR A NEW CALIPER
- STARTING A DATA SESSION

THE MENUS
- FILE MENU
- EDIT MENU
- COMMANDS MENU
- CALIPER MENU
- OPTIONS MENU

OPERATION
- USING THE TOOL BAR
- SELECTING THE ACTIVE CELL
- CREATING NEW ROWS/COLUMNS
- CHANGING ROW/COLUMN LABELS
- CHANGING COLUMN WIDTHS
- SPECIFYING IMPORT/EXPORT FORMAT
- SAFEGUARDS

TROUBLESHOOTING TIPS
- PROBLEMS WITH THE CALIPER
- OTHER PROBLEMS
- FILE/ARRAY SIZE LIMITS

HARDWARE REQUIREMENTS

SOFTWARE DISTRIBUTION

HOW TO REGISTER

REVISION HISTORY

DOWNLOAD ExCaliper VIA WWW


INTRODUCTION

FEATURES


CONFIGURING ExCaliper FOR A NEW CALIPER

1) Verify that you have the proper cable to connect from your caliper (usually RS232 protocol) to a Mac 8-pin serial port (RS422 protocol). Improper cables are THE most common source of problems with new calipers! With some, a 'High Speed Modem' cable may help.

2) Connect the cable to the Mac Communications (=phone) port.

3) Power up the caliper (if self powered) and select CALIPER COMMUNICATION SETTINGS... from the CALIPER menu.

4) Select a pre-defined caliper setting, if one is available for your caliper, or enter your own settings (see the manual for your caliper or harass the salesman who sold you the caliper for this info.).

5) Try taking measurements.

6) VERY IMPORTANT! Once you have confirmed the caliper is working and calibrated properly, select SAVE PREFERENCES from the FILE menu. This will ensure that ExCaliper starts up using the same settings in subsequent measurement sessions.

7) If you do not know the proper communications settings for your caliper, try the following. First, set '# Bytes in Input String' to 32. This doesn't seem to matter too much since if it is too large the trailing 'unsent' bytes will be ignored but if it is too small, the character string making up the number will be truncated. This may help you see if the string of numerals is preceded by a series of other characters. Second, set "# PauseTics" to 30 (0.5 sec between readings) to prevent ExCaliper from thinking more than one number is being sent at a time. Once your device is functioning, this may be reduced. Third, start modifying the communications settings and compare the 'symptoms' you observe with those listed under Troubleshooting Tips below.

If you continue to have problems, see Troubleshooting Tips below.


STARTING A DATA SESSION

1) Determine the order in which you wish to enter caliper measurements and/or numeric codes from the keyboard.

2) Select NEW COLUMNS from the COMMANDS menu and enter the labels for each column.

3) If specimens are to be measured in numeric order, select AUTONUMBER RECORDS to eliminate manual entry of each new specimen's label.

4) Start taking measurements.


THE MENUS


FILE MENU

OPEN\IMPORT

ExCaliper will attempt to interpret any ASCII text file. ExCaliper assumes: 1) the first line contains only column headings, 2) the first column of each subsequent line contains row labels, and 3) the remaining entries of each subsequent line contain data. Uninterpretable incoming data values are replaced by missing values in the imported file.

Unless you alter the format settings, ExCaliper assumes you are trying to read a tab-delimited ASCII text file. Should you have a truly weird file format, you may specify ANY single character as the column delimiter and ANY string of letters/numbers as a missing-value indicator (see FORMAT FOR SAVE\IMPORT...).

SAVE

Saves current data file, including row and column headings, as a tab-delimited ASCII text file. If you wish to save the data in some other format, see FORMAT FOR SAVE\IMPORT....

SAVE AS TEXT...

Prompts for a new file name before conducting a SAVE.

FORMAT FOR SAVE\IMPORT...

Allows the column delimiter and missing value indicator to be specified. Once changed, the new settings remain in effect throughout a session. Any ASCII character may be used for a column delimiter. Any ASCII character string (including a null string) may be used as a missing value indicator. To view the effects of these settings select PREVIEW SAVE... from the FILE menu, which will display the data in ASCII format on the screen. Because ExCaliper creates tab-delimited text files by default, and these can be read by nearly all Mac statistics, spreadsheet and graphics programs, you should only need to alter these settings if you need to create a file for some squidbrain IBM program (my sympathy).

PREVIEW SAVE

Crudely displays data in ASCII format as they will appear when SAVEd.

PRINT

Prints a crude ASCII text file to an ImageWriter printer for extra security. For a more orderly data listing, import the data into some other package (e.g. Statview or Excel) and print from there.

SAVE PREFERENCES

Saves a nearly all user definable settings so they need not be entered from scratch each session (see list under DEFAULT PREFERENCES)

USE DEFAULT PREFERENCES

Resets ALL user settable preferences to their default values. Data entries and existing row and column labels are not affected.

Default preferences are:
- caliper type (Fowler UltraCal III)
- caliper connection (communications = phone port)
- serial configuration variables (parity= even, # data bits= 7, # stop bits= 1, baud rate= 4800, total input buffer length= 9, first useful character= 1, # of useful characters= 8, 'check for +/-'= true)
- data entry order (L to R)
- audio feedback (ON),
- AUTONUMBER options [OFF; prefix ("Record #"), suffix (nothing), start (1), increment(1)]
- number of data columns (current # active columns)
- column labels (current column labels)
- column widths (8)
- row label widths (20)
- pause ticks (1)
- decimal places (3)
- caliper pause ticks (6)
- transformation constant (1.0)
- transformation operation (none)
- column delimiter (tab)
- missing value indicator (empty string= nothing)
- Show Tool Bar (true)
- Window size and position (Mac Plus size, centered on screen)

HELP

Displays this file.

QUIT

Read my lips . . Q U I T. Cliking in the close box will also quit.


EDIT MENU

UNDO/REDO LAST ENTRY

Reverts contents of a data cell to that prior to entering the most recent datum. REDO LAST ENTRY re-enters most recent datum.

CUT / COPY / PASTE

These actions may be applied to any currently selected data cell.

INSERT COLUMN / INSERT ROW / DELETE COLUMN / DELETE ROW

Insert/delete a column/row at the location of the currently selected data cell.


COMMANDS MENU

MISSING RECORD

Inserts a row filled with 'missing values' at the location of the currently selected data cell. Most useful when using the AUTONUMBER option and a specimen is missing from an ordered series.

NEW COLUMNS

A modal dialogue allows new 'active' columns to be created into which data may then be entered. Each active column can be given its own label at this point. Column labels may be changed at any time by clicking on them. Note that data may ONLY be entered into columns that have been 'activated' (this ensures that all measurements can be identified). Column labels are limited to 32 characters.

Normally, a session will begin by 'activating' and labelling each of the columns needed to contain anticipated measurements. If you plan to have multiple measurement sessions using the same column labels, save them using SAVE PREFERENCES.

NEW COLUMNS either begins activating columns starting at the currently selected cell, or at the next 'unactivated' column if the currently selected cell is in the last activated column. Thus, if some columns already exist, you may 'reactivate' them (e.g., re-label a series of pre-existing columns) by selecting the column at which you wish to begin relabelling before choosing NEW COLUMNS.

NEW ROWS

A modal dialogue allows new 'active' rows to be created into which data may then be entered. Each active row can be given its own label at this point. Row labels may be changed at any time by clicking on them. Note that data may ONLY be entered into rows that have been 'activated' (this ensures that all measurements can be identified).

Normally, rows need NOT be activated this way. Once columns have been activated, ExCaliper will automatically prompt for a new row label after the last entry in the last active row. Alternatively, new rows may be created and labelled automatically using AUTONUMBER RECORDS in the OPTIONS menu.

NEW ROWS either begins activating rows starting at the currently selected cell, or at the next 'unactivated' row if the currently selected cell is in the last activated row. Thus, if some rows already exist, you may 'reactivate' them (e.g., re-label a series of pre-existing rows) by selecting the column at which you wish to begin relabelling before choosing NEW ROWS.

NEW SAMPLE

Empties all cells (i.e., replaces their contents with the missing value indicator) and deletes all rows but the first one. This avoids having to reenter column labels but allows new rows to be created as needed. It has no effect on the AUTONUMBER settings.

CLEAR DATA

Empties all cells (i.e., replaces their contents with the missing value indicator) but leaves ALL row and column labels intact.

RESET

Deletes ALL rows and columns, and reverts all Preferences to their default settings (see list under USE DEFAULT PREFERENCES above).


CALIPER MENU

CALIPER COMMUNICATIONS SETTINGS...

Activates a versatile dialog box for adjusting the serial port settings. One of nine pre-defined caliper/interface settings may be selected, or a variety of communications settings may be set independently (parity, data bits, stop bits, baud rate).

In addition, you may also define aspects of the string of characters sent out by the caliper: (i) total input string length, (ii) position of first useful character in the data string, (iii) number of useful characters in the data string, and (iv) whether to check for +/- as the first data character. So, for example, if the caliper sends out a string like: AAAAA+###.##BBBBB¶ (A= leading non-data characters, B= trailing non-data characters, ¶= return/line end character), the proper settings would be (i)= 18, (ii)= 6, (iii)= 7.

The number of 'ticks' (60ths of a second) to wait before polling the caliper for additional data may also be set here. For fast computers, this may be reduced to 1, but on slower machines if it is set too short ExCaliper may attempt to input a second (garbage) datum following each valid entry. If you are having recurrent Bad Data warnings following a good datum, try increasing "# PauseTics" to 30 (0.5 sec between readings) to prevent ExCaliper from thinking more than one number is being sent at a time.

CHOOSE CALIPER PORT...

Allows serial input devices to input data from either the Communications Port or the Printer Port. The Printer Port may only be used for entering data if AppleTalk is turned off using the Chooser.

TEST CALIPER BYTESTREAM

Invokes a dialog box that allows ExCaliper to attempt to read ANY string of charaaters sent by a caliper. On request, ExCaliper continuously polls the caliper until some form of data is sent. Data are displayed byte by byte, along with the interpreted real number. This feature may help users determine the proper serial configuration settings for other caliper models (for help configuring a new caliper, see 'CONFIGURING ExCaliper FOR A NEW CALIPER' at the beginning of this help file).


OPTIONS MENU

AUDIO FEEDBACK

Toggles audio feedback on and off. When on, a short beep (distinct from the normal System beep) verifies receipt of a valid datum from the caliper. This may be convenient if you do not wish to check the screen after each measurement.

Default: on.

AUTONUMBER RECORDS...

Invokes a dialogue box that defines and initiates automatic numbering/labelling of subsequent records (rows). The generic form of the label is 'prefix##suffix'. When a new record is created, the prefix and suffix remain the same but the value for ## is incremented by a chosen amount (e.g., siteA 03 male --> siteA 04 male). New rows are added and records labelled only after the last field (column) is completed for the last active row.

When selected, four elements must be supplied: prefix, suffix, starting integer, increment integer. 'prefix' and 'suffix' may be any character string so long as the total number of characters (prefix + ## + suffix) does not exceed 50. Starting integer and increment integer may be any positive or negative integer.

Defaults: OFF (prefix= 'Record #', suffix= '', start= 1, incr= 1).

COLUMN WIDTH...

A modal dialogue accepts integer values from 4 - 32 to specify the column width of the screen display. Column width may also be changed by clicking on the column boundary lines between the column numbers at the top of the display area.

Default: 8.

DATA ENTRY ORDER...

Data entry may be either in row order (L to R) or in column order (top to bottom).

Default: L to R.

DATA TRANSFORM...

Allows simple arithmetic transformations (*, /, +, -) of incoming caliper data by a constant value (e.g. if measurements are taken from photographs whose magnification differs). Once activated, the constant is added, for example, to incoming data. This option ONLY affects subsequent incoming data, previously entered data remain unchanged.

Default: no transformation.

SET PRECISION...

A modal dialog box allows the number of decimal places to be specified (0 to 6). This only affects the number of decimal places displayed, not those in memory. However, this DOES determine the number of decimal places SAVED to disc.

Default: 3.

HIDE TOOLBAR

Toggles the toolbar visible or hidden.

Default: visible.


OPERATION


USING THE TOOL BAR

The tool bar makes commonly used program features available at a single click of the mouse. All of these features are also available as menu items. The tool bar also lists the current number of active columns (#C), active rows (#R) and data elements changed (#NS) since the last save. If you wish additional screen 'real estate', the tool bar may be hidden by selecting HIDE TOOLBAR from the OPTIONS menu.


SELECTING THE ACTIVE CELL

Regardless of which cell it is, incoming data will ALWAYS be placed in the active cell (displayed in inverse mode on the screen). Only cells within defined rows and columns (to the left or above the dashed lines on the display) may be selected as the active cell. Note that any pre-existing data in a cell will be lost (NO WARNING IS GIVEN). Thus, to replace an erroneous measurement, simply make the offending cell the active cell and take a new measurement.

MOUSING
1) To make any cell the active cell, click on it with the mouse.
2) Clicking on 'home' makes cell 1 of row 1 the active cell.

VIA THE KEYBOARD

1) Pressing tab, return or enter moves the active cell one cell to the right or once cell down depending on the setting of DATA ENTRY ORDER.
2) Cursor control keys move the active cell up, down, left, or right one cell depending on the key.


CHANGING ROW/COLUMN LABELS

Existing row/column labels may be altered at any time by clicking on them and entering the revised label into the dialogue box.


CHANGING COLUMN WIDTHS

The width of data columns or the row-label column may be changed at any time by clicking on the boundary lines between column labels or numbers. Column widths may also be set via COLUMN WIDTH... in the OPTIONS menu.


SPECIFYING IMPORT/EXPORT FORMAT

Both the column delimiter and the character string used to identify missing values may be set via FORMAT FOR SAVE\IMPORT... in the FILE menu. These settings are used by ALL subsequent OPEN, SAVE, and SAVE AS... operations.


SAFEGUARDS

1) Invalid data (not a valid real number) from the caliper will trigger an 'alert' beep which is audibly different from the normal audio feedback. If the alert persists, see Troubleshooting Tips below.
2) If any data have not yet been saved to disk (i.e., if #NS in the status box is not equal to zero), a dialogue box requests verification before any of the following operations:

a) DELETE row or column
b) NEW COLUMNS or NEW ROWS (only when the active cell is not in the last column or row respectively)
c) NEW SAMPLE
d) CLEAR DATA
e) RESET
f) QUIT


TROUBLESHOOTING TIPS


PROBLEMS WITH THE CALIPER

The solution to the following problems lies in setting the 'Caliper Communication Settings' properly:

PROBLEM: ExCaliper does not respond at ALL when data are sent by the caliper. PROBABLE CAUSES: 1) bad cable (see 'CONFIGURING ExCaliper FOR A NEW CALIPER' above), 2) DATA BITS too high or too low.

PROBLEM: ExCaliper appears to receive a null string. PROBABLE CAUSE: bad parity).

PROBLEM: ExCaliper shows some of the proper digits, but appears to lose characters in the middle. PROBABLE CAUSE: bad parity.

PROBLEM: ExCaliper shows a string that consists entirely of ¿ except for the first and last character. PROBABLE CAUSE: DATA BITS too low.

PROBLEM: ExCaliper receives a very short character string (2 or 3 characters), usually of gibberish, and the gibberish CHANGES from trial to trial even though the caliper is sending the same number PROBABLE CAUSE: BAUD RATE too LOW by more than one setting level.

PROBLEM: ExCaliper receives a very short character string (2 or 3 characters), usually of gibberish, and the gibberish REMAINS THE SAME from trial to trial even though the caliper is sending the same number (BAUD RATE too HIGH by more than one setting level)

PROBLEM: ExCaliper receives a slightly longer character string (4 or 5 characters), and the characters tend to remain the same if the number sent by the caliper is the same. PROBABLE CAUSE: BAUD RATE too low, but probably only by one setting level.

PROBLEM: ExCaliper receives a longer character string (10 or 12 characters), usually of gibberish, and the gibberish changes from trial to trial even though the caliper is sending the same number PROBABLE CAUSE: BAUD RATE too high, but probably only by one setting level.

PROBLEM: ExCaliper receives a valid number, but this is followed immediately by a bad datum warning ALERT beep. PROBABLE CAUSE: PAUSE TICKS too low.

PROBLEM: The display on the caliper reads 'error'. PROBABLE CAUSE: the caliper itself has become disoriented (poor thing). SOLUTION: press the on/off button to reset it.


OTHER PROBLEMS

PROBLEM: The text string of column labels spills over into adjacent columns. SOLUTION: Increase the column width by clicking on the boundary lines between column labels or numbers or by selecting COLUMN WIDTH... from the OPTIONS menu.

PROBLEM: ExCaliper will not allow you to select a cell that is visible on the screen. CAUSE: The cell you have tried to select is not 'activated' yet (i.e., it is to the right of or below the dashed lines bounding the active region). SOLUTION: Use NEW COLUMN or NEW ROW to increase the number of active columns or rows.

PROBLEM: ExCaliper will not allow you to SAVE your data. CAUSE: The data have already been saved, or the file has just been opened.

PROBLEM: ExCaliper is not able to OPEN a previously saved file correctly. CAUSE: The settings of the FORMAT FOR SAVE\IMPORT have changed. SOLUTION: Try viewing the file in a word processor to determine what the column delimiter and missing value indicators are.

PROBLEM: The PREVIEW SAVE window appears to show that the data in a single row are spread over several rows. CAUSE: This is not a problem, long rows are simply being 'wrapped' around to the next line so that you can view the end of a row. When saved to disc, carriage returns are only placed after the last element in a row.

PROBLEM: ExCaliper always seems to takes a VERY long time to start up. CAUSE: This is normal because ExCaliper must initialize a large data matrix before a session can start.

PROBLEM: None of the features of ExCaliper are available when the HELP or PREVIEW SAVE window is open. CAUSE: This is normal, close the HELP or PREVIEW SAVE window to continue taking data.

PROBLEM: You have honorably registered your copy, but continue to be prompted to register again each time you start ExCaliper . CAUSE: ExCaliper keeps track of certain hardware characteristics of the computer on which it was initially registered, and you have either tried to run it on another computer or changed some of your hardware. SOLUTION: Simply re-enter the registration information.


FILE/ARRAY SIZE LIMITS

MAXIMUM DATA ROWS= 500
MAXIMUM DATA COLUMNS= 100
MAXIMUM RECORD NAME LENGTH= 50
MAXIMUM FIELD NAME LENGTH= 32


HARDWARE REQUIREMENTS

ExCaliper should run on all machines from the Mac Plus onwards. It has been confirmed to run on a Mac Plus (Sys. 6 or later), Classic II, LC475, and CENTRIS/QUADRA 660 (Sys. 7.1), PowerMac 6100/60. It has also been confirmed to read data from Mettler digital balances.

ExCaliper & USB:


SOFTWARE DISTRIBUTION

ExCaliper is a Shareware program. It may be distributed free of charge so long as it accompanied by this help file. In the honorable tradition that keeps such customized software cheap and available for you to use, I encourage you to become a registered user if you use ExCaliper regularly.

ExCaliper may not be sold or bundled with other software/hardware without expressed written consent of the copyright holder:

A. Richard Palmer
Department of Biological Sciences
University of Alberta
Edmonton, AB T6G 2E9
CANADA

Phone: (780) 492-3633
E-mail: ARP email


HOW TO REGISTER

If you wish to become a registered owner and receive a) the most current version of the program, b) troubleshooting advice, and ) notices of future upgrades then:

1) Contact me first to verify the current price and version.

2) Send me a personal check or money order for $30 US, $40 CDN or £20 UK, along with your E-mail or snail-mail address.

3) If you already have the most recent version, I will supply you with an authorization code.

4) If you do not have the most recent version, I will mail you ExCaliper on a floppy disk of your choosing (800K, 1400K) at no extra charge.

5) Once you receive the authorization code, enter it in the AUTHORIZATION field in the registration dialog. Be careful to enter it EXACTLY as you receive it, since the validation is case sensitive.

6) Enter your name and organization in the proper fields of the registration dialog.

7) Bask in the glow of knowing you are an honorable shareware citizen.


REVISION HISTORY

1.50 - user-settable serial port settings.

1.51 - increase data matrix size: Max Columns= 100, Max Rows= 500.

1.52 - adapt for Fowler UltraCal III and minor bug fixes.

1.53 - prevent conflicts with AppleTalk when caliper is attached to printer port (9/8/94)
- expand caliper menu to include: Mitutoyo, MRS100 interface; Mitutoyo, MUX10 interface; Sylvac interface; Gageport interface; Zubair interface; Starret model 722; NSK interface
- allow user control of: total input string length, first useful characters, total useful characters
- increased versatility and detail produced by Test Caliper

1.54 - limit the Max # sequential bad data readings before allowing user to reset serial settings (9/11/94)
- Move ALL pre-defined caliper types and Pause Ticks settings Caliper Settings dialog box

1.55 - all AutoNumber settings now set from a single dialog (9/12/94)
- zooming and resizing of data window

1.58 - add scroll bars 9/17/94

1.61 - create ToolBar 9/18/94

1.64 - permit SAVE and SAVE AS... 10/4/94

1.65 - allow OPEN/IMPORT of previously saved files 10/8/94
- permit window settings to be saved w/prefs

1.66 - more detailed IO error checking/handling
- add welcome DLOG and registration protocol
- permit CUT/COPY/PASTE of single cell values
- monitor memory and warn if low

2.00 - update Help file and minor bug fixes (10/16/94)


DOWNLOAD ExCaliper VIA WWW

You may download a fully functional shareware version of ExCaliper (ver. 2.02d*; downlaod size is 89K) to explore its utility. This file is in a Macintosh self-extracting archive coded in BinHex 4.0 format. Most web-browsers should automatically convert the BinHex file to the self-extracting archive. Please read the notes regarding SOFTWARE DISTRIBUTION.

Should you wish to become a registered shareware user, see HOW TO REGISTER.


A.R. Palmer Home Page

Program, help file & WWW page copyright © 1997-2003 by A. Richard Palmer. All rights reserved.
(revised May 26, 2003)

caliper jockeys have been here since Jan. 1, 1997