home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 26
/
CD_ASCQ_26_1295.iso
/
vrac
/
fluke13.zip
/
FLUKECOM.DOC
< prev
next >
Wrap
Text File
|
1995-08-31
|
5KB
|
111 lines
*What is it?*
Flukecom is a command line interface which is used with Datastorm's
Procomm Plus for DOS 2.01 which allows you to talk with a Fluke Scopemeter 97.
It was developed and tested on several very low end PC's and a Mac running
SoftWindows (from Insignia). It is highly oriented towards data logging
and is not intended to compete with the Fluke offered software. It can be
used to make an "electronic chart recorder" or "timestamp when trigger"
type of device.
This should run on anything that works with Procomm Plus for DOS
(which is just about anything). Most of today's software has a
minimum of 286 or Windows requirement. This is really a shame since the old
PC's are great for data logging and terminals, which is exactly what this
is intended to do. Pull out that old PC and use it.
This has only been tested with a Fluke Scopemeter 97 running V4.02 software
but if you check the manuals for yours, it might work.
*Installation*
Place all of the supplied files into the directory where Procomm Plus for
DOS is stored (v2.01 recommended). You need to have the environment
variable PCPLUS set to this directory per the manual, e.g.
set pcplus=c:\pcplus
The software consists of the following files
flukeint.asp source for initialization
flukeint.asx compiled version of above (Execute this to start!)
flukecom.asp source for the main routine
flukecom.asx compiled version of the above
flukexit.asp source for the exit routine
flukexit.asx compiled version of the above
flukecom.h include file for compiling
flukecom.hlp online help file
null.* used with auto trigger function, see online help examples
sample.* sample waveform to send to meter
*.mac example macro files
flukecom.doc this file
makecsv.c source for binary to ascii conversion
makecsv.exe executable for binary to ascii conversion
Use the Procomm <alt>P command to set the default port for the meter. It
is not necessary to select the baud rate or any other parameters.
Execute the macro named flukeint. This may be done
with the <alt><f5> sequence and select flukeint. Alternatively, you may
do it from the command line with 'pcplus /fflukeint'. This is the
flukerun.bat supplied file. Finally, you can do it with an internally
defined metakey if you wish.
The script will autobaud to the meter on COM1. No settings or waveforms
will be lost during this process. If the meter is found, a version number
will be reported, otherwise the script will abort with an error message.
To get started type '? <cr>' at the 'flukecom>' prompt. This is a quick
explanation of the scripting capabilities. If you want more, you'll have
to look at the source but you really shouldn't need to.
* Licensing *
This script is freeware and it may be freely distributed. I maintain
copyright to this software so please distribute it with my name in it.
* Disclaimers *
I hate all of the usual stuff so here is my version.
It's free, it's not bug free!
NEITHER I NOR MY EMPLOYER MAKES NO WARRANTY OR REPRESENTATION, EITHER
EXPRESS OR IMPLIED, WITH RESPECT TO SOFTWARE, ITS QUALITY, PERFORMANCE,
MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. AS A RESULT, THIS
SOFTWARE IS OFFERED AS IS, AND YOU ARE ASSUMING THE ENTIRE RISK AS TO
ITS QUALITY AND PERFORMANCE.
IN NO EVENT WILL MYSELF OR MY EMPLOYER BE LIABLE FOR DIRECT, INDIRECT,
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT
IN THE SOFTWARE OR ITS DOCUMENTATION, even if advised of the possibility
of such damages. In particular, neither I nor my employer shall have any
liability for any programs or data stored in or used with this product,
including the costs of recovering such programs or data.
THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF
ALL OTHERS, ORAL OR WRITTEN, EXPRESS OR IMPLIED.
* Comments *
I wrote this in a hurry (between jobs as they say), and I will welcome
constructive comments and suggestions. Actual source for your recommendations
is even better. Depending on whether anyone actually uses this, I may
do further improvements. If you are interested in my personal comments
and bug list, check out the source.
Depending on interest, I could create a Procomm for Windows version or
possibly make a standalone version of this.
Comments may be sent to jlgroezinger@mmm.com
* Revision History *
V1.1, 6/28/95, cleaned up typos in various files, added additional
information about the main executing routine and the startup routine,
fixed bad bug in writing binary data to disk, added some additional
error checking to makecsv routine to look for files with less than 512
data bytes, added the init command, moved the version string to the
header file. Added a default of '*.*' to the dir command.
V1.2, 6/30/95, cleaned up typos in help file, speeded up autosync feature,
added optional parameter to timestamp to allow writing to file,
added get and put commands, added profile.mac feature
added error indication if directory didn't exist on change directory
fixed bug for long timeout on autosetup
V1.3, 8/31/95, fixed bug with null data in get_array routine