

                       Sample Frye RS232 Interface Programs        
                                 06/22/00 -med 

        Sample programs have been provided to assist the programmer in 
        getting up to speed as quickly as possible in using the 
        FRYERS.COM program to communicate to Frye Electronics 
        instrumentation.  The various sample programs are actually one 
        program that has been written in the various popular languages 
        found on the PC. 

        The files included in this directory are:

             FSAMPLES.DOC - This documentation file
             ACURVE.COM   - Assembler program binary
             F-DEMO.BAT   - Sample Batch file to run sample ACURVE demo
             FSAMPLES.PAK - Packed archive of source files

        The following files are included in the FSAMPLES.PAK archive:

             PROGRAMS.DOC - Documentation describing operation
             ACURVE.ASM   - Assembler program source
             GWCURVE.BAS  - Microsoft Basic program source
             TBCURVE.BAS  - Turbo Basic program source
             TCCURVE.C    - Turbo C program source
             TP3CURVE.PAS - Turbo Pascal V3 program source
             TP4CURVE.PAS - Turbo Pascal V4+ program source (cga)
             TP6CURVE.PAS - Turbo Pascal V6+ program source (vga)
             TPWCURVE.PAS - Turbo Pascal for Windows program source 
             FRYE.RES     - Resource file for Windows program
             BGI256.BGI   - BGI driver for TP6CURVE program
             BGI256.OBJ   - linkable BGI driver for TP6CURVE program
             DOSCRT.PAS   - DOS Crt Emulation Unit for Windows 
             D1CURVE.DPR  - Delphi1 main program file
             D1CURVE.RES  - Delphi1 resource file 
             D2CURVE.DPR  - Delphi2 main program file (also Delphi3)
             D2CURVE.RES  - Delphi2 resource file 
             DCFORM.PAS   - Delphi form unit (for D1Curve and D2Curve)
             DCFORM.DFM   - Delphi form definition (for D1 and D2)
             DCUNIT.PAS   - Delphi code unit (for D1 and D2)
             FRYEREGS.INC - Fryers interface Pascal record definition
             BCURVE.MAK   - C++Builder make file 
             BCURVE.CPP   - C++Builder main source file
             BCURVE.RES   - C++Builder resource file
             BCFORM.CPP   - C++Builder form unit 
             BCFORM.H     - C++Builder form unit header file
             BCFORM.DFM   - C++Builder form definition 
             BCUNIT.CPP   - C++Builder code unit 
             BCUNIT.H     - C++Builder code unit header file
             FRYERS.CPP   - C++Builder Fryers interface unit 
             FRYERS.H     - C++Builder Fryers interface header file
             VBCURVE.MAK  - Visual Basic V4.0 make file (16 and 32 bit)
             VBCFORM.FRM  - Visual Basic V4.0 form definition
             VBCRV1.BAS   - Visual Basic V4.0 source code modual



                                        1


        The programs provided are actual working prototypes designed to 
        request a response curve (curve zero) from  the instrument, in 
        this case the Model 6500 or FP40 analyzer, and display the 
        curve on the PC's screen in graphic form. 

        The programs all provide the same information and display. This 
        allows the programmer to see how the  various programming 
        languages interact with the FRYERS driver so that the best tool 
        for the job at hand can be selected.

        The F-DEMO batch program has been provided to show how to run a 
        sample program. 

        Requirements:
        The sample programs require an IBM PC or compatible computer with 
        a CGA, EGA, VGA or compatible graphics display.  You will also 
        need a serial port assigned to COM1. While the programs will run 
        without an instrument being connected, a response curve cannot be 
        displayed unless an instrument with the RS232 option is attached 
        to the PC's COM1 port to provide the data.

        To run the sample programs:
        1. Connect the Model 6500, FP40 or FP35 to the PC's COM1 port. 
        2. For MSDOS versions of the programs; From an MSDOS prompt 
            window on the PC, run the FRYERS program on this disk to load 
            the driver into the PC. 
        3. Turn on the 6500, FP40, or FP35 and place it in the coupler 
            mode with a curve on the display. 
        4. Run one of the sample programs such as ACURVE. 
        5. If everything is setup properly you should see a curve 
           being displayed on the PC's screen.
         
        Note: The D2CURVE and BCURVE programs need FRYERS32.DLL to be 
        loaded in the Windows directory, or in the directory where 
        D2CURVE or BCURVE are located. The D2CURVE program can also be 
        compiled with Delphi V3.0 or higher. The BCURVE program can be 
        compiled with any version of C++Builder.

        If you do not have a graphics display, or the sample program does 
        not work, try using the TEST program instead.  You can find the 
        TEST program in the TEST subdirectory of the RS232 
        distribution disk.

        The source code for the sample programs can be found in the 
        archive file SAMPLES.PAK. Use the UNPACK program found in the
        INSTALL directory on this disk to extract the source files 
        from the archive file.

        History:   10/19/92 -med  
                   12/17/92 -med
                   10/04/93 -med
                   05/27/97 -med
                   06/22/00 -med
        <end>


                                        2
