


                    Frye Instrument Packet Protocol Commands
                           (7000/6400/6500/FP40/FP35)

        The "Frye Instrument Packet Protocol" (FIPP) provides a 
        consistent set of commands which can be used to control all Frye 
        instruments which support FIPP.  This document describes the 
        individual commands that make up FIPP.

        FIPP commands are divided into two main categories, messages 
        (commands) sent from the computer to the Frye instrument and 
        messages (response or control) sent from the Frye instrument to 
        the computer.  The computer can issue any of three types of 
        commands, SET, DO, and GET.  The Frye instrument can issue two 
        types of response or control messages, DATA and Flow Control.

        The SET commands cause the instrument to change some mode, 
        parameter, or value.  The GET commands request that some data be 
        sent from the instrument. The DATA response messages contain 
        responses to GET commands.  The DO commands cause the instrument 
        to perform an action. The Flow Control messages provide 
        connection management functions and handshaking.

        In the following message descriptions the values listed with 
        labels such as xxxx, yyyy, or zzzz will be replaced with values 
        that will change depending on the data in the message.

        Data words are always sent in low byte, high byte order, 
        longwords are always sent in low word, high word order. Note that 
        the internal format of some commands (particularly label 
        commands) may have high byte first in the data section of the 
        message. See the label command notes for details.

        Since Frye instruments support different features some commands 
        may not apply to certain instruments.  To find out which 
        instruments support which commands refer to the appropriate 
        documentation for that instrument.

        Data is divided into two forms, dynamic and static. Dynamic data 
        is data which may be constantly updated in the instrument. 
        Because of this, care must be used in reading the data since it 
        may not be the value you are looking for if you read it at the 
        wrong time. Refer to the instrument notes to find out how to 
        handle dynamic data for the instrument you are using. Measurement 
        Data is an example of dynamic data. Static data is data which is 
        not being continuously updated. Source Amplitude is an example of 
        static data. 









                                        1


                                      Terminology

        Set:
          A command that changes the way an instrument operates.
          eg Set Amplitude

        Get:
          A command that gets information from an instrument.
          eg Get Amplitude

        Do: 
          A command that tells the instrument to perform an action.
          eg Do Print

        Curve Frame:
          A packaged set of data points that contain measurement data and   
        information on how the data was measured.

        Data: 
          Measurement Data that is sent to or received from the   
          instrument. 

        Value:
          A specific measurement control value that is sent to or 
          received from then instrument.   
          eg Set Frequency

        Status:
          The status of a feature which modifies the way an instrument 
          performs measurements.
          eg Set Weighting Status

        Parameter(s):
          A configuration of the instrument which modifies the way the 
          instrument performs a test. Generally, a Status or Value can be 
          a parameter. Some commands can get or set multiple parameters 
          in order to configure a test with one command. 

        State:
          A specific functional state in which the instrument operates.
          eg Set Instrument State

        Mode:
          A particular mode in which an instrument operates.
          A mode may have multiple states of operation.
          eg Probe Mode










                                        2


                   Summary of all commands in functional order

        Command name              SET commands             Command number
        =================================================================
        Set Source Amplitude Value ------------------------------------ 0
        Set Harmonic Distortion Status -------------------------------- 1
        Set Frequency Value ------------------------------------------- 2
        Set Occluded Ear Simulator (OES) Status ----------------------- 3
        Set Noise Reduction Value ------------------------------------- 4
        Set Smoothing Status ------------------------------------------ 5
        Set Label Information ----------------------------------------- 6 
        Set Probe Mode  --------------------------------------------!!- 7
        Set Weighting Status ------------------------------------------ 8
        Set Curve Frame ----------------------------------------------- 9
        Set Input/Output (I/O) Parameters ---------------------------- 10
        Set Source Method -------------------------------------------- 11
        Set Gain Status ---------------------------------------------- 12
        Set Battery Test --------------------------------------------- 14
        Set Telecoil Parameter --------------------------------------- 39
        Set Attack and Release Frequency Value ----------------------- 40
        Set Zeta Mode ---------------------------------------------!!- 43
        Set Insitu Mode ---------------------------------------------- 47
        Set Automatic Status ----------------------------------------- 48
        Set Output Limiting Value ------------------------------------ 50
        Set Reference Microphone Status ------------------------------ 52
        Set Active Status -------------------------------------------- 54
        Set Power State ---------------------------------------------- 56
        Set Instrument State ----------------------------------------- 59
        Set Control Lock --------------------------------------------- 62
        Set Extended Label ------------------------------------------- 66
        Set Spectrum ------------------------------------------------- 68
        Set Phase Table ---------------------------------------------- 69
        Set Option Parameters ---------------------------------------- 70
        Set Keycode -------------------------------------------------- 72
        Set Poll Delay ----------------------------------------------- 73
        Set Ear Selection -------------------------------------------- 75
        Set Operating Mode ------------------------------------------- 77
        Set Battery Type --------------------------------------------- 79
        Set Averaging Frequencies ------------------------------------ 82
        Set Measurement Delay ---------------------------------------- 84
        Set CIC Status --------------------------------------------!!- 88
        Set Printer Label -------------------------------------------- 89
        Set Average Delay -------------------------------------------- 90
        Set Printer Selection ---------------------------------------- 92
        Set Bitmap --------------------------------------------------- 96
        Set Attack Release Parameters -------------------------------- 97
        Set Blob ----------------------------------------------------- 99









                                        3


        Set Real Time Clock ----------------------------------------- 104
        Set Output Device Selection --------------------------------- 106
        Set Impulse Rejection Value --------------------------------- 108
        Set Selected Curve ------------------------------------------ 112
        Set Curve Status -------------------------------------------- 114
        Set Unaided Curve Selection --------------------------------- 116
        Set List ---------------------------------------------------- 118
        Set Static Tone Selection ----------------------------------- 121
        Set Aid Type Selection -------------------------------------- 123
        Set Bias Tone ----------------------------------------------- 125
        Set Warble Select ------------------------------------------- 129
        Set Receive Timeout ----------------------------------------- 132
        Set Fit Rule ------------------------------------------------ 134
        Set Filter Selection ---------------------------------------- 136
        Set Compression Value --------------------------------------- 138
        Set Client Age ---------------------------------------------- 140
        Set Transducer Location ------------------------------------- 142
        Set Leveling Data ------------------------------------------- 145
        Set Leveling State ------------------------------------------ 147
        Set Aux Port ------------------------------------------------ 148
        Set User Number --------------------------------------------- 150
        Set Fit Type ------------------------------------------------ 152
        Set Vent Type ----------------------------------------------- 154
        Set Tubing Type --------------------------------------------- 156
        Set Aid Channels -------------------------------------------- 158
        Set Aid Limiting -------------------------------------------- 160
        Set Reference Method ---------------------------------------- 162
        Set Fit Parameters ------------------------------------------ 164
        Set User ID Text -------------------------------------------- 166
        Set Measurement Skew ---------------------------------------- 168
        Set Display Mode Information -------------------------------- 170
        Set Coupler Selection --------------------------------------- 172
        Set Analysis Selection -------------------------------------- 174
        Set Stored Parameter ---------------------------------------- 181






















                                        4


                                  GET commands
        Command name                                       Command number
        =================================================================
        Get Attack and Release Data --------------------------------*- 18
        Get Battery Data -------------------------------------------*- 19
        Get Input/Output (I/O) Data ---------------------------------- 20
        Get Source Amplitude Value ----------------------------------- 21
        Get Harmonic Distortion Status ------------------------------- 22
        Get Frequency Value ------------------------------------------ 23
        Get Occluded Ear Simulator (OES) Status ---------------------- 24
        Get Curve Frame -------------------------------------------**- 25
        Get Noise Reduction Value ------------------------------------ 26
        Get Smoothing Status ----------------------------------------- 27
        Get Software Version ----------------------------------------- 28
        Get Leveling Status ------------------------------------------ 29
        Get Weighting Status ----------------------------------------- 30
        Get Measurement Data ---------------------------------------*- 31
        Get Harmonic Distortion Data -------------------------------*- 32
        Get Command Status ------------------------------------------- 33
        Get Input/Output (I/O) Parameters ---------------------------- 34
        Get Probe Mode --------------------------------------------!!- 35
        Get Gain Status ---------------------------------------------- 36
        Get Source Method -------------------------------------------- 37
        Get Attack and Release Frequency Value ----------------------- 41
        Get Last Measured Curve Frame -----------------------------**- 42
        Get Telecoil Parameter --------------------------------------- 44
        Get Zeta Mode ---------------------------------------------!!- 45
        Get Insitu Mode ---------------------------------------------- 46
        Get Automatic Status ----------------------------------------- 49
        Get Output Limiting Value ------------------------------------ 51
        Get Reference Microphone Status ------------------------------ 53
        Get Active Status -------------------------------------------- 55
        Get Reference Microphone Data ------------------------------*- 57
        Get Keycode -------------------------------------------------- 58
        Get Instrument State ----------------------------------------- 60
        Get Blob ----------------------------------------------------- 61
        Get Control Lock --------------------------------------------- 63
        Get Option Parameters ---------------------------------------- 71
        Get Poll Delay ----------------------------------------------- 74

















                                        5


        Get Ear Selection -------------------------------------------- 76
        Get Operating Mode ------------------------------------------- 78
        Get Power Status --------------------------------------------- 80
        Get Averaging Frequencies ------------------------------------ 81
        Get Measurement Settle Time ---------------------------------- 83
        Get Extended Label ------------------------------------------- 86
        Get CIC Status --------------------------------------------!!- 87
        Get Average Delay -------------------------------------------- 91
        Get Printer Selection ---------------------------------------- 93
        Get HFA Measurement ------------------------------------------ 94
        Get Software Version Information ----------------------------- 95
        Get Attack Release Parameters -------------------------------- 98
        Get Device ID Count ----------------------------------------- 100
        Get Long Device ID ------------------------------------------ 101
        Get Device Data --------------------------------------------- 102
        Get Real Time Clock ----------------------------------------- 103
        Get Output Device Selection --------------------------------- 105
        Get Impulse Rejection Value --------------------------------- 107
        Get Signal Information -------------------------------------- 109
        Get Raw Sample Data ----------------------------------------- 110
        Get Calibration Data ---------------------------------------- 111
        Get Selected Curve ------------------------------------------ 113
        Get Curve Status -------------------------------------------- 115
        Get Unaided Curve Selection --------------------------------- 117
        Get List ---------------------------------------------------- 119
        Get Bitmap -------------------------------------------------- 120
        Get Static Tone Selection ----------------------------------- 122
        Get Aid Type Selection -------------------------------------- 124
        Get Bias Tone ----------------------------------------------- 126
        Get Warble Select ------------------------------------------- 130
        Get Delay Measurements -------------------------------------- 131
        Get Receive Timeout ----------------------------------------- 133
        Get Fit Rule ------------------------------------------------ 135
        Get Filter Selection ---------------------------------------- 137
        Get Compression Value --------------------------------------- 139
        Get Client Age ---------------------------------------------- 141
        Get Transducer Location ------------------------------------- 143
        Get Leveling Data ------------------------------------------- 146
        Get Aux Port  ----------------------------------------------- 149
        Get User Number --------------------------------------------- 151
        Get Fit Type ------------------------------------------------ 153
        Get Vent Type ----------------------------------------------- 155
        Get Tubing Type --------------------------------------------- 157
        Get Aid Channels -------------------------------------------- 159
        Get Aid Limiting -------------------------------------------- 161
        Get Reference Method ---------------------------------------- 163
        Get Fit Parameters ------------------------------------------ 165
        Get User ID Text -------------------------------------------- 167
        Get Measurement Skew ---------------------------------------- 169
        Get Display Mode Information -------------------------------- 171
        Get Coupler Selection --------------------------------------- 173
        Get Analysis Selection -------------------------------------- 175
        Get Battery Information ------------------------------------- 179
        Get Stored Parameter ---------------------------------------- 181


                                        6


                                   DO commands
        Command name                                       Command number
        =================================================================
        Do Attack and Release Test ----------------------------------- 13
        Do Input/Output (I/O) Test ----------------------------------- 15
        Do Start/Stop ------------------------------------------------ 16
        Do Leveling -------------------------------------------------- 17
        Do Reset ----------------------------------------------------- 38
        Do Line Feeds ------------------------------------------------ 64
        Do Print ----------------------------------------------------- 65
        Do User Message ---------------------------------------------- 67
        Do Measurement ----------------------------------------------- 85
        Do Calibration Adjust --------------------------------------- 144
        Do Custom Test ---------------------------------------------- 176
        Do Parameters ----------------------------------------------- 177
        Do Target --------------------------------------------------- 178








































                                        7


                    Commands Reserved For Future or Other Use
        Message name                                       Message number
        =================================================================
        <Audiometer> -------------------------------$------ 1000H->1FFFH
        <Reserved> ---------------------------------$$----- 7000H->77FFH
        <Private> ----------------------------------$$$---- 7800H->7FFEH

                       Flow Control messages from computer
        Message name                                       Message number
        =================================================================
        Quick Terminate ----------------------------------(7FFFH)-- 32767
        <Reserved> ---------------------------------!!!---(0080H)---- 128
        <Reserved> ---------------------------------!!!---(007FH)---- 127
        <Reserved> ---------------------------------!!!---(00FFH)---- 255
        <Reserved> ---------------------------------!!!---(0100H)---- 256 
        <Reserved> ---------------------------------!!!---(01FFH)---- 511
        <Reserved> ---------------------------------!!!---- 4000H->5FFFH

                      Flow Control messages from instrument
        Message name                                       Message number
        =================================================================
        Poll ----------------------------------------------(FFFFH)---- -1
        <Reserved> ----------------------------------------(FFFEH)---- -2
        <Reserved> ----------------------------------------(FFFDH)---- -3
        Acknowledge ---------------------------------------(FFFCH)---- -4
        Not Acknowledged ----------------------------------(FFFBH)---- -5
        Illegal -------------------------------------------(FFFAH)---- -6

        Notes: *   Dynamic measurement data
               **  Dynamic measurement data in composite mode
               $   Commands used by Audiometer (See AFIPP.TXT)
               $$  Special non-control commands
               $$$ Special private commands 
               !!  Obsolete command
               !!! External control command 
        A !! reference means that the command is obsolete and 
        may go away in the future. You should either not use the command 
        or use the suggested alternate command in new programs.
        The !!! marked flow control messages are reserved for special 
        case command sequences that can occur outside the normal packet 
        transfer protocol, such as commanding an external switch box.















                                        8


                   Summary of all commands in numerical order

        Command name                                       Command number
        =================================================================
        Set Source Amplitude Value ------------------------------------ 0
        Set Harmonic Distortion Status -------------------------------- 1
        Set Frequency Value ------------------------------------------- 2
        Set Occluded Ear Simulator (OES) Status ----------------------- 3
        Set Noise Reduction Value ------------------------------------- 4
        Set Smoothing Status ------------------------------------------ 5
        Set Label Information ----------------------------------------- 6 
        Set Probe Mode  --------------------------------------------!!- 7
        Set Weighting Status ------------------------------------------ 8
        Set Curve Frame ----------------------------------------------- 9
        Set Input/Output (I/O) Parameters ---------------------------- 10
        Set Source Method -------------------------------------------- 11
        Set Gain Status ---------------------------------------------- 12
        Do Attack and Release Test ----------------------------------- 13
        Set Battery Test --------------------------------------------- 14
        Do Input/Output (I/O) Test ----------------------------------- 15
        Do Start/Stop ------------------------------------------------ 16
        Do Leveling -------------------------------------------------- 17
        Get Attack and Release Data --------------------------------*- 18
        Get Battery Data -------------------------------------------*- 19
        Get Input/Output (I/O) Data ---------------------------------- 20
        Get Source Amplitude Value ----------------------------------- 21
        Get Harmonic Distortion Status ------------------------------- 22
        Get Frequency Value ------------------------------------------ 23
        Get Occluded Ear Simulator (OES) Status ---------------------- 24
        Get Curve Frame -------------------------------------------**- 25
        Get Noise Reduction Value ------------------------------------ 26
        Get Smoothing Status ----------------------------------------- 27
        Get Software Version ----------------------------------------- 28
        Get Leveling Status ------------------------------------------ 29
        Get Weighting Status ----------------------------------------- 30
        Get Measurement Data ---------------------------------------*- 31
        Get Harmonic Distortion Data -------------------------------*- 32
        Get Command Status ------------------------------------------- 33
        Get Input/Output (I/O) Parameters ---------------------------- 34
        Get Probe Mode --------------------------------------------!!- 35
        Get Gain Status ---------------------------------------------- 36
        Get Source Method -------------------------------------------- 37
        Do Reset ----------------------------------------------------- 38
        Set Telecoil Parameter --------------------------------------- 39
        Set Attack and Release Frequency Value ----------------------- 40
        Get Attack and Release Frequency Value ----------------------- 41
        Get Last Measured Curve Frame -----------------------------**- 42
        Set Zeta Mode ---------------------------------------------!!- 43
        Get Telecoil Parameter --------------------------------------- 44
        Get Zeta Mode ---------------------------------------------!!- 45
        Get Insitu Mode ---------------------------------------------- 46
        Set Insitu Mode ---------------------------------------------- 47
        Set Automatic Status ----------------------------------------- 48
        Get Automatic Status ----------------------------------------- 49


                                        9


        Set Output Limiting Value ------------------------------------ 50
        Get Output Limiting Value ------------------------------------ 51
        Set Reference Microphone Status ------------------------------ 52
        Get Reference Microphone Status ------------------------------ 53
        Set Active Status -------------------------------------------- 54
        Get Active Status -------------------------------------------- 55
        Set Power State ---------------------------------------------- 56
        Get Reference Microphone Data ------------------------------*- 57
        Get Keycode -------------------------------------------------- 58
        Set Instrument State ----------------------------------------- 59
        Get Instrument State ----------------------------------------- 60
        Get Blob ----------------------------------------------------- 61
        Set Control Lock --------------------------------------------- 62
        Get Control Lock --------------------------------------------- 63
        Do Line Feeds ------------------------------------------------ 64
        Do Print ----------------------------------------------------- 65
        Set Extended Label ------------------------------------------- 66
        Do User Message ---------------------------------------------- 67
        Set Spectrum ------------------------------------------------- 68
        Set Phase Table ---------------------------------------------- 69
        Set Option Parameters ---------------------------------------- 70
        Get Option Parameters ---------------------------------------- 71
        Set Keycode -------------------------------------------------- 72
        Set Poll Delay ----------------------------------------------- 73
        Get Poll Delay ----------------------------------------------- 74
        Set Ear Selection -------------------------------------------- 75
        Get Ear Selection -------------------------------------------- 76
        Set Operating Mode ------------------------------------------- 77
        Get Operating Mode ------------------------------------------- 78
        Set Battery Information -------------------------------------- 79
        Get Power Status --------------------------------------------- 80
        Get Averaging Frequencies ------------------------------------ 81
        Set Averaging Frequencies ------------------------------------ 82
        Get Measurement Settle Time ---------------------------------- 83
        Set Measurement Delay ---------------------------------------- 84
        Do Measurement ----------------------------------------------- 85
        Get Extended Label ------------------------------------------- 86
        Get CIC Status --------------------------------------------!!- 87
        Set CIC Status --------------------------------------------!!- 88
        Set Printer Label -------------------------------------------- 89
        Set Average Delay -------------------------------------------- 90
        Get Average Delay -------------------------------------------- 91
        Set Printer Selection ---------------------------------------- 92
        Get Printer Selection ---------------------------------------- 93
        Get HFA Measurement ------------------------------------------ 94
        Get Software Version Information ----------------------------- 95
        Set Bitmap --------------------------------------------------- 96
        Set Attack Release Parameters -------------------------------- 97
        Get Attack Release Parameters -------------------------------- 98
        Set Blob ----------------------------------------------------- 99






                                       10


        Get Device ID Count ----------------------------------------- 100
        Get Long Device ID ------------------------------------------ 101
        Get Device Data --------------------------------------------- 102
        Get Real Time Clock ----------------------------------------- 103
        Set Real Time Clock ----------------------------------------- 104
        Get Output Device Selection --------------------------------- 105
        Set Output Device Selection --------------------------------- 106
        Get Impulse Rejection Value --------------------------------- 107
        Set Impulse Rejection Value --------------------------------- 108
        Get Signal Information -------------------------------------- 109
        Get Raw Sample Data ----------------------------------------- 110
        Get Calibration Data ---------------------------------------- 111
        Set Selected Curve ------------------------------------------ 112
        Get Selected Curve ------------------------------------------ 113
        Set Curve Status -------------------------------------------- 114
        Get Curve Status -------------------------------------------- 115
        Set Unaided Curve Selection --------------------------------- 116
        Get Unaided Curve Selection --------------------------------- 117
        Set List ---------------------------------------------------- 118
        Get List ---------------------------------------------------- 119
        Get Bitmap -------------------------------------------------- 120
        Set Static Tone Selection ----------------------------------- 121
        Get Static Tone Selection ----------------------------------- 122
        Set Aid Type Selection -------------------------------------- 123
        Get Aid Type Selection -------------------------------------- 124
        Set Bias Tone ----------------------------------------------- 125
        Get Bias Tone ----------------------------------------------- 126
        <Reserved> ---------------------------------!!!---(0080H)---- 128
        <Reserved> ---------------------------------!!!---(007FH)---- 127
        Set Warble Select ------------------------------------------- 129
        Get Warble Select ------------------------------------------- 130
        Get Delay Measurements -------------------------------------- 131
        Set Receive Timeout ----------------------------------------- 132
        Get Receive Timeout ----------------------------------------- 133
        Set Fit Rule ------------------------------------------------ 134
        Get Fit Rule ------------------------------------------------ 135
        Set Filter Selection ---------------------------------------- 136
        Get Filter Selection ---------------------------------------- 137
        Set Compression Value --------------------------------------- 138
        Get Compression Value --------------------------------------- 139
        Set Client Age ---------------------------------------------- 140
        Get Client Age ---------------------------------------------- 141
        Set Transducer Location ------------------------------------- 142
        Get Transducer Location ------------------------------------- 143
        Do Calibration Adjust --------------------------------------- 144
        Set Leveling Data ------------------------------------------- 145
        Get Leveling Data ------------------------------------------- 146
        Set Leveling State ------------------------------------------ 147
        Set Aux Port ------------------------------------------------ 148
        Get Aux Port  ----------------------------------------------- 149
        Set User Number --------------------------------------------- 150
        Get User Number --------------------------------------------- 151




                                       11


        Set Fit Type ------------------------------------------------ 152
        Get Fit Type ------------------------------------------------ 153
        Set Vent Type ----------------------------------------------- 154
        Get Vent Type ----------------------------------------------- 155
        Set Tubing Type --------------------------------------------- 156
        Get Tubing Type --------------------------------------------- 157
        Set Aid Channels -------------------------------------------- 158
        Get Aid Channels -------------------------------------------- 159
        Set Aid Limiting -------------------------------------------- 160
        Get Aid Limiting -------------------------------------------- 161
        Set Reference Method ---------------------------------------- 162
        Get Reference Method ---------------------------------------- 163
        Set Fit Parameters ------------------------------------------ 164
        Get Fit Parameters ------------------------------------------ 165
        Set User ID Text -------------------------------------------- 166
        Get User ID Text -------------------------------------------- 167
        Set Measurement Skew ---------------------------------------- 168
        Get Measurement Skew ---------------------------------------- 169
        Set Display Mode Information -------------------------------- 170
        Get Display Mode Information -------------------------------- 171
        Set Coupler Selection --------------------------------------- 172
        Get Coupler Selection --------------------------------------- 173
        Set Analysis Selection -------------------------------------- 174
        Get Analysis Selection -------------------------------------- 175
        Do Custom Test ---------------------------------------------- 176
        Do Parameters ----------------------------------------------- 177
        Do Target --------------------------------------------------- 178
        Get Battery Information ------------------------------------- 179
        Set Stored Parameter ---------------------------------------- 180
        Get Stored Parameter ---------------------------------------- 181


        <Reserved> ---------------------------------!!!---(00FFH)---- 255
        <Reserved> ---------------------------------!!!---(0100H)---- 256 
        <Reserved> ---------------------------------!!!---(01FFH)---- 511
        <Audiometer> --------------------------------$------ 1000H->1FFFH
        <Reserved> ----------------------------------!!!---- 4000H->5FFFH
        <Reserved> ----------------------------------$$----- 7000H->77FFH
        <Private> -----------------------------------$$$---- 7800H->7FFEH
        Quick Terminate ----------------------------------(7FFFH)-- 32767
        Poll ----------------------------------------------(FFFFH)---- -1
        <Reserved> ----------------------------------------(FFFEH)---- -2
        <Reserved> ----------------------------------------(FFFDH)---- -3
        Acknowledge ---------------------------------------(FFFCH)---- -4
        Not Acknowledged ----------------------------------(FFFBH)---- -5
        Illegal -------------------------------------------(FFFAH)---- -6










                                       12


                             Major Instrument States
        The major test state of an instrument can be exited with a minor 
        state command of -1. With a couple of exceptions, this is true 
        for all states. The -1 command will return to the test state
        that the instrument was in previously. 

        Major    Description
          0      Top level / logo screen
          1      Chamber/Coupler mode !!!
          2      ANSI87 mode
          3      IEC mode
          4      JIS mode
          5      ISI mode  !!
          6      Probe Insertion Gain mode
          7      Telecoil test            (6500)
          8      Zeta mode <obsolete>
          9      Fixed Attack/Release mode
         10      Variable Attack/Release mode
         11      Coupler I/O mode
         12      ANSI92 mode
         13      Average mode
         14      Multicurve mode
         15      ACIC mode
         16      Main Menu mode
         17      DSIN mode
         18      ANSI96 mode                      (** new)
         19      Profiler mode                    (** new)
         20      Probe Multicurve Mode            (** new)
         21      Message Display                  (** new)
         22      Local Menu display               (** new) 
         23      Probe SPL Mode                   (** new)
         24      Probe AI Mode                    (** new)
         25      Probe Audiogram Mode             (** new)
         26      Target Coupler Mode              (** new)
         27      Ear Simulator Mode               (** new)
         28      Digital Phase Delay              (** new)
         29      Probe Target Edit         (7000) (** new)
         30      Navigation Screen         (7000) (** new)
         31      Probe IO Screen                  (** new) 
         32      Calibration Mode                 (** new)
         33      ANSI-2003 mode                   (** new)
         34      Oscilloscope Mode                (** new)
         35      Battery Mode                     (** new)
        !!! The FP40 and 6400/6500 use the chamber/coupler mode as the 
        top  major state level. It is not possible to exit major state  1 
        on the FP40/6500/6400. In addition, the FP40 and 6400/6500 will 
        return to major state 1 when a reset command is given. The FP40 
        and 6400/6500 instruments will return to major state 1 as the top 
        level when exiting other test modes with the -1 minor state. 
          !! As of this writing, serial support of ISI has not been 
        implemented on any instrument other than FP35 V3.20. 
          For those instruments that have a top level test selection 
        screen such as the FP35, major state 0 is the reset state which 
        is where the reset command will place the instrument. 


                                       13


                        Description of Individual Commands


                                SET Commands


        The SET commands are used to select specific conditions or modes 
        in the instrument.  The only valid response from a SET command is 
        an acknowledge (-4).  The allowed data for these commands is 
        somewhat machine dependent so the instruments operator's manual 
        should be consulted.


        Command                                                    Number
        -----------------------------------------------------------------
        Set Source Amplitude Value                                  Cmd 0

        0000 H    The number 0
        0001 H    One data word follows
        xxxx      Source amplitude in dB * 100    (tcoil= ma/M*100)

        This command sets the current Source amplitude value in the 
        instrument. The value given is in dB * 100. Thus 60dB would be 
        given as 6000. In telecoil mode this becomes milliamps per meter 
        * 100 on those instruments that support selection of the telecoil 
        source amplitude. In Volts RMS mode it is in millivolts RMS.

        See also: 21 - Get Source Amplitude Value


        Command                                                    Number
        -----------------------------------------------------------------
        Set Harmonic Distortion Status                              Cmd 1

        0001 H    The number 1
        0001 H    One data word follows
        xxxx      Distortion status 

             Distortion Status: 0 = none
                                1 = 2nd
                                2 = 3rd
                                3 = total 

        This command sets the current harmonic distortion status.
        New distortion measurements will use the selected method.

        See also: 22 - Get Harmonic Distortion Status
                  32 - Get Harmonic Distortion Data 








                                       14


        Command                                                    Number
        -----------------------------------------------------------------
        Set Frequency Value                                         Cmd 2

        0002 H    The number 2
        0001 H    One data word follows
        xxxx      Frequency in Hertz

        This command sets the current operating frequency of the 
        instrument. Normally, where composite is available, setting the 
        frequency to zero will cause composite mode to be selected.
        Where several different types of composite signal may be 
        generated, the current selected composite signal method will be 
        used. See the specific instrument notes for the frequencies that 
        are supported by specific instruments.

        See also: 23 - Get Frequency Value



        Command                                                    Number
        -----------------------------------------------------------------
        Set Occluded Ear Simulator (OES) Status                  !! Cmd 3

        0003 H    The number 3
        0001 H    One data word follows
        xxxx      OES Status 

             Status : 0 = off
                      1 = on

        This command sets the current OES status.

        Note: This command is replaced by command 172 on newer 
        instruments. Older instruments like the 6500, FP40 do not support 
        command 172 at all. FP35 software only supports command 172 in 
        version 3.50 and later software. You should continue to use 
        command 3 and command 24 on the older equipment.


        See also: 24 - Get Occluded Ear Simulator (OES) Status !!
                  87 - Get CIC Status !!
                  88 - Set CIC Status !!
                 172 - Set Coupler Selection <preferred>
                 173 - Get Coupler Selection <preferred>











                                       15


        Command                                                    Number
        -----------------------------------------------------------------
        Set Noise Reduction Value                                   Cmd 4

        0004 H    The number 4.
        0001 H    One data word follows
        xxxx      Noise Reduction Value

             Noise Reduction: 0 = off
                              2, 4, 8, 16 = reduction value

        This Command sets the current noise reduction value.
        The result of this command may have a global effect on the 
        instrument, or it may be restricted to the local noise reduction 
        state. It depends on the state the instrument is in and how the 
        instrument manages noise reduction. Refer to the instrument 
        manual to determine how the noise reduction is handled in the 
        various states of operation of the instrument.

        See also: 26 - Get Noise Reduction Value



        Command                                                    Number
        -----------------------------------------------------------------
        Set Smoothing Status                                        Cmd 5

        0005 H    The number 5.
        0001 H    One data word follows
        xxxx      Smoothing status

             Smoothing : 0 = off
                         1 = 100 Hz avg
                         2 = log avg

        This command sets the current smoothing status.  When off, no 
        smoothing is done.  When set to 100Hz each point in a curve frame 
        is averaged with the immediately adjacent points.  When set to 
        log the averaging occurs on a logarithmic scale to match the 
        displayed curve.

        Not all selections of smoothing will be available on all 
        instruments. Refer to the instrument manual for the selections 
        that are supported. Be careful when using smoothing on an 
        instrument when sending and receiving data via RS232. Data 
        degradation may occur if data is sent to the instrument while 
        smoothing is turned on.

        See also: 27 - Get Smoothing Status







                                       16


        Command                                                    Number
        -----------------------------------------------------------------
        Set Label Information                                       Cmd 6

        0006 H    The number 6
        0056 H    86 data words follow
        xxxx      Label Data words

        The label data words consist the following:
          18 bytes for the date field
          18 bytes for the model #
          18 bytes for the serial #
          18 bytes for the owner
          18 bytes for the first line of comments
          27 bytes for the second line of comments
          27 bytes for the third line of comments
          27 bytes for the forth line of comments
           1 byte of zero fill at the end (termination)

        This command sets the Label information in the instrument.  When 
        the instrument prints a strip chart of a test result (display) it 
        can optionally prepend a label to the strip.  Normally the label 
        is left blank for the operator to write on.  With a computer 
        controlling the instrument, the computer can automatically place 
        information on the label that will be printed by the instrument.

        The number of bytes shown above must be provided. You may use 
        null bytes (zero) to fill in a line to 18 or 27 bytes if you 
        don't have a full line of text. Any remaining text in a line 
        after the first null encountered in the line will be ignored.
        If a null byte is found in a line, the remaining text in the line 
        will automatically be filled with underscores. Alternately, you 
        can send a filler character such as an underline or space. 

        On systems with built in clocks, a date and/or time stamp will be 
        automatically added to the Date field of the label. This will 
        overwrite any information that might have been sent in the Date 
        field of the label.

        Notes: For historical reasons, the packet data is in Motorola 
        format (the 6500 uses a 68000 type cpu). This is backwards from 
        the Intel format on most desktop PCs. You can convert the data to 
        Intel format by exchanging the bytes in each data word in the 
        packet.

        See also: 64 - Do Line Feeds
                  65 - Do Print   
                  66 - Set Extended Label Information
                  86 - Get Extended Label Information
                  89 - Set Printer Label Storage
                  96 - Set Printer Label Bitmap





                                       17


        Command                                                    Number
        -----------------------------------------------------------------
        Set Probe State                                          !! Cmd 7

        0007 H    The number 7
        0001 H    One data word follows
        xxxx      Probe state

           State : 0 = Exit Probe Mode
                   1 = Enter Probe Mode

        This command tells the instrument to enter or leave the probe 
        test mode. 

        !! This is an obsolete command form see Set Instrument State for 
           the current method of controlling Probe mode operation.

        See also: 35 - Get Probe State
                  59 - Set Instrument State
                  60 - Get Instrument State 



        Command                                                    Number
        -----------------------------------------------------------------
        Set Weighting Status                                        Cmd 8

        0008 H    The number 8
        0001 H    One data word follows
        xxxx      Weighting status

           Status : 0 = Unweighted (flat)
                    1 = Weighted Power (amplitude)
                    2 = Weighted Gain

        This command sets the current weighting status of the instrument.
        Unweighted (flat) is not available in all instruments.

        See also: 30 - Get Weighting Status

















                                       18


        Command                                                    Number
        -----------------------------------------------------------------
        Set Curve Frame                                             Cmd 9

        0009 H    The number 9
        0059 H    89 data words
        nnnn      Curve frame number
        xxxx      Curve Frame data


        This command sends a standard format instrument curve frame. The 
        first data word contains the curve frame number, and the next 88 
        data words contain the actual curve frame. Each instrument may 
        organize the curve frames differently internally so the curve 
        frame number is only valid within the scope of a given 
        instrument.  The internal format of the curve frame varies 
        depending on the mode and options in effect when the measurement 
        was made and the instrument in use.

        Note: Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.


        See also: 25 - Get Curve Frame Data
                  42 - Get Last Measured Curve Data






























                                       19


        Command                                                    Number
        -----------------------------------------------------------------
        Set Input/Output (I/O) Parameters                          Cmd 10

        Original Command Format:

        000A H    The number 10            
        0002 H    Two data words follow.   
        xxxx      Test frequency in Hertz  
        yyyy      Test method                


        Alternate Expanded command format:

        000A H    The number 10           
        0004 H    Four data words follow.  
        xxxx      Test frequency in Hertz 
        yyyy      Test method               
        dddd      Start Delay (milliseconds)
        ssss      Sweep Delay (milliseconds)

          Frequency   : Frequency in Hertz (0=composite)
          Method      : 0 = amplitude
                        1 = gain 
          Start Delay : Delay time in milliseconds after presentation 
                        of first signal before a measurement is made.
          Sweep Delay : Delay time in milliseconds between remaining 
                        signal presentations before measurement is made.

        This command sets the current I/O parameter settings to be used 
        in the I/O test. If the original command format is used, the 
        Start and Sweep delay times will remain unchanged. 

        Note: Not all instruments support the expanded command format.

        If composite is used, the current selected composite signal type 
        will be used for the test. Note that some test modes will 
        automatically select a specific composite signal type. 

        See also: 15 - Do Input/Output (I/O) Test
                  20 - Get Input/Output (I/O) Data
                  34 - Get Input/Output (I/O) Parameters














                                       20


        Command                                                    Number
        -----------------------------------------------------------------
        Set Source Method Selection                                Cmd 11

        000B H    The number 11
        0001 H    One data word follows
        xxxx      Source Method Selection


        This command sets the source method to be used.

        Selection : 
         SRC_METHOD_AUTO  = -1  Use default source method 
         SRC_METHOD_SPL   =  0  Use SPL source method
         SRC_METHOD_TCOIL =  1  Use telecoil source method
         SRC_METHOD_VRMS  =  2  Use Vrms source method

        This is a limited command. Depending on operational conditions, 
        either a limited set of source methods may be available, or the 
        selection may be ignored altogether. This is an instrument 
        specific command. See the instrument specific notes for details 
        on the use of this command.


        This command tells the instrument to enter or leave the telecoil 
        test mode. 

        Note: On some instruments (6500), this goes to a specific 
        screen, on other instruments, it just selects the source method.
        Also see Set Instrument State for an alternate method of 
        entering the telecoil test screen.


        See also:  0 - Set Source Amplitude Value
                  21 - Get Source Amplitude Value
                  37 - Get Source Method Selection 
                  39 - Set Telecoil Parameter
                  44 - Get Telecoil Parameter
                  59 - Set Instrument State
                  60 - Get Instrument State
















                                       21


        Command                                                    Number
        -----------------------------------------------------------------
        Set Gain Status                                            Cmd 12

        000C H    The number 12
        0001 H    One data word follows
        xxxx      Gain status 

             Gain : 0 = amplitude
                    1 = gain 

        This command sets the current Gain status. When set to Amplitude 
        (gain off), data will be displayed as dB SPL. When set to Gain 
        (gain on), data will be displayed as dB GAIN.  

        See also:  8 - Set Weighting Status
                  30 - Get Weighting Status
                  36 - Get Gain Status






































                                       22


        Command                                                    Number
        -----------------------------------------------------------------
        Set Battery Test                                           Cmd 14

        000E H    The number 14
        0000 H    No data sent

        Expanded Format
        ---------------
        000E H    The number 14
        0003 H    One data word follows
        xxxx      Battery test state

             State : 0 = off
                     1 = on

        This function causes a battery test to be performed and the 
        battery information is updated (see Get Battery Data - cmd 19). 

        If the expanded format is available the automatic battery test 
        will be enabled(1) or disabled(0) if the test state parameter is 
        sent with this command. 

        Note: Some instruments do not have a separate battery test 
        function. Instead they measure the battery all the time. The Do 
        Battery test command only needs to be given for those tests where 
        the test is required to update the battery information.

        Note: This command may not be supported in all instruments. 

        See also:  19 - Get Battery Data
                   79 - Set Battery Information
                  179 - Get Battery Information























                                       23


        Command                                                    Number
        -----------------------------------------------------------------
        Set Telecoil Parameter                                     Cmd 39

        0027 H    The number 39
        0001 H    One data word follows
        xxxx      Telecoil method 

             Method : 0 = Composite
                      1 = ANSI 
                      2 = IEC   
                      3 = ANSI96 (TMFS)

        This command sets the method in which the telecoil test will be 
        run when the telecoil test mode is selected. If Composite is 
        specified, the currently selected composite type will be used.
        This command is used in telecoil screens. Instruments that use 
        the telecoil as a source method may not support this command.

        Note: this command is not available on all instruments, and may 
        change from instrument to instrument. 

        See also:  0 - Set Source Amplitude Value
                  11 - Set Source Method Selection 
                  21 - Get Source Amplitude Value
                  37 - Get Source Method Selection 
                  44 - Get Telecoil Parameter



        Command                                                    Number
        -----------------------------------------------------------------
        Set Attack and Release Frequency Value                     Cmd 40

        0028 H    The number 40
        0001 H    One data word follows
        xxxx      Attack/Release Frequency

        This command sets the frequency that will be used when the Attack 
        and Release test is run. The frequency is given in Hertz.

        See also: 13 - Do Attack and Release Test
                  18 - Get Attack and Release Data
                  41 - Get Attack and Release Frequency Value
                  98 - Get Attack Release Parameters
                  97 - Set Attack Release Parameters 










                                       24


        Command                                                    Number
        -----------------------------------------------------------------
        Set Zeta Mode                                           !! Cmd 43

        002B H    The number 43
        0001 H    One data word follows
        xxxx      Zeta mode

             Mode : 0 = off
                    1 = on

        This command selects the Zeta option.

        !! This is an obsolete command Zeta is no longer supported.




        Command                                                    Number
        -----------------------------------------------------------------
        Set Insitu Mode                                            Cmd 47

        002F H    The number 47
        0003 H    Three data words sent
        iiii      Insitu status         
        oooo      Output correction     
        ssss      Source correction     

           Status : 0 = off    Output : 0 = none       Source : 0 = none
                    1 = on              1 = OES+INS             1 = ITE 
                                        2 = OES                 2 = BTE
                                        3 = INS                 3 = ITC

        This command sets the Insitu mode that will be used to compensate
        the measurements that are made.

        See also:  3 - Set Occluded Ear Simulator (OES) Status !!
                  24 - Get Occluded Ear Simulator (OES) Status !!
                  46 - Get Insitu Mode
                  87 - Get CIC Status !!
                  88 - Set CIC Status !! 
                 172 - Set Coupler Selection
                 173 - Get Coupler Selection













                                       25


        Command                                                    Number
        -----------------------------------------------------------------
        Set Automatic Status                                       Cmd 48

        0030 H    The number 48
        0001 H    One data word follows
        xxxx      Automatic Status 

             Status : 0 = Manual
                      1 = Automatic

        This command sets the current status of the Automatic function.
        When OFF, the automatic function is disabled (manual mode).  When
        ON, the automatic function is enabled (automatic mode).

        See also: 49 - Get Automatic Status 



        Command                                                    Number
        -----------------------------------------------------------------
        Set Output Limiting Value                                  Cmd 50

        0032 H    The number 50
        0001 H    One data word follows
        xxxx      Output Limit Level

        This command sets the output limit value in the instrument.

        See also: 51 - Get Output Limiting Value


























                                       26


        Command                                                    Number
        -----------------------------------------------------------------
        Set Reference Microphone Status                            Cmd 52

        0034 H    The number 52
        0001 H    One data word follows
        xxxx      Reference Microphone Status 

             Status : 0 = disabled
                      1 = enabled

        This command sets the current status of the reference microphone.

        See also: 53 - Get Reference Microphone Status
                  57 - Get Reference Microphone Data



        Command                                                    Number
        -----------------------------------------------------------------
        Set Active Status                                          Cmd 54

        0036 H    The number 54
        0001 H    One data word follows
        xxxx      Active Status 

             Status : 0 = off
                      1 = on

        This command sets the current status of the Start/Stop function.
        When OFF, the instrument is stopped (inactive).  When ON, the
        instrument is running (active).

        See also: 16 - Do Start/Stop
                  55 - Get Active Status





















                                       27


        Command                                                    Number
        -----------------------------------------------------------------
        Set Power State                                            Cmd 56

        0038 H    The number 56
        0001 H    One data word follows
        xxxx      Power State

        Expanded Format
        ---------------
        0038 H    The number 56
        0003 H    Three data word follows
        xxxx      Power State
        ssss      Standby timeout (screen saver) in minutes
        pppp      Power off timeout in minutes

             Power State : 0 = Normal
                           1 = Power Save
                           2 = Power Off

        This command sets the current power state of the instrument.
        A value of 0 sets the instrument to normal operation. A value of 
        1 forces the instrument into power save mode. A value of 2 turns 
        the instrument off. 

        If the expanded format is used (and supported by the instrument), 
        the second value is used to set the amount of time before the 
        instrument goes into standby mode (screen saver).  The third 
        value will set the timeout period when the instrument will 
        automatically power down. Not all instruments support all the 
        features of this command refer to the instrument specific 
        documentation for detailed information.

        Typically the major/minor state returned by the instrument in 
        standby or power down will be the last state it was in when it 
        was powered down. You should check on the power state of the 
        instrument if it is not responding to the expected commands for 
        the given major/minor state reported. 

        Note: "Off" does not normally mean that the instrument will be 
        completely powered off. Usually the instrument is just asleep in 
        a power save mode. On some instruments such as the FP40, the 
        Power Off is so deep that the instrument will no longer 
        communicate. The FP40 must be manually turned back on if it is 
        set to power off mode. The 6500 does not allow direct control of 
        the power state. During screen save mode, it will automatically 
        exit screen save mode when any RS232 command is received.

        See also: 38 - Do Reset
                  80 - Get Power Status 






                                       28


        Command                                                    Number
        -----------------------------------------------------------------
        Set Instrument State                                       Cmd 59

        003B H     The number 59
        0002 H     Two data words
        xxxx       Major State
        yyyy       Minor State

        This command sets the instrument's major and minor states to the 
        values given.  Normally a minor state of 0 sets the beginning of 
        the option, and a minor state of -1 exits the option. The -1 
        state exit is not available on early versions of the FP40. In 
        early versions of the 6500, the minor state returned in some 
        major states may be invalid.

        In major states where there are multiple minor states available, 
        setting the minor state one greater than the current minor state 
        advances the instrument to the next logical minor state. The 
        minor state the test stops on may be greater than the requested 
        minor state if intermediate steps were skipped by the test. As an 
        example, if t-coil is not enabled in the ANSI test, minor states 
        1 and 2 will not be entered. If reference test gain does not need 
        to be performed, the test will not stop at minor state 3.

        ** Some major and/or minor states may not be available on all 
        instruments. Also, some of the major states listed may not be 
        enterable on some instruments with a set state command even 
        though once there the state information is available. Typically 
        in these cases it requires the use of the appropriate Keycode to 
        enter the state. 

        Messages and Menus are popup windows which cause instrument 
        control to be diverted to the popup window. To manage this, they 
        are given their own major state selection. The minor state of the 
        popup window is dependent upon the message type or local menu 
        number, and can vary between instruments or depending upon the 
        parent state from which the window popped up. 

        For more information on the instrument states, their 
        functionality, and the major and minor states available on 
        specific instruments, please refer to the instrument specific 
        documentation.  

        Not all major states support a direct state call to another test 
        mode. Generally, unless the major state can be entered from the 
        current test mode, you should return to the top level of the 
        instrument with a series of -1 minor state commands followed by 
        the appropriate states command to go to the desired test mode.

        Note: On most instruments a Reset command will return the 
        instrument to the main screen (Major:1, Minor:0). However, some 
        data and test settings may be lost. Do not use reset if you do 
        not wish to lose that information.


                                       29


        Major    Minor     Description
        -----    -----     -----------
          0        0       Top level / logo screen
          1        0       Chamber/Coupler mode
          2        0       ANSI87, enter mode / start test
          2        1        ANSI87, first t-coil prompt
          2        2        ANSI87, second t-coil prompt
          2        3        ANSI87, set reference test gain prompt
          2        4        ANSI87, test complete 
          3        0       IEC, enter mode / start test
          3        1        IEC, set reference test gain prompt
          3        2        IEC, test complete
          4        0       JIS, enter mode / start test 
          4        1        JIS, set reference test gain prompt
          4        2        JIS, test complete
          5        0       ISI, enter mode / start test 
          5        1        ISI, set reference test gain prompt
          5        2        ISI, test complete
          6        0       Probe mode Insertion Gain 
          6        1        Probe mode (optional IG screen #2)
          7        0       Telecoil test 
          8        0       Zeta mode <obsolete>
          9        0       Fixed Attack/Release mode             
         10        0       Variable Attack/Release mode          
         11        0       Coupler I/O mode                              
         12        0       ANSI92, enter mode / start test       
         12        1        ANSI92, set reference test gain prompt
         12        2        ANSI92, test complete
         13        0       Average chamber mode                  
         13        1        Average t-coil mode                (FP40 only)
         13        2        Average One Time and exit          (6500 only)   
         14        0       Multicurve mode                       
         15        0       ACIC mode                             
         16        0       Main Menu mode (configuration)     (*see notes)                     
         17        0       DSIN mode                           (6500 only) 
         18        0       ANSI96, enter mode / start test        
         18        1        ANSI96, set reference test gain prompt
         18        2        ANSI96, first t-coil prompt
         18        3        ANSI96, second t-coil prompt
         18        4        ANSI96, test complete 
         19        0       Profiler, enter mode / start test    
         19        1        Profiler, set reference test gain prompt
         19        2        Profiler, test complete               
         20        0       Probe Multicurve                       
         21        0       Message, Help message              (*see notes)
         21        1        Message, general status message      
         21        2        Message, Error message               
         22        0       Local Menu display (menu1)         (*see notes)  
         22        1        Local Menu display (menu2)            
         22        N        Local Menu display (menuN)             






                                       30


        Major    Minor     Description
        -----    -----     -----------
         23        0       Probe SPL Mode                        
         24        0       Probe AI Mode                         
         25        0       Probe Audiogram Mode                  
         26        0       Target Coupler Mode                   
         27        0       Ear Simulator Mode                    
         28        0       Digital Phase Delay                   
         29        0       Probe Target Edit                    (7000) 
         30        N       Navigation Screen              (*see notes)    
         31        0       Probe IO Screen                       
         32        0       Main Calibration Mode          (*see notes)       
         32        1       Time (clock) Setup Mode              (FP35) 
         32        2       Mic Calibration Mode                 (FP35) 
         32        3       Coupler Mic Calibration Mode         (FP35) 
         32        4       Earphone Calibration Mode            (FP35) 
         33        0       ANSI03, enter mode / start test       
         33        1        ANSI03, set reference test gain prompt
         33        2        ANSI03, t-coil entry prompt
         33        3        ANSI03, t-coil exit / AGC enable prompt
         33        4        ANSI03, test complete 
         34        0       Oscilloscope Mode                  (** new)
         35        0       Battery Test Mode                  (** new)

        The FP40 and 6400/6500 use the chamber/coupler mode as the top 
        major state level. It is not possible to exit major state 1. In 
        addition, the FP40 and 6400/6500 will return to major state 1 
        when a reset command is given. The FP40 and 6400/6500 instruments 
        will return to major state 1 as the top level when exiting other 
        test modes with the -1 minor state command. 

        Serial support of ISI has not been fully implemented on the 
        FP40 and 6500. 

        For those instruments that have a top level test selection 
        screen, such as the FP35 and 7000, major state 0 is the reset 
        state which is where the reset command will place the instrument. 

        *Note: Some states such as Menu or Calibration have instrument 
        specific minor states. Refer to the instrument specific notes for 
        details of these commands.

        See also: 60 - Get Instrument State













                                       31


        Major State Exit commands
        The major test state of an instrument can be exited with a minor 
        state command of -1. With a couple of exceptions, this is true 
        for all states. The -1 command will return to the test state
        that the instrument was in previously. exiting a major state will 
        only take you up one level. It may require multiple exit commands 
        to get to the top layer on the instrument. In some cases, but not 
        all, you can go directly to the top layer by sending a specific 
        command to set the instrument to the top layer. For the FP35 and 
        7000 this would be to set the state to Major:0, Minor:0.

        Major    Minor     Description
          1       -1       Exit chamber/coupler mode !!!
          2       -1       Exit ANSI87 mode
          3       -1       Exit IEC mode
          4       -1       Exit JIS mode
          5       -1       Exit ISI mode
          6       -1       Exit Probe mode
          7       -1       Exit Telecoil test
          8       -1       Exit Zeta mode <obsolete>
          9       -1       Exit Fixed Attack/Release mode
         10       -1       Exit Variable Attack/Release mode
         11       -1       Exit Coupler I/O mode
         12       -1       Exit ANSI92 mode
         13       -1       Exit Average mode
         14       -1       Exit Multicurve mode
         15       -1       Exit ACIC mode
         16       -1       Exit Main Menu mode (configuration)
         17       -1       Exit DSIN mode
         18       -1       Exit ANSI96 mode                      (** new) 
         19       -1       Exit Profiler mode                    (** new)
         20       -1       Exit Probe multicurve mode            (** new)
         21       -1       Exit Message display                  (** new) 
         22       -1       Exit Local Menu display               (** new)
         23       -1       Exit Probe SPL Mode                   (** new)
         24       -1       Exit Probe AI Mode                    (** new)
         25       -1       Exit Probe Audiogram Mode             (** new)
         26       -1       Exit Target Coupler Mode              (** new)
         27       -1       Exit Ear Simulator Mode               (** new)
         28       -1       Exit Digital Phase Delay              (** new)
         29       -1       Exit Probe Target Edit         (7000) (** new)
         30       -1       Exit Navigation Mode           (7000) (** new)
         31       -1       Exit Probe IO Screen                  (** new) 
         32       -1       Exit Calibration Mode                 (** new)
         33       -1       Exit ANSI03 mode                      (** new) 
         34       -1       Exit Oscilloscope Mode                (** new)
         35       -1       Exit Battery Test Mode                (** new)









                                       32


        Command                                                    Number
        -----------------------------------------------------------------
        Set Control Lock                                           Cmd 62

        003E H    The number 62
        0001 H    One data words
        xxxx      Control Lock Selection

         Control: 0 = local instrument (screen and keyboard enabled)
                  1 = rs232 (screen enabled, keyboard locked)
                * 2 = rs232 (screen disabled, keyboard locked)          
                * 3 = rs232 (screen blanked, keyboard locked)          

        This command allows control of the instrument's keyboard and 
        screen to be controlled by the computer which is then responsible 
        for handling all keys pressed and responding to them.

        The screen updates can be disabled (where supported) to improve 
        RS232 process speed. The use of Quick Terminate to complete 
        command sequences is recommended when the screen is disabled, so 
        as to further improve the performance. 

        Note: When the screen is disabled, it may or may not have a 
        message indicating that it is disabled, depending on the 
        instrument. Refer to the specific instrument information for 
        details. * Selections 2 and 3 may not work on all instruments.

        See also: 72 - Set Keycode   
                  58 - Get Keycode
                  63 - Get Control Lock


























                                       33


        Command                                                    Number
        -----------------------------------------------------------------
        Set Extended Label                                         Cmd 66

        0042 H    The number 66
        cccc      Number words of data (14 to 140 in 14 word increments)
        xxxx      Label data (28 to 280 in 28 byte increments)

        This command is like command #6 except that it allows overwriting 
        of the Date, Serial#, Owner, and Comments fields.  On some 
        instruments. This command also allows setting the Custom ID text 
        (lines 9 and 10) that appear just below the standard label text. 

        Each line of the label is composed of up to 27 data bytes and a 
        null terminator for a total of 28 bytes per line.  Any data after 
        the first null found in a line up to the beginning of the next 
        line will be ignored.  No checking is done on the bytes sent.  If 
        on any given line a null is not found by the 28th character, the 
        28th character is replaced by a null.  No checking is done on the 
        content of this packet.  

        If a null is encountered before the 28th byte the rest of the 
        line will be extended to 27 bytes by padding with the underscore 
        character. If a null is provided before the 28th character, the 
        line itself must still contain a total of 28 characters. The 
        content of the remaining characters in the line are unimportant, 
        but it is recommended that they be nulls. 

        Only as many lines as desired need to be sent. However, if line 
        two is to be sent, line one also has to be sent. As an example, 
        if the packet has 224 bytes of data the first eight lines of the 
        label will be changed. If the packet has 252 bytes of data, the 
        first nine lines of the label will be changed.

        Notes: For historical reasons, the packet data is in Motorola 
        format (the 6500 uses a 68000 type cpu). This is backwards from 
        the Intel format on most desktop PCs. You can convert the data to 
        Intel format by exchanging the bytes in each word in the packet.

        On some instruments the custom ID must be set at the factory. The 
        hard coded custom ID instruments will not accept variable packet 
        lengths in this command (all eight lines must always be sent).

        On some instruments that have a real time clock the automatic 
        label date/time stamp is suppressed if an extended label has been 
        uploaded/saved to the instrument. On others, the first line of 
        the label always contains the time stamp.

        See also:  6 - Set Label Information
                  64 - Do Line Feeds
                  65 - Do Print 
                  86 - Get Extended Label Information
                  89 - Set Printer Label Storage
                  96 - Set Printer Label Bitmap


                                       34


        Command                                                    Number
        -----------------------------------------------------------------
        Set Spectrum                                               Cmd 68

        0044 H    The number 68
        0050 H    80 words of data
        xxxx      Spectrum multipliers

        This command sets the shape of the spectrum, each word is a
        multiplier for the corresponding component in the instrument's
        spectrum.  For the 6500, a value of 4096 represents unity 
        correction, larger values will boost the corresponding component, 
        smaller ones will attenuate it.  The scale is linear, i.e. a 
        doubling of the multiplier yields a 6.02 dB increase in the 
        amplitude of the component, halving the multiplier yields a 6.02 
        dB decrease in the amplitude of the component.  The amount that 
        any given component can be boosted is dependent on a number of 
        things, ultimately the range of the D to A converter in the 
        instrument, this will vary with the leveling conditions, and the 
        settings of the other components in the current waveform.  The 
        phase relationship of the components also has a major effect.

        For the FP35 the Spectrum adjustment values are provided as 
        DB*100 values. The source for each frequency will be increased or 
        decreased by the DB amount provided. (See FP35 notes for special 
        case handling with pure tones.)

        See the specific instrument notes for the specific actions and 
        results for this command.


        See also: 69 - Set Phase Table





         **************************************************************
         ********* Warning, this command should only be used  *********
         ********* with full understanding of the system used *********
         ********* in the instrument that generates the signals. ******
         **************************************************************














                                       35


        Command                                                    Number
        -----------------------------------------------------------------
        Set Phase Table                                            Cmd 69

        0045 H    The number 69
        0050 H    80 words of data
        xxxx      Phase offsets

        This command sets the phase relationship between the components 
        that form the instrument's spectrum.  Each of the 80 words is the 
        phase shift for the corresponding component.  The units of the 
        phase shift are 39.06 micro-seconds (uS).  Each component of the 
        6500 spectrum will be shifted by 39.06 times the value given with 
        respect to a common reference.  At 100 Hz a phase shift of 256 is 
        equivalent to 2 pi radians or 360 degrees (256 * 39.06 uS is 0.01 
        seconds which is the period of a 100 Hz sine wave).  For 200 Hz a 
        count of 128 is equivalent to 2 pi radians. as the period is 1/2 
        of 100 Hz and so on up to 8000 Hz where 1 period is not evenly 
        representable but 5 periods are represented by a value of 16.  A 
        special case is a phase table with a value of -1 for the 100 Hz 
        component in which case the reset of the table will be ignored 
        and the 6500's default phase table will be re-instated.  A phase 
        table which causes too high a crest factor will cause bizarre 
        side effects.  There is no way to interrogate the instrument 
        about it's current phase table as we consider our default phase 
        table a trade secret.

        The FP35 does not provide for the phase relationship of its 
        composite signal to be changed.

        See the specific instrument notes for the specific actions and 
        results for this command.


        See also: 68 - Set Spectrum





         **************************************************************
         ********* Warning, this command should only be used  *********
         ********* with full understanding of the system used *********
         ********* in the instrument that generates the signals. ******
         **************************************************************











                                       36


        Command                                                    Number
        -----------------------------------------------------------------
        Set Option Parameters                                      Cmd 70

        0046 H    The number 70
        cccc      Variable number of parameters
        xxxx      Parameter data

        This command takes a variable number of parameters depending on 
        what option it is intended to modify.  The first parameter will 
        always be present and is the major state # of the option to 
        modify.  The remainder of the packet is variable on a per option 
        basis and is described in the Get Option Parameters command.

        See also: 71 - Get Option Parameters
                  59 - Set Instrument State
                  60 - Get Instrument State



        Command                                                    Number
        -----------------------------------------------------------------
        Set Keycode                                                Cmd 72

        0048 H    The number 72
        0001 H    One word of data
        xxxx      The Keycode to Inject

        This command sets the keycode, it is only effective when the 
        keyboard control has been set to rs232 (see command #62).  
        Inserting a keycode with this command has almost the same effect 
        as pressing a key on the front panel.  

        Warning: it is possible to enter some modes on an instrument 
        using the SetKey command where the instrument will no longer 
        communicate. If you do this, you will have to manually exit the 
        mode at the instrument keyboard. 

        See also: 58 - Get Keycode
                  62 - Set Control Lock
                  63 - Get Control Lock















                                       37


        Command                                                    Number
        -----------------------------------------------------------------
        Set Poll Delay                                             Cmd 73

        0049 H    The number 73
        0001 H    One word of data
        xxxx      The Poll delay time in milliseconds

        Expanded Format
        ---------------
        0049 H    The number 73
        0002 H    Two data word follows
        dddd      The Poll delay time in milliseconds
        hhhh      The Poll holdoff time in milliseconds


        This command sets the poll delay time and optionally the follow-
        on poll holdoff time. All instruments have a minimum of 10ms poll 
        delay time available. Newer instruments may be less. The default 
        poll delay time is 50ms. If the follow-on delay command (two 
        parameters) is rejected, then the instrument does not support the 
        poll follow-on holdoff delay (only one parameter allowed). 

        Notes: If you are using the Windows Fryers32.dll driver, it is 
        recommended that you do not change the Poll Delay time. Setting 
        the time to a lower value may cause a loss of communications with 
        the  Windows  driver. If either value is passed as  invalid  data 
        (0x8000), that value will be left unchanged.

        If you do change the poll delay, it is recommended that you not 
        set the delay time less than 25ms. The Windows driver needs a 
        period of dead time to synchronize the data stream with 
        communications, when it is initialized, and/or after an 
        interruption. A poll delay that is too short can make it 
        difficult for the driver to resynchronize the data stream. 

        Rather than making the poll delay time shorter, it is recommended 
        that appropriate use of the Quick Terminate (32767) command be 
        used. The Quick Terminate command terminates the poll timeout 
        immediately, which is equivalent to setting the poll delay to the 
        packet transfer time for the Quick Terminate command.
        t=1/(baudrate/(10*6)) in seconds.

        The follow-on poll holdoff delay is the amount of time that is 
        delayed after the completion of a command sequence before the 
        follow-on poll is sent. This provides the Attached computer some 
        time to prepare for the follow-on poll. The default time is 10mS.
        You should not set this value to more than 100mS. Total delay 
        time between the completion of the last command and the reaction 
        to the next command is (Holdoff + t=1/(baudrate/(10000*6))) in 
        milliseconds.

        See also: 74 - Get Poll Delay



                                       38


        Command                                                    Number
        -----------------------------------------------------------------
        Set Ear Selection                                          Cmd 75

        Original Command Format: (obsolete - FP40 only)

        004B H    The number 75
        0001 H    One word of data
        xxxx      Selected ear

          Ear selection: 0 = Left ear
                         1 = Right ear

        Expanded Command Format:

        004B H    The number 75
        0002 H    Two words of data
        xxxx      Selected ear
        xxxx      Configuration

          Ear selection: 0 = None
                         1 = Left ear
                         2 = Right ear
                         3 = Bone

          Configuration: 0 = Standard

        This command sets the ear that is being tested.

        Note: The FP40 does not have a No Ear or Bone selection. Because 
        of that, it only uses the Original Command format for ear 
        selection. The Expanded format is not available on the FP40.

        See also: 76 - Get Ear Selection






















                                       39


        Command                                                    Number
        -----------------------------------------------------------------
        Set Operating Mode                                         Cmd 77

        004D H    The number 77
        0001      One word of data
        xxxx      Instrument dependent mode selection      

        This command sets the operating mode the instrument will be in. 
        This is an instrument and mode dependent function. Refer to the 
        instrument documentation for the specifics of this command.

        See also: 78 - Get Operating Mode











































                                       40


        Command                                                    Number
        -----------------------------------------------------------------
        Set Battery Information                                    Cmd 79

        004F H    The number 79
        0001      One word of data
        xxxx      Instrument dependent battery type        

        Expanded Command Format:

        004F H    The number 79
        000n      Additional words of data
        xxxx      Battery Type    (see instrument)
        xxxx      Battery Size    (see instrument) <optional>
        xxxx      Battery mA/H    (mA/H * 1)       <optional>
        xxxx      Battery Voltage (volts * 100)    <optional>
        xxxx      Battery Impedance (ohms * 100)   <optional>


        This command selects the type of hearing aid battery that the 
        instrument will simulate. 

        The Battery Information is instrument dependent. Some instruments 
        will not accept all parameters. See the instrument specific 
        information for details.

        Battery Type may refer to a combined chemistry and size 
        selection, or just chemistry. Refer to the instrument 
        documentation for the specifics.

        If provided, Size refers to the battery size. See the instrument 
        specific battery list for details.

        Battery voltage and impedance are optional and instrument 
        dependant. If provided, battery voltage refers to the selected 
        voltage for the battery.

        Battery impedance if provided is the selected battery impedance. 

        If a value of 0x8000 (32768) is provided for a value, or a value 
        is not supplied at all (shorter list), the unsupplied value will 
        be left at it's current setting. If Ma/H, Voltage or Impedance 
        values are supplied, they will override the default settings for 
        the battery type and size. Typically this is used for reduced 
        battery strength (aging/weak) simulation.

        See Also: 14 - Do Battery Test 
                  19 - Get Battery Data
                 179 - Get Battery Information







                                       41


        Command                                                    Number  
        -----------------------------------------------------------------
        Set Averaging Frequencies                                  Cmd 82

        0052 H    The number 82
        0001 H    One data word
        xxxx      Averaging Frequencies selection (-1 to 5)

        This command sets the frequency set that will be used for 
        averaging and ANSI distortion.

                  Averaging Frequencies    Distortion Frequencies
         SPA  0 :  800, 1250, 2000 Hz       400,  650, 1000 Hz
         HFA  1 : 1000, 1600, 2500 Hz       500,  800, 1600 Hz
         SPA  2 : 1250, 2000, 3150 Hz       650, 1000, 1600 Hz
         SPA  3 : 1600, 2500, 4000 Hz       800, 1250, 2000 Hz
         SPA  4 : 2000, 3150, 5000 Hz      1000, 1600, 2500 Hz
         IEC  5 :  500, 1000, 2000 Hz       250,  500, 1000 Hz  
         CST -1 : Custom Frequencies       Custom Frequencies  

        If the custom frequencies have not been loaded, but the -1 
        selection is made, a command error will occur, and the current 
        averaging frequency selection will not be changed.

        Note: The IEC frequency set may not be available in all machines 
        or in some modes of operation. 

        Expanded Command Format:

        0052 H    The number 82
        0006 H    Six data words
        a1a1      First Average frequency value
        a2a2      Second Average frequency value
        a3a3      Third Average frequency value
        d1d1      First Distortion frequency value
        d2d2      Second Distortion frequency value
        d3d3      Third Distortion frequency value

        If the command provides six items instead of one, it is assumed 
        to be a custom list of three averaging and three distortion 
        frequencies instead of a list selection. Once a custom selection 
        has been loaded into the instrument, it will be available in the 
        selection list. 

        Note: You can remove the custom frequency selection from the list 
        by setting the frequencies to Invalid (0x8000).

        Note: Not all instruments support custom frequency values.

        See also: 59 - Set Instrument State
                  60 - Get Instrument State
                  81 - Get Averaging Frequencies




                                       42


        Command                                                    Number  
        -----------------------------------------------------------------
        Set Measurement Delay                                      Cmd 84

        0054 H    The number 84
        0001 H    One data word
        xxxx      Measurement settling time (short) in milliseconds

        This command sets the Measurement settling time in milliseconds. 
        This is the old style settle time selection it only controls the 
        sweep measurement settling time (short settle). 

        Expanded Command Format:

        8054 H    The number 84
        0003 H    Three or five data words
        Param1    Short Settle time in milliseconds
        Param2    Long Settle time in milliseconds
        Param3    Start delay (Predelay) in milliseconds
        Param4    I/O Settle time in milliseconds (optional)
        Param5    I/O Start delay in milliseconds (optional)

        If the command contains three items instead of one, the 
        additional items will control Short Settling, Long settling, 
        and  test  Start  Delay times. If five items  are  included,  the 
        additional two items set the I/O Settling and Start delay times.

        The Short Settle time is the amount of time that each successive 
        (small increment change) source signal will be presented before a 
        measurement is made. 

        The Long Settle time is the amount of time that a signal will be 
        presented (large increment change) before a measurement is made. 

        The Start Delay time is the amount of time time before the first 
        a measurement in the test is made. 

        The I/O Settle time is the amount of time that each successive 
        I/O source signal will be presented before a measurement is made. 

        The I/O Start Delay time is the amount of time time before the 
        first a measurement in the I/O test is made. 

        If a parameter is passed as 0x8000 (32768), that parameter will 
        not be changed in the instrument. 

        Note: Not all instruments or tests within an instrument support 
        all parameters of this function. Refer to the instrument 
        specific documentation to determine how the delays are handled by 
        the instrument. 

        See also: 83 - Get Measurement Settle Time




                                       43


        Command                                                    Number
        -----------------------------------------------------------------
        Set CIC Status                                          !! Cmd 88

        0058 H    The number 88
        0001 H    One data word follows
        xxxx      CIC Status 

             Status : 0 = off
                      1 = on

        This command sets the current CIC status.

        Note: This command is replaced by command 172 on newer 
        instruments. Older instruments like the 6500, FP40 do not support 
        command 172 at all. FP35 software only supports command 172 in 
        version 3.50 and later software. You should continue to use 
        command 87 and command 88 on the older equipment.


        See also:  3 - Set OES Status !!
                  24 - Get OES Status !!
                  87 - Get CIC Status !!
                 172 - Set Coupler Selection <preferred>
                 173 - Get Coupler Selection <preferred>































                                       44


        Command                                                    Number
        -----------------------------------------------------------------
        Set Printer Label Storage                                  Cmd 89

        0059 H    The number 89
        0001 H    One data word follows
        xxxx      Label selection

          Selection : 
            0 = Store current label text as power on default
            1 = Store factory label text as power on default
            2 = Read and use stored printer label text as current
            3 = Read and use factory label text as current
            4 = Store current label graphic bitmap as power on default
            5 = Store factory default graphic bitmap as power on default
            6 = Read and use stored label graphic bitmap as current
            7 = Read and use factory label graphic bitmap as current
            8 = Disable printer label timestamp
            9 = Enable printer label timestamp

        This command selects the printer label to or from storage for 
        printing and for power on initialization. 

        If selection 0 is used, the current label text in the instrument 
        will be stored to the default power-on storage memory (this 
        includes the default and custom user ID text if available). 
        If selection 1 is used, the factory default label text will be 
        stored to the default power on storage memory. 
        If selection 2 is used, the current stored label text will be 
        read from storage memory to be used as the current label. 
        If selection 3 is used, the factory default label text will be 
        used as the current label. 
        Selections 4 to 7 work the same way for the label graphic bitmap.

        This command reads or stores the printer label to internal non-
        volatile memory. If the label is saved with this command, it will 
        be the default label used when the instrument is turned on.
        For instruments that allow the User ID information to be loaded 
        as part of the label (lines 9 and 10), the ID information will be 
        stored and read at the same time as the label text (selection 0).
















                                       45


        Selections 0, 1, 4 and 5 update the stored label information and 
        will be used on next power on initialization. Selections 2,3, 6 
        and 7 are temporary, they do not affect the power on 
        initialization storage memory. Note: Custom User ID is only saved 
        when Selection 0 is used. All User text is saved.

        Selections 8 and 9 control the date and time stamp that appear on 
        the label. Normally an instrument that supports a real-time clock 
        will replace the first label line with the current date and  time 
        when the label is printed. Selection 9 will disable this feature. 
        Selection 8 will reenable the date and time stamp. This is a 
        temporary control. The date and time stamp will be re-enabled 
        (default condition) the next time the instrument is turned on.

        On some instruments that have a real time clock the automatic 
        label date/time stamp is suppressed if an extended label (cmd 66) 
        has been uploaded/saved to the instrument. On others, the first 
        line of the label always contains the time stamp.

        Note: not all instruments fully support this command. Refer to 
        the instrument specific documentation for information on what 
        level the instrument supports this command. 

        See also:  6 - Set Label Information
                  64 - Do Line Feeds
                  65 - Do Print 
                  66 - Set Extended Label Information
                  86 - Get Extended Label Information
                  96 - Set Printer Label Bitmap







        Command                                                    Number  
        -----------------------------------------------------------------
        Set Average Mode Delay                                     Cmd 90

        005A H    The number 90
        0002 H    Two data words
        xxxx      Average Start delay time in milliseconds
        xxxx      Average Settling time in milliseconds

        This command sets the Average mode start delay and and settling 
        delay time in milliseconds. 

        See also: 91 - Get Average Mode Delay







                                       46


        Command                                                    Number  
        -----------------------------------------------------------------
        Set Printer Selection                                      Cmd 92

        005C H    The number 92
        0001 H    One data word sent
        xxxx      printer selection

        Expanded Command Format:

        005C H    The number 92
        0002 H    Two words of data
        xxxx      printer selection
        xxxx      printing setup

        Printer Selection:

          Bit 0 : Z=internal     NZ=external
          Bit 1 : Z=monochrome   NZ=color      [may not be supported]
          Bit 2 : Z=HPCL         NZ=Epson      [may not be supported]
          Bit 3 : Z=Uncompressed NZ=Compressed [may not be supported]
          Bit 4-15 : <reserved>

        Printing Setup:                     [may not be supported]
          Bit 0 : Z=Don't Print label       NZ=Print label
          Bit 1 : Z=Inhibit label timestamp NZ=Auto label timestamp
          Bit 2-15 : <reserved>

        This command selects the printer that will be used by the 
        instrument. Reserved bits should not be relied on to contain a 
        valid value. Before calling Set Printer (92), the Get Printer 
        Selection command should be given to obtain the current selection 
        flags for the printer. Bits 3-15 should remain unchanged. 

        If the instrument supports the expanded command format, the 
        automatic label printing and label timestamp can be controlled.
        If Bit 0 of Printing Setup is set to zero, the label leader will 
        not be added to the printout. If bit 0 = 1, the label leader will 
        be added to the printout. If Bit 1 = 0, the automatic label 
        timestamp will be inhibited. If Bit 1 = 1, the automatic label 
        timestamp will be added to the label.

        Not all instruments support all aspects of this command. Refer to 
        the notes for the specific instrument for specific information 
        about printer support on the instrument. The extended format is 
        not available on the FP40 or 6500.

        See also:  6 - Set Label Information
                  64 - Do Line Feeds 
                  65 - Do Print 
                  66 - Set Extended Label Information
                  86 - Get Extended Label Information
                  89 - Set Printer Label Storage 
                  93 - Get Printer Selection
                  96 - Set Printer Label Bitmap

                                       47


























































                                       48


        Command                                                    Number
        -----------------------------------------------------------------
        Set Bitmap                                                 Cmd 96

        0060 H    The number 96
        cccc      Data length <variable> (1000 words max)

        Bitmap Header:

          Data[0]=0060 H Bitmap command
          Data[1]=length Total size in words (1000 max)
          Data[2]=style  Style of Bitmap (2=monochrome, 4/8=color)
          Data[3]=xpos   Xpos in pixels
          Data[4]=ypos   Ypos in pixels
          Data[5]=width  Width in pixels
          Data[6]=height Height in pixels
          Data[7]=Page   0=printer label, 1=screen
          Data[8]=Size   Size of bitmap image in bytes
          Data[9]=Start  Location in packet (words) bitmap data starts
          Data[10...]    bitmap data

        Note: image must start on X byte boundary, and be X bytes wide
        If Style = 0 the image area will be cleared to the current
        background color (any data sent will be ignored).
        Bitmap data is formatted left to right, top to bottom, with the
        least significant bit of the image data located in the least
        significant bit of each word. Word 0 bit 0 is the top left corner 
        of the image and will be located at the Xpos/Ypos location. For 
        the FP35 label, the image should use the following parameters 
        Xpos=0, Ypos=160, W=160, H=32.

        Style 2:
         word0            word1            word2
         0123456789ABCDEF 0123456789ABCDEF 0123456789ABCDEF  line0
         0123456789ABCDEF 0123456789ABCDEF 0123456789ABCDEF  line1

        Style 4:
         word0            word1            word2
         0000111122223333 0000111122223333 0000111122223333  line0
         0000111122223333 0000111122223333 0000111122223333  line1

        Style 8:
         word0            word1            word2
         0000000011111111 0000000011111111 0000000011111111  line0
         0000000011111111 0000000011111111 0000000011111111  line1

        Data is presented in multiples of words. If the number of pixels 
        specified in a line is less than a multiple of a word, the 
        remaining bits of the last word will be ignored. The next Y line 
        will start with bit 0 of the next word in the data packet.






                                       49


        Style 2 Monochrome bitmaps are coded one bit per pixel. 

        Style 4 Color bitmaps are coded four bits per pixel (one nibble) 
        with the lsb of the nibble encoding the lsb of the pixel color. 

        Style 8 Color bitmaps are coded eight bits per pixel (one byte). 

        Notes: Currently only monochrome label bitmaps are supported. 
        Color bitmaps may be supported in the future, in which case the 
        indicated color definitions above could be used. 

        The bitmap Xpos/Ypos specified is where the top left corner 
        of the bitmap will be placed on the printer label or screen the 
        bitmap may be placed anywhere on the label area or the screen. 

        If the bitmap is placed on top of the text portion of the label, 
        it will replace that portion of the text it covers up. If all or 
        part of the bitmap falls off the edge of the label or screen, 
        only that part of the bitmap that is on the printable/displayable 
        area will be used. 

        For large bitmaps, you should reduce the transfers to small 
        chunks. The maximum size of a chunk should be no more than 1000 
        words. Larger sizes may not transfer to the instrument because 
        of the packet size limitations of the Fryers driver.


        It should be noted that pixel positioning is instrument and 
        printer specific. See the individual instrument specifications 
        for additional details.

        See also:  6 - Set Label Information
                  66 - Set Extended Label Information
                  86 - Get Extended Label Information
                  89 - Set Printer Label Storage
                 120 - Get Bitmap   




















                                       50


        Command                                                    Number
        -----------------------------------------------------------------
        Set Attack Release Parameters                              Cmd 97

        0061 H    The number 97
        0004      Four data words 
           
            Parm 1 : 0=XAR, 1=VAR, 2=ANSI96 
            Parm 2 : Source Attack Frequency
            Parm 3 : Attack Window  
            Parm 4 : Release Window


        Notes: XAR = Fixed Attack and Release 
               VAR = Variable Attack and Release 
            ANSI96 = ANSI96 Attack and Release


        See also: 13 - Do Attack and Release Test
                  18 - Get Attack and Release Data
                  40 - Set Attack and Release Frequency Value
                  41 - Get Attack and Release Frequency Value
                  98 - Get Attack Release Parameters

































                                       51


        Command                                                    Number
        -----------------------------------------------------------------
        Set Real Time Clock                                       Cmd 104

        0068 H    The number 104
        0005 H    5 words data sent


        This command updates the current real time clock information in 
        the instrument. 

        The Data is formatted as follows: 

          WORD  Milliseconds -- Current time milliseconds (0-999) *
          BYTE  Seconds      -- Current time seconds (0-59)
          BYTE  Minutes      -- Current time minutes (0-59)
          BYTE  Hours        -- Current time hours (0-23) 
          BYTE  DayOfWeek    -- Current date day of week (1-7) *
          BYTE  Day          -- Current date day (1-31)
          BYTE  Month        -- Current date month (1-12)
          WORD  Year         -- Current date year (1990-2090) *

        * For instruments that do not support Day of Week, the value will 
        be zero when read, and ignored when using the Set command. For 
        instruments that do not support Milliseconds, the value will be 
        zero when read, and ignored when using the Set command. The 6500 
        and FP35 have valid year information to 2090. The FP40 does not 
        have a real time clock.

        See also: 103 - Get Real Time Clock


























                                       52


        Command                                                    Number
        -----------------------------------------------------------------
        Set Output Device Selection                               Cmd 106

        006A H    The number 106
        0001 H    One data word sent
        xxxx      Output Selection


        Expanded Command Format:

        006A H    The number 106
        0002 H    Two words of data
        xxxx      Output Selection
        xxxx      Device Selection

        This command selects the output device to be used.
        Depending on the instrument and the mode it is in, one or two 
        parameters may be expected. 

        If only one parameter is provided, it normally describes the 
        source output jack selection (eg INTERNAL or EXTERNAL). 
        Generally, selection 0 is reserved to mean that output selection 
        is handled automatically by the instrument itself.

        If the optional Device selection parameter is provided and 
        allowed, it specifies the output device to be selected in place 
        of the current output device. (eg SPEAKER, INSERT EARPHONE, TDH39 
        EARPHONE, etc). This is typically used for Audiometric transducer 
        selection to define the device used for audiometric assessment. 
        Generally, selection 0 is reserved to mean that no device is 
        selected, or that the device is unknown.

        Not all instruments support this command. Those that do support 
        the command may have different definitions for the parameters. 
        Refer to the instrument specific documentation for details of 
        the instrument specific meanings.

        See also: 105 - Get Output Device Selection

















                                       53


        Command                                                    Number
        -----------------------------------------------------------------
        Set Impulse Rejection                                     Cmd 108

        006C H    The number 108
        0001 H    One data word
        xxxx      Impulse Rejection level in dB*100


        This command specifies the Impulse rejection value to be used.
        A Rejection value of zero disables impulse rejection. A Non-zero
        value specifies the signal level difference in (DB*100) between 
        two successive measurements at which the signal will be rejected 
        and not added to the signal averaging array. 

        Impulse rejection is only useful when signal averaging is being 
        used. It helps to prevent impulses from significantly affecting 
        averaged measurements.

        Note: Be careful with using rejection levels that are too small 
        or too large. A rejection level that is too large will have no 
        impact on the measurements. A rejection level that is too small 
        may seriously slow down the measurements since many of the 
        measurements may be rejected as containing impulse data. The 
        recommended rejection level is between 3dB and 12dB.

        Note: Not all instruments support this command.

        See also: 107 - Set Impulse Rejection



























                                       54


        Command                                                    Number
        -----------------------------------------------------------------
        Set Selected Curve                                        Cmd 112

        0070 H    The number 112
        0001 H    One data word
        xxxx      Curve number to select

        Expanded Command Format:

        0070 H    The number 112
        nnnn      One or Two words of data
        xxxx      Curve number to select
        yyyy      Curve mode to select

        This command sets the currently selected primary curve in a 
        measurement set. Generally, the primary curve is the curve that 
        will be used for active measurements.

        If a second parameter is provided, it is used to select a 
        particular curve display mode, such as RECD AVG or RECD MEASURED.

        Note: Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.

        See also: 113 - Get Selected Curve
                  114 - Set Curve Status
                  115 - Get Curve Status
                  117 - Get Unaided Curve Selection


























                                       55


        Command                                                    Number
        -----------------------------------------------------------------
        Set Curve Status                                          Cmd 114

        0072 H    The number 114
        0002 H    Two data words
        xxxx      Curve number
        yyyy      Curve status

        This command sets the status of a curve in a measurement set. The 
        curve number must be one of the available curves in the test. The 
        Curve status indicates the state in which to place the curve. 

         Curve Status:  0 - Erase 
                        1 - Inactive
                        2 - Active

        Selecting Erase will delete the curve from the set. Selecting 
        Inactive will not erase the curve, but will prevent it from being 
        displayed on the graph. Selecting Active will cause an existing 
        curve to be displayed on the graph. 

        Note: If there is no data in a curve when Inactive or Active are 
        selected, the curve status will remain in the Erased state. 

        Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.

        See also: 112 - Set Selected Curve 
                  113 - Get Selected Curve
                  115 - Get Curve Status
                  116 - Set Unaided Curve Selection 























                                       56


        Command                                                    Number
        -----------------------------------------------------------------
        Set Unaided Curve Selection                               Cmd 116

        0074 H    The number 116
        0001 H    One data word
        xxxx      Curve type to select

        This command sets the currently selected unaided curve to be used 
        in real ear measurements. Normally this will be one of the 
        following:

          0 = CUSTOM UNAIDED 
          1 = AVERAGE UNAIDED

        If Custom unaided is selected, either the unaided curve data must 
        be sent to the instrument, or it must be measured.

        Note: Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.

        See also: 112 - Set Selected Curve
                  113 - Get Selected Curve
                  114 - Set Curve Status
                  115 - Get Curve Status
                  117 - Get Unaided Curve Selection





























                                       57


        Command                                                    Number
        -----------------------------------------------------------------
        Set List                                                  Cmd 118

        0076 H    The number 118
        xxxx H    variable length


        This command sets the selected list of data in the instrument.
        It can be used to write things such as the pure tone sweep 
        frequency list or the Distortion frequency list. 

        Typical list definition:

        List 2 : Current user measurement frequency list.
        List 3 : Current user distortion frequency list.

        Not all instruments support this command. Those that do support 
        the command may have different list definitions. Refer to the 
        instrument specific documentation for details of support.


        See also: 119 - Get List

































                                       58


        Command                                                    Number
        -----------------------------------------------------------------
        Set Static Tone Selection                                 Cmd 121

        0079 H    The number 121
        0001 H    One data word
        xxxx      Static Tone Selection

        This command sets the Static Tone method to be used. 

          Selection:
            0 = Silent
            1 = Single Tone
            2 = Average Tone


        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 122 - Get Static Tone Selection



































                                       59


        Command                                                    Number
        -----------------------------------------------------------------
        Set Aid Selection                                         Cmd 123

        007B H    The number 123
        0001 H    One data word
        xxxx      Aid Group Selection

        Expanded Command Format:

        007B H    The number 123
        0002 H    Two words of data
        xxxx      Aid Group Selection
        xxxx      Aid Type Selection


        This command sets the Aid group and Aid type to be used. 

          Group Selection:      Type Selection:
            0 = Linear            0 = none 
            1 = AGC               1 = ITE
            2 = Adaptive          2 = BTE
                                  3 = ITC
                                  4 = CIC (Canal aid)
                                  5 = UEM (BTE with user's own earmold)

        If a value is passed as 8000H, the current value is retained.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 124 - Get Aid Type Selection























                                       60


        Command                                                    Number
        -----------------------------------------------------------------
        Set Bias Tone Selection                                   Cmd 125

        007D H    The number 125
        0003 H    Three data words
        xxxx      Bias Source
        yyyy      Bias Frequency 
        zzzz      Bias Duration [optional]

        This command sets the Bias Tone selections to be used. The Bias 
        Tone is normally used with the Digital Speech option. Not all 
        instruments support a Bias Tone. 

        Setting Bias Source to OFF turns off the Bias Tone. Setting Bias 
        Source to ON(1) causes the Bias Tone to be set to the current 
        measurement source level. Setting the Bias Source to 5000 causes 
        the Bias Tone to be set to 50dBspl. Not all instruments support 
        setting the Bias Tone to a level independent of the measurement 
        source level. Setting the level to -32768(0x8000) will leave the 
        current Bias Source level unchanged.

        The Bias Frequency should be set to one of the composite 
        frequencies (100Hz increments). Setting the Bias Frequency to 
        -32768(0x8000) will leave the current setting unchanged. 

        If a Bias Duration is given and the instrument supports the Bias 
        Duration, the Bias Duration period will be presented for the 
        specified time (approximately). Setting the Bias Duration to 0 
        will cause a random Bias Duration to be used. Setting the Bias 
        Duration to -32768(0x8000) will leave the current Bias Duration 
        setting unchanged. 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 126 - Get Bias Tone Selection


















                                       61


        Command                                                    Number
        -----------------------------------------------------------------
        Set Warble Selection                                      Cmd 129

        0081 H    The number 129
        0001 H    One data word
        zzzz      Warble selection

        Expanded Command Format:

        004B H    The number 129
        nnnn      One or Three words of data
        xxxx      Warble Selection (0=off)
        xxxx      Warble Amount (percent * 100)
        xxxx      Warble Rate in Hz (cycles per second)

        This command sets the source Warble. 0=OFF. Different instruments 
        may handle the command is different ways. Setting the Warble 
        selection to zero will always turn the warble off. Setting it to 
        a positive number will turn the selected warble type on. 

        On the FP35, the warble selection is as follows:
          0=No warble (off) never warble
          1=Auto Warble = warble depends on selected test condition
          2=Fast Warble = always warble fast
          3=Slow warble = always warble slow

        If the instrument supports selectable warble rates, the expanded 
        format can be used to select the warble amount as percent * 100.
        If changing the warble rate is supported, it can be changed by 
        setting the rate in Hertz (cycles per second).

        Note: Selecting warble on will also usually cause the analysis 
        routines to switch to a warble analysis method. See the 
        instrument specific documentation for information on warbling for 
        the source of the instrument.

        Not all instruments support Warble.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 130 - Get Warble Selection












                                       62


        Command                                                    Number
        -----------------------------------------------------------------
        Set Receive Timeout                                       Cmd 132

        0084 H    The number 132
        0001 H    One word of data
        xxxx      The receive timeout in milliseconds

        This command sets the receive timeout. All instruments have a 
        minimum of 10ms timeout available. Newer instruments may be 
        less. The default timeout is 1000ms (one second). 

        Note: older instruments do not have this command and have a 
        fixed receive timeout of 100ms. This was found to have problems 
        with some Windows installations losing communication with the 
        instrument, especially when attached to a network, or other real-
        time tasks are running in the computer. The timeout was increased 
        to 1000ms and this command added to help deal with the problem. 
        In most cases, the 1000ms default should not cause any problems. 

        With older instruments, if you experience occasional 
        communication problems while talking to the instrument with 
        Fryers, you should make sure that there are no other real-time 
        tasks running that are hogging the computer time beyond the 100ms 
        timeout period.


        See also: 133 - Get Receive Timeout




























                                       63


        Command                                                    Number
        -----------------------------------------------------------------
        Set Fit Rule                                              Cmd 134

        0086 H    The number 134
        0001 H    One data word
        xxxx      Fit Rule Selection

        This command sets the Fitting rule for target generation.

          Selection:
            0 = NAL-RP      3=1/3 GAIN     6=DSL-LIN      14=OTHER
            1 = POGO        4=1/2 GAIN     7=DSL-WDRC     15=DIRECT
            2 = BERGER      5=2/3 GAIN     8=NAL-NL1    

        Fitting rules 9-13 are not currently defined. 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 135  - Get Fit Rule Selection


































                                       64


        Command                                                    Number
        -----------------------------------------------------------------
        Set Filter Selection                                      Cmd 136

        0088 H    The number 136
        0001 H    One data word
        xxxx      Filter selection 

        Expanded Command Format:

        0088 H    The number 136
        nnnn      One or Two words of data
        xxxx      Filter Selection 
        xxxx      Channel Selection


        This command sets the signal Filter to be used.

          Filter Selection:
            0 = AUTO      3=ICRA           6=ANSI-92
            1 = FLAT      4=LTASS-CHILD     
            2 = ANSI      5=LTASS-ADULT              

        Other filters are not currently defined. If Auto is selected, the 
        filter will be determined by the current operating selections.

        Channel Specifies the following in expanded format mode:

          Channel 0: Default channel
          Channel 1: Left channel 
          Channel 2: Right channel 

        Selecting Channel 0 is the same as if the standard command 
        format was given. A channel value > 0 selects the channel filter
        to be set. It is possible that in the future additional channels 
        may be added.


        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 137 - Get Filter Selection













                                       65


        Command                                                    Number
        -----------------------------------------------------------------
        Set Compression Value                                     Cmd 138

        008A H    The number 138
        0001 H    One data word follows
        xxxx      Compression Threshold in dB*100

        This command sets the aid compression threshold in db*100.

        See also: 139 - Get Compression Value



        Command                                                    Number
        -----------------------------------------------------------------
        Set Client Age                                            Cmd 140

        008C H    The number 140
        0001 H    One data word follows
        xxxx      Client Age in Months

        This command sets the Client's age in months.

            0=Unknown Age (do not show)
         >200=Adult ( >16.7 years )


        See also: 141 - Get Client Age 



























                                       66


        Command                                                    Number
        -----------------------------------------------------------------
        Set Transducer Location                                   Cmd 142

        008E H    The number 142
        0002 H    Two data words follows
        nnnn      Which Transducer
        xxxx      Transducer location


          Which Transducer    :  0 = Sound Field Speaker

          Transducer Location :  0 = zero degrees
                                45 = 45 degrees 

        This command selects the transducer location. Currently only one 
        transducer is defined, the sound field speaker, and the location 
        information is the direction which is normally either zero 
        degrees, or 45 degrees.


        See also: 143 - Get Transducer Location


































                                       67


        Command                                                    Number
        -----------------------------------------------------------------
        Set Leveling Data                                         Cmd 145

        0091 H    The number 145
        nnnn      Variable length data
        xxxx      Which Leveling Source (0=default, 1=ch1, 2=ch2, etc)
        rrrr      <reserved for future use>


        This command sets the current leveling data. You must specify 
        which level source is to be updated (ch1, ch2, etc). The second 
        parameter in this command is reserved for future use. You should 
        set the second parameter to zero (default) for now.

        This only updates the current leveling environment. ie For real 
        ear, only the currently selected ear is updated. To update for 
        the other ear, you must switch to that ear. Currently you are not 
        allowed to change the level frequency list, only the leveling 
        data can be changed.

        The leveling data provided must be of the same format and length 
        as the leveling list provided by Get Leveling Data (cmd 146). If 
        the length is wrong, an invalid command will be returned and the 
        leveling will not be changed. 

        If no leveling data is provided (cmd length = 2), the leveling 
        for the instrument will be set to UNLEVELED. 


        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 146 - Get Leveling Data
                  147 - Set Leveling State
                   17 - Do Leveling 
                   29 - Get Leveling Status
                   68 - Set Spectrum

















                                       68


        Command                                                    Number
        -----------------------------------------------------------------
        Set Leveling State                                        Cmd 147

        0093 H    The number 147
        0001      One data word 
        xxxx      Action to perform

        This command allows you to set the leveling to Unleveled, Restore 
        a saved leveling, or Save the current leveling. 

        Selections:

          0 = Unleveled - set the leveling to unleveled (flat)
          1 = Restore   - restore from the saved leveling
          2 = Save      - Save the current leveling


        Note: Restore and Save will only work on leveling that can be 
        restored or saved on the instrument. Typically Real Ear leveling 
        does not have restore and save capability.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 145 - Set Leveling Data
                  146 - Get Leveling Data
                   17 - Do Leveling 
                   29 - Get Leveling Status
                   68 - Set Spectrum

























                                       69


        Command                                                    Number
        -----------------------------------------------------------------
        Set Aux Port                                              Cmd 148

        0094 H    The number 148
        nnnn      variable data count 
        ppcc      port/control selection


        The upper selection byte of the port/control selection word 
        controls which port is to be selected. Normally the aux port will 
        be port 1.  

        The lower selection byte controls whether to set the port 
        controls or not. 

        If the selection is zero(0), the controls are 
        not set, and the Byte Count immediately follows the selection. If 
        the byte count is zero, no data is sent. 

        If selection is one(1), the control word is expected to 
        immediately follow. With the data byte count following the 
        control word. If there is no data to send, the byte count should 
        be zero. 

        If selection is two(2), the control word is expected to 
        occur after the send data portion the packet. The data byte 
        count follows the selection word. In this selection, the port 
        controls will be updated after the data has been sent. 
        If there is no data to send, the byte count should be zero. 
        This results in the same effect as selection one, except for the 
        location of the control word in the packet.

        If selection is three(3), the control word is expected to 
        occur both before and after the data portion of the packet. The 
        control word that occurs immediately after the selection word 
        will be used to update the port controls, then the data will be 
        sent. Then the Control word that occurs after the data portion 
        will be used to update the port controls. The data byte count 
        follows the first control word. If there is no data to send, the 
        byte count should be zero. In this case, the data port controls 
        will be set by the first control word, then immediately updated 
        by the second control word. The duration between the two actions 
        is indeterminant and should not be relied upon.

        If the control word(s) and data length do not match the selection 
        settings, an Illegal packet response will be sent and the 
        controls will up bet updated, nor will the data be sent.








                                       70


        Command Examples:

        To send the byte 0x55 out         To send the bytes 0x55(first), 
        the aux port:                     0xAA(second) out the aux port:  
         0094 <- cmd                      0094 <- cmd               
         0003 <- 3 cmd words              0003 <- 3 cmd words       
         0100 <- send out aux port        0100 <- send out aux port 
         0001 <- one data byte            0002 <- two data byte     
         0055 <- data                     AA55 <- data              

        To send 0x55(first),            
        0xAA(second) 
        0x11 out the aux port:            To set RTS & DTR on:
         0094 <- cmd                      0094 <- cmd                 
         0003 <- four cmd words           0003 <- two cmd words       
         0100 <- send out aux port        0101 <- set aux port controls
         0003 <- two data byte            n3nn <- set rts/dtr (*see note)
         AA55 <- data                     0000 <- no data sent                          
         0011 <- data                                             
                                          To set RTS on followed by
        To Set RTS and DTR on followed    sending the byte 0x55 out the
        by sending the byte 0x55 out      aux port followed by setting  
        the aux port:                     RTS off: 
         0094 <- cmd                      0094 <- cmd 
         0004 <- four cmd words           0005 <- five cmd words
         0101 <- set aux port controls    0103 <- set aux before & after
         n3nn <- set rts/dtr (*see note)  n2nn <- set rts (*see note)
         0001 <- one data byte            0001 <- one data byte
         0055 <- data                     0055 <- data
                                          n0nn <- clear rts (*see note)
        To send the byte 0x55 out
        the aux port followed by 
        setting RTS:
         0094 <- cmd
         0004 <- four cmd words
         0102 <- set aux after
         0001 <- one data byte
         0055 <- data
         n2nn <- set rts (*see note)

        * Note: Before setting RTS or DTR, you should use command 149 to 
        get the current settings of the port control flags and only 
        change the flags that need to be changed.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 149 - Get Aux Port
                  0x7800 - Set Baudrate






                                       71


        Command                                                    Number
        -----------------------------------------------------------------
        Set User Number                                           Cmd 150

        0096 H    The number 150
        0001 H    One data word follows
        xxxx      User Number         

        This command sets the indicated user number as the current user.
        User settings for ths user will be updated.

            0 = Default 
            1 = User #1
            2 = User #2
            3 = User #3 
            etc...

        See also: 151 - Get User Number


        Command                                                    Number
        -----------------------------------------------------------------
        Set Fit Type                                              Cmd 152

        0098 H    The number 152
        0001 H    One data word
        xxxx      Fit Type (1 or 2)


        This command sets the selected aid fit type.

          1 = Unilateral
          2 = Bilateral


        See also: 153 - Get Fit Type 




















                                       72


        Command                                                    Number
        -----------------------------------------------------------------
        Set Vent Type                                             Cmd 154

        009A H    The number 154
        0001 H    One data word
        xxxx      Vent Type 


        This command sets the selected aid vent type.

        Selections are:

          FIT_VENT_OPEN     = 0 : Vent Open 
          FIT_VENT_OCCLUDED = 1 : Vent Occluded 
          FIT_VENT_TIGHT    = 2 : Vent Tight 
          FIT_VENT_MM1      = 3 : Vent 1mm 
          FIT_VENT_MM2      = 4 : Vent 2mm 
          FIT_VENT_MM3      = 5 : Vent 3mm 

        See also: 154 - Set Vent Type 


        Command                                                    Number
        -----------------------------------------------------------------
        Set Tubing Type                                           Cmd 156

        009C H    The number 156
        0001 H    One data word
        xxxx      Tubing Type

        This command returns the selected aid tubing type.

          FIT_TUBING_NONE   = 0 : Tubing ( None ) [cic, itc, ite aids]
          FIT_TUBING_LIBBY4 = 1 : Tubing ( Libby 4 )
          FIT_TUBING_LIBBY3 = 2 : Tubing ( Libby 3 )
          FIT_TUBING_CFA2   = 3 : Tubing ( CFA #2 horn )
          FIT_TUBING_CFA3   = 4 : Tubing ( CFA #3 stepped bore )
          FIT_TUBING_No13   = 5 : Tubing ( #13 )
          FIT_TUBING_sixC5  = 6 : Tubing ( 6C5 )
          FIT_TUBING_sixC10 = 7 : Tubing ( 6C10 )


        See also: 157 - Set Tubing Type 












                                       73


        Command                                                    Number
        -----------------------------------------------------------------
        Set Aid Channels                                          Cmd 158

        009E H    The number 158
        0001 H    One data word
        xxxx      Aid Channels

        This command sets the selected number of aid channels.
        1->18 = number of channels.

        See also: 159 - Get Aid Channels


        Command                                                    Number
        -----------------------------------------------------------------
        Set Aid Limiting                                          Cmd 160

        00A0 H    The number 160
        0001 H    One data word
        xxxx      Aid Limiting

        This command sets the selected aid limiting method.

          0 = None
          1 = Wideband
          2 = Multichannel

        See also: 161 - Get Aid Limiting 


        Command                                                    Number
        -----------------------------------------------------------------
        Set Reference Method                                      Cmd 162

        00A2 H    The number 162
        0001 H    One data word
        xxxx      Reference Method

        This command sets the selected reference method.

          0 = Auto Select
          1 = Undisturbed Field
          2 = Head Surface

        See also: 163 - Get Reference Method 










                                       74


        Command                                                    Number
        -----------------------------------------------------------------
        Set Fit Parameters                                        Cmd 164

        00A4 H    The number 164
        000C H    12 data words


        In addition to the individual fitting selection commands, you can
        read or set them as a group using the Fitting Parameters
        commands. The group consists of the items arranged as follows:

         typedef struct {
          INT16 FitRule;        [1]      
          INT16 ClientAge;      [2]
          INT16 AidGroup;       [3]
          INT16 AidType;        [4]
          INT16 AidCompression; [5]
          INT16 OutputDevice;   [6]
          INT16 SpeakerLoc;     [7]
          INT16 AidChannels;    [8]
          INT16 AidLimiting;    [9]
          INT16 FitType;        [10]
          INT16 AidVent;        [11]
          INT16 AidTubing;      [12]
          INT16 Reference;      [13] <new>
         }tFitParam;

        Refer to the associated Get/Set cmd for the values of each item. 
        Any new (future) items will be added to the end of the list.

        If a shorter list is passed, the items left off will not be 
        changed. Items passed with 0x8000 (32768) will be left unchanged.

        See also: 163 - Get Fit Parameters 





















                                       75


        Command                                                    Number
        -----------------------------------------------------------------
        Set User ID Text                                          Cmd 166

        00A6 H    The number 166
        cccc      Number words of data (16 or 29)
        xxxx      Selection (0=default, 1=user#1, 2=user#2, etc...)
        dddd      Label data (28 or 56 in 28 byte increments)

        This command sets the User ID text. If a User ID text string is 
        empty (the first character is a null (0), the User ID text string 
        will not be displayed. 

        Note: Some instruments allow setting the Default ID text (lines 9 
        and 10) that are just below the standard label text using Cmd 66.
        Reading the label with cmd 86 will always return the currently
        active User ID text regardless of what was sent via cmd 66. Use 
        cmd 167 to specifically read the Default ID Text.

        The User ID string consists of two additional lines of text that 
        can be printed just below the first eight lines of the printer 
        label. If a Default ID text string is provided, it will be 
        displayed only if there is no Custom User ID text string. (ie The 
        Custom User ID text string has priority.) If neither ID string is 
        available, nothing is displayed in the ID fields (lines 9 & 10).

        Each line of the text is composed of up to 27 data bytes and a 
        null terminator for a total of 28 bytes per line.  Any data after 
        the first null found in a line up to the beginning of the next 
        line will be ignored. The content of the remaining characters in 
        the line are unimportant, but it is recommended that they be 
        nulls. If on any given line a null is not found by the 28th 
        character, the 28th character is replaced by a null. 

        Both User ID text lines must be sent. If you wish to allow the 
        Default ID text to be displayed, the first character in the 
        selected Custom User ID should be a null (0). Each line is 
        handled separately so that either one can be replaced on its own.

        The User ID text is saved at the same time that the printer label 
        text is saved (see cmd 89). Any changes made are immediately 
        effective and will be shown on the label on the next printout.

        Notes: For historical reasons, the packet data is in Motorola 
        format (the 6500 uses a 68000 type cpu). This is backwards from 
        the Intel format on most desktop PCs. You can convert the data to 
        Intel format by exchanging the bytes in each word in the packet.

        See also: 167 - Get User ID Text
                  150 - Set User Number 
                   66 - Set Extended Label Information
                   86 - Get Extended Label Information
                   89 - Set Printer Label Storage



                                       76


        Command                                                    Number
        -----------------------------------------------------------------
        Set Measurement Skew                                      Cmd 168

        00A8 H    The number 168
        0002      Two words of data 
        xxxx      Which mic channel 0=measurement, 1=coupler, 2=probe
        ssss      Skew value in data capture samples

        This command sets the measure skew. The measurement skew is the 
        number of sample delay to start data capture from the start of 
        the source signal. If Which = 0, the default measurement mic 
        channel skew is set, and the reference mic channel skew is set to 
        the default skew value. If Which = 1, only the coupler mic 
        channel is set. If Which = 2, only the probe mic channel is set. 
        If Which = -1 The mic channel skews are set to the default 
        values. If Which is invalid, the command will return an Invalid 
        Command response. 

        If the Skew value is out of range, the default skew value will be 
        used. 

        The skew is tied to the measurement sampling. Thus the skew time 
        is dependent upon the sample time. For a sample rate of 25600, 
        the skew will be 1/25600 (39uS) per skew increment. 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.



        See also: 169 - Get Measurement Skew























                                       77


        Command                                                    Number
        -----------------------------------------------------------------
        Set Display Mode Information                              Cmd 170

        00AA H    The number 170
        0001      variable data count

        This command sets the display mode information. 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.


        See also: 171 - Get display mode




        Command                                                    Number
        -----------------------------------------------------------------
        Set Coupler Selection                                     Cmd 172

        00AC H    The number 172
        0001 H    One data word follows
        xxxx      Coupler Selection 

             Selection : 0 = None
                         1 = 2cc Coupler (Standard)
                         2 = MZ Coupler (OES)
                         3 = CIC Coupler
                         4 = OPE Coupler

        This command sets the current Coupler selection. Measurement data 
        will be corrected based on the selected coupler. Only one coupler 
        can be selected at a time.

        Note: Older instruments like the 6500, FP40 do not support this 
        command. FP35 software only supports it in version 3.50 and 
        later software. You should continue to use Get/Set OES and 
        Get/Set CIC on older equipment.

        See also:  3 - Set Occluded Ear Simulator (OES) Status !!
                  24 - Get Occluded Ear Simulator (OES) Status !!
                  87 - Get CIC Status !!
                  88 - Set CIC Status !! 
                 173 - Get Coupler Selection <preferred>









                                       78


        Command                                                    Number
        -----------------------------------------------------------------
        Set Analysis Selection                                    Cmd 174

        00AE H    The number 174
        0001 H    One data word
        xxxx      Analysis Selection


        This command sets the current analysis selection.

        Selection : 
         DEFAULT_ANALYSIS = -1  Use the default analysis 
         NO_ANALYSIS      = 0   Don't do any analysis 
         TRMS_ANALYSIS    = 1   Do True RMS analysis
         CRMS_ANALYSIS    = 2   Do Corrected RMS analysis
         ERMS_ANALYSIS    = 3   Do Estimated RMS analysis
         DFT_ANALYSIS     = 4   Do DFT analysis
         FFT_ANALYSIS     = 5   Do FFT analysis
         RMS5K_ANALYSIS   = 6   Do reduced bandwith ERMS (200Hz->5KHz)


        This is a limited command. Depending on operational conditions, 
        either a limited set of analysis methods may be available, or the 
        selection may be ignored altogether. For Composite, the selection 
        refers to the overall RMS analysis method to be used. The CRMS 
        and DFT analysis methods require a reference frequency. For those 
        analysis methods, the current selected frequency is used for 
        puretone, or 1KHz for composite.

        Note: Older instruments like the 6500 and FP40 do not support 
        command 174 at all. FP35 software only supports command 174 in 
        version 3.50 and later software. 

        See also: 175 - Get Analysis Selection





















                                       79


        Command                                                    Number
        -----------------------------------------------------------------
        Set Stored Parameter                                      Cmd 180

        00B4 H    The number 180
        0002 H    Two data words sent
        nnnn      Storage Item number
        vvvv      Storage Item value

        Expanded Format:

        00B4 H    The number 180
        xxxx      Variable amount of data sent
        nnnn      Storage Item number #1
        vvvv      Storage Item value #1
        nnnn      Storage Item number #2
        vvvv      Storage Item value #2


        This command will set the value of one or more stored 
        parameters. Each item is referenced by its item number. 
        See the separate document describing storage items to determine 
        the numbers available on each instrument. The command
        requires two values, the first is the stored parameter item 
        number, the second is the value of the stored parameter.

        Mutliple item numbers can optionally be set. If multiple items 
        are to be set, the items are to be sent in the list one after the 
        other. If a specific item is not available in the instrument, it 
        will be ignored. To determine if an item is available, use the 
        Get Stored Parameter command.


        Note: Not all instruments support commands 180 and 181.
        See the instrument specific documentation to determine if the 
        command is supported and which storage items are supported.
        If this command is not available on the instrument, an Illegal 
        command response will be given. 

        See also: 181 - Get Stored Parameter
















                                       80


                                GET Commands

        The GET commands are used to request data of the instrument.  
        When the instrument receives a GET command it will respond with 
        the requested data.  

        If you strip the high bit (and with 7fff hex) from any data 
        response ID you get the ID of the get command that originated
        it.  This can and should be used to double check responses.

        Note that different instruments may return somewhat different 
        data for any given command when data is instrument dependent this 
        will be noted.

            
        Command                                                    Number
        -----------------------------------------------------------------
        Get Attack and Release Data                                Cmd 18

        0012 H    The number 18
        0000 H    No data sent


        Response
        --------
        8012 H    The number -32750
        0002 H    Two data words
        xxxx      Attack time
        yyyy      Release time


        This command requests the most recently measured attack and 
        release times. The values are in milliseconds.

        See also: 13 - Do Attack and Release Test
                  40 - Set Attack and Release Frequency Value
                  41 - Get Attack and Release Frequency Value
                  98 - Get Attack Release Parameters
                  97 - Set Attack Release Parameters 

















                                       81


        Command                                                    Number
        -----------------------------------------------------------------
        Get Battery Data                                           Cmd 19

        0013 H    The number 19
        0000 H    No data sent


        Response
        --------
        8013 H or 8013 H   The number -32749
        0002 H    000n     One, Two, Three or four data words
        xxxx      xxxx     Battery current (in milliamps * 100) 
        yyyy      yyyy     Battery type (see note)            (optional)
                  vvvv     Battery Voltage (in Volts * 100)   (optional)
                  iiii     Battery Impedance (in ohms * 100)  (optional)


        This command requests the most recently measured battery current, 
        optionally the type of battery selected, and optionally the 
        battery voltage and impedance. (It can return a response of one, 
        two, three or four words.) 

        The Battery Type is instrument dependent and optional. It may 
        refer to a combined chemistry and size selection, or just 
        chemistry. Refer to the instrument documentation for the 
        specifics. For a more specific detail of setting battery 
        parameters see commands 79 and 179. If it is available, cmd 179 
        should be used to obtain information about the battery.

        Battery voltage is optional and instrument dependant. It may 
        return the selected voltage for the battery, or it may return 
        the measured voltage at the battery pill. Battery impedance if 
        provided is the selected battery impendence. See command 179 for 
        more detailed battery setup information.

        See Also: 14 - Set Battery Test 
                  79 - Set Battery Information
                 179 - Get Battery Information

















                                       82


        Command                                                    Number
        -----------------------------------------------------------------
        Get Input/Output (I/O) Data                                Cmd 20

        0014 H    The number 20
        0000 H    No data sent


        Response
        --------
        8014 H    The number -32748
        000A H    Ten data words
        ffff      Measurement Frequency
        xxxx      outputs at 50 - 90 dB source


        This command requests the most recently run Input/Output (I/O) 
        curve. The data provided is the frequency at which the test was 
        run, and nine output values corresponding to 50 - 90 dB input.  
        The frequency is in Hz, the outputs are in dB * 100.

        See also: 10 - Set Input/Output (I/O) Parameters
                  15 - Do Input/Output (I/O) Test
                  25 - Get Curve frame Data  
                  31 - Get Measurement Data
                  32 - Get Harmonic Distortion Data
                  34 - Get Input/Output (I/O) Parameters
                  42 - Get Last Measured Curve Data
                  57 - Get Reference Microphone Data
                  61 - Get BLOB
                  94 - Get HFA Measurement

























                                       83


        Command                                                    Number
        -----------------------------------------------------------------
        Get Source Amplitude Value                                 Cmd 21

        0015 H    The number 21
        0000 H    No data sent


        Expanded Command Format:
        0015 H    The number 21
        0001 H    one words sent
        nnnn      Method


        Response
        --------
        8015 H    The number -32747
        0001 H    One data word
        xxxx      Source amplitude in dB * 100    (tcoil= ma/M*100)


        This command requests the current source amplitude for the
        instrument in dB * 100.  A value of zero indicates the source
        is off. In telecoil mode this becomes milliamps per meter 
        * 100 on those instruments that support selection of the telecoil 
        source amplitude. In Volts RMS mode this becomes millivolts RMS.

        If the second option is provided and the current operating mode 
        accepts it, the returned value will be modified as requested by 
        the parameter sent. For audiometer mode, passing zero returns the 
        value as HL if it is an HL value or SPL if it is an SPL value. 
        Passing a parameter of one always returns the value as SPL.

        See also:  0 - Set Source Amplitude Value
                   2 - Set Frequency Value
                  23 - Get Frequency Value




















                                       84


        Command                                                    Number
        -----------------------------------------------------------------
        Get Harmonic Distortion Status                             Cmd 22

        0016 H    The number 22
        0000 H    No data sent


        Response
        --------
        8016 H    The number -32746
        0001 H    One data word
        xxxx      Distortion mode


        This command requests the current harmonic distortion status.

        Distortion Mode: 0 = none
                         1 = 2nd only
                         2 = 3rd only
                         3 = Total (2nd + 3rd)

        See also:  1 - Set Harmonic Distortion Status
                  32 - Get Harmonic Distortion Data



        Command                                                    Number
        -----------------------------------------------------------------
        Get Frequency Value                                        Cmd 23

        0017 H    The number 23
        0000 H    No data sent


        Response
        --------
        8017 H    The number -32745
        0001 H    One data word
        xxxx      Frequency in Hertz


        This command requests the current operating frequency in Hertz.
        By convention a frequency of 0 indicates composite mode.
         
        See also:  0 - Set Source Amplitude Value
                   2 - Set Frequency Value
                  21 - Get Source Amplitude Value








                                       85


        Command                                                    Number
        -----------------------------------------------------------------
        Get Occluded Ear Simulator (OES) Status                 !! Cmd 24

        0018 H    The number 24
        0000 H    No data sent


        Response
        --------
        8018 H    The number -32744
        0001 H    One data word
        xxxx      OES status


        This command requests the current OES status.

           OES Status : 0 = off
                        1 = on


        Note: This command is replaced by command 173 on newer 
        instruments. Older instruments like the 6500, FP40 do not support 
        command 173 at all. FP35 software only supports command 173 in 
        version 3.50 and later software. You should continue to use 
        command 24 on the older equipment.


        See also:  3 - Set Occluded Ear Simulator (OES) Status !!
                  87 - Get CIC Status !!
                  88 - Set CIC Status !! 
                 172 - Set Coupler Selection <preferred>
                 173 - Get Coupler Selection <preferred>























                                       86


        Command                                                    Number
        -----------------------------------------------------------------
        Get Curve Frame                                            Cmd 25

        0019 H    The number 25
        0001 H    One word sent
        xxxx      Curve number

        Expanded Command Format:
        0019 H    The number 25
        0002 H    Two words sent
        nnnn      Channel number
        xxxx      Curve number

        Response
        --------
        8019 H    The number -32743
        0059 H    Eighty nine data words
        nnnn      Curve frame number
        xxxx      Curve frame data

        This command requests a curve frame from the instrument .  This 
        may vary in format from instrument to instrument.  The first word 
        is the curve frame number which should be the same as that 
        requested. The remaining words are the curve frame data.

        If the instrument supports the expanded format, data from the 
        individual input channels can be read. The Channel specifies the 
        desired input channel to read the data from. 

        Channel Specifies the following in expanded format mode:

          Channel 0: Primary channel, or (Primary - Reference) if Ref=ON
          Channel 1: Primary channel only (usually spl only)
          Channel 2: Reference channel only (usually spl only)

        Selecting Channel 0 is the same as if the standard command 
        format was given. A channel value > 0 selects the input channel 
        to be read. It is possible that in the future additional channels 
        may be added.

        Note: Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.

        See also:  9 - Set Curve Frame Data
                  20 - Get Input/Output (I/O) Data
                  31 - GEt Measurement Data 
                  32 - Get Harmonic Distortion Data
                  42 - Get Last Measured Curve Data
                  57 - Get Reference Microphone Data
                  61 - Get BLOB
                  94 - Get HFA Measurement



                                       87


        Command                                                    Number
        -----------------------------------------------------------------
        Get Noise Reduction Value                                  Cmd 26

        001A H    The number 26
        0000 H    No data sent


        Response
        --------
        801A H    The number -32742
        0001 H    One data word
        xxxx      Noise Reduction Selection 

        Expanded Response Format:

        001D H    The number -32739
        0003 H    Three data words
        xxxx      Noise Reduction Selection 
        aaaa      Mic A Noise Reduction Count
        bbbb      Mic B Noise Reduction Count

        This command requests the current noise reduction value. 
        A zero value means no noise reduction, otherwise the number of 
        measurements averaged is returned. One or three words may be 
        returned. If One word is returned, it is the current noise 
        reduction selection. If Three words are returned, the second two 
        words are the current Noise Reduction Count value for Mic A and 
        Mic B respectively. 

        See also:  4 - Set Noise Reduction Value


        Command                                                    Number
        -----------------------------------------------------------------
        Get Smoothing Status                                       Cmd 27

        001B H    The number 27
        0000 H    No data sent


        Response
        --------
        801B H    The number -32741
        0001 H    One data word
        xxxx      Smoothing status

        This command requests the current smoothing status.

        Smoothing Mode: 0 = OFF
                        1 = 100Hz Averaging
                        2 = Log Averaging

        See also:  5 - Set Smoothing Status


                                       88


        Command                                                    Number
        -----------------------------------------------------------------
        Get Software Version                                       Cmd 28

        001C H    The number 28
        0000 H    No data sent


        Response 
        --------
        801C H    The number -32740
        000n H    Number of data words (variable)
        vvvv      Version number
        oooo      Standard Option bit flags low word
        oooo      Standard Option bit flags high word
        cccc      Custom Option information
        eeee      Expanded Option bit flags
        mmmm       Machine type 
        ssss       Machine sub-type (optional)


        This command requests the version number, option codes, custom
        option codes, and the instrument type for the attached instrument.
        The various codes may change from machine to machine.

        Note: Early 6500s do not return Machine Type. Not all instruments 
        return Machine Sub-Type. For those instruments, the packet will 
        be shorter by one or two words. The two values should be presumed 
        to be zero if they are not provided.

        The 6500 and FP40 set the custom option bits and the expanded 
        option bits to all ones. Newer computer software that reads the 
        custom option bits invert them to be zero. Older software does 
        not invert them. In general, if the instrument is a FP40 or a 6500
        the option bits are inverted. Alternately, if the custom option 
        bit flags and the expanded option flags are found to be all on 
        (ones), you are seeing the older custom option definition.

        The older definition of the option bit flags defined the expanded
        option bit flags as the upper word of the custom option 
        information. Also the older definition declared the custom option
        information to be bit flags.

        The newer definition redefines the older upper word of the custom 
        option information to be expanded option flags for future use
        (when we run out of standard option flags). 










                                       89


        The newer definition of the custom option bit flags define the 
        lower byte (Intel format) to be a number between 0 and 255. 
        0=non-custom, 1-254=custom, 255=reserved for expansion.
        The upper byte (Intel format) of the custom option bit flags
        remains undefined and instrument specific at this point. 

        As of this writing, there are no instruments that use the upper
        bit flags, and the returned value will be zero (or 255 on the
        6500/FP40). However, there will be newer software implementations 
        which are expected to make use of the expanded options sometime 
        in the future. 

        See also: 33 - Get Command Status
                  38 - Do Reset 










































                                       90


        Command                                                    Number
        -----------------------------------------------------------------
        Get Leveling Status                                        Cmd 29

        001D H    The number 29
        0000 H    No data sent


        Response
        --------
        801D H    The number -32739
        0001 H    One data word
        xxxx      Leveling status


        Expanded Response Format:

        001D H    The number -32739
        0002 H    Two data words
        xxxx      Leveling Status
        eeee      Transducer Location 


        This command requests the current leveling status of the 
        instrument.

        Leveling Status: 0 = within instrument specification
                         1 = not within specification but close
                               (typically +-6dB)
                         2 = completely un-leveled 
                               (i.e. power up conditions)

        If Transducer Location is provided, it will show the location of 
        the transducer as leveled. Normally this will be either 0, or 45 
        degrees for a speaker. If the location information is not 
        provided, or the value is 32768 (0x8000), the location is not 
        known. If the instrument is not leveled, the location will 
        normally indicate what the location of the transducer will be 
        when it is leveled.

        See also: 17 - Do Leveling















                                       91


        Command                                                    Number
        -----------------------------------------------------------------
        Get Weighting Status                                       Cmd 30

        001E H    The number 30
        0000 H    No data sent


        Response
        --------
        801E H    The number -32738
        0001 H    One data word
        xxxx      Weighting status


        This command requests the current weighting status of the 
        instrument.

          Mode: 0 = Unweighted (flat)
                1 = Weighted Amplitude
                2 = Weighted Gain

        Note: Not all instruments support Unweighted (flat).

        See also:  8 - Set Weighting Status
                  11 - Set Gain Status
                  36 - Get Gain Status





























                                       92


        Command                                                    Number
        -----------------------------------------------------------------
        Get Measurement Data                                       Cmd 31

        001F H    The number 31
        0000 H    No data sent

        Expanded Command Format:

        001F H    The number 31
        0001 H    One data word
        cccc      Channel Number


        Response
        --------
        801F H    The number -32737
        0001 H    One data word
        xxxx      Measurement data


        Normally this is the microphone (or other device) input data 
        data. In average mode it would be the results of the average 
        measurement.

        If the instrument supports the expanded format, data from the 
        individual input channels can be read. The Channel specifies the 
        desired input channel to read the data from. 

        Channel Specifies the following in expanded format mode:

          Channel 0: Primary channel, or (Primary - Reference) if Ref=ON
          Channel 1: Primary channel only (usually spl only)
          Channel 2: Reference channel only (usually spl only)

        Selecting Channel 0 is the same as if the standard command 
        format was given. A channel value > 0 selects the input channel 
        to be read. It is possible that in the future additional channels 
        may be added.


        See also: 20 - Get Input/Output (I/O) Data
                  25 - Get Curve frame Data  
                  32 - Get Harmonic Distortion Data
                  42 - Get Last Measured Curve Data
                  57 - Get Reference Microphone Data
                  61 - Get BLOB
                  94 - Get HFA Measurement








                                       93


        Command                                                    Number
        -----------------------------------------------------------------
        Get Harmonic Distortion Data                               Cmd 32

        0020 H    The number 32
        0000 H    No data sent

        Expanded Command Format

        0020 H    The number 32
        0001 H    One data word
        cccc      Channel Number


        Response
        --------
        8020 H    The number -32736
        0001 H    One data word
        xxxx      Measured distortion in % * 100


        This command requests the most recently measured distortion.

        If the instrument supports the expanded format, data from the 
        individual input channels can be read. The Channel specifies the 
        desired input channel to read the data from. 

        Channel Specifies the following in expanded format mode:

          Channel 0: Primary channel, or (Primary - Reference) if Ref=ON
          Channel 1: Primary channel only (usually spl only)
          Channel 2: Reference channel only (usually spl only)

        Selecting Channel 0 is the same as if the standard command 
        format was given. A channel value > 0 selects the input channel 
        to be read. It is possible that in the future additional channels 
        may be added.


        See also:  1 - Set Harmonic Distortion Status
                  20 - Get Input/Output (I/O) Data
                  22 - Get Harmonic Distortion Status
                  25 - Get Curve frame Data  
                  31 - Get Measurement Data
                  42 - Get Last Measured Curve Data
                  57 - Get Reference Microphone Data
                  61 - Get BLOB
                  94 - Get HFA Measurement








                                       94


        Command                                                    Number
        -----------------------------------------------------------------
        Get Command Status                                         Cmd 33

        0021 H    The number 33
        0000 H    No data sent


        Response
        --------
        8021 H    The number -32735
        0001 H    One data word
        xxxx      Command Status

        Expanded Response Format:

        0021 H    The number -32735
        0002 H    Two data words
        xxxx      Command Status
        eeee      Communication status

        This requests the command status since the last time the command 
        status was read. The command status will be reset to zero on the 
        first command given other then a command status request (this 
        allows multiple command status calls without losing the status). 

                Command Status: 0 = SUCCESS (cmd processed ok)
                                1 = FAILED  (cmd process failed)
          Communication Status: 0 = SUCCESS (no communication failures)
                                nz= FAILED  (comm error occurred)

        Command status:

        The FIPP protocol is a time dependent protocol. A response must 
        be received from the instrument in a timely fashion, or the 
        driver will assume that a communications failure has occurred. 
        If a command takes time to be performed, such as a Do Sweep, an 
        ACK will be immediately returned as a response to the command, 
        then the command will be performed. If a failure occurs while 
        processing the command, the command status will be set to FAILED.

        When a command cannot be correctly processed it will be discarded 
        and the command status flag will be set to one. The command 
        status is not affected when a "NAK" or "Illegal" command is 
        returned. It is affected only if the instrument accepted the 
        command for processing (responded with an ACK to the command 
        being checked by Command Status).

        Although some SET and DO commands can possibly set the command 
        Status response, generally, if an ACK response is returned, that 
        command will also update the command response. If you wish to 
        make sure that the command was processed properly, you should 
        check on the command status after the command has been performed 
        by the instrument.


                                       95


        Communication Status:

        Some instruments may include an additional field that contains 
        error flags relating the communication status. The error flags 
        are hardware dependent. The definitions may change from 
        instrument to instrument. You should refer to the instrument 
        specific documentation to determine the flag definitions. The 
        rule followed though is that the result will be zero if there has 
        been no communication problem. 

        Below are listed the current format for the flags when provided. 
        These definitions are provided for reference only. 

           COMMER BIT0  comm error occurred
                  BIT1    <reserved>
           RCVILL BIT2  illegal cmd rvcd
           RCVBAD BIT3  rcv failed
                  BIT4    <reserved>
           CHKERR BIT5  checksum err
           RCVTOT BIT6  data rcv timeout
           GENERR BIT7  generic port error
            BIT8-BIT15    <reserved>

        COMMER means that a transport error occurred while transferring 
        data, such as the data was lost or damaged in transport. It is 
        set when the communication hardware (uart) reports an error.
        RCVILL means that an unsupported command was received. 
        RCVBAD means that something went wrong while receiving data. A 
        buffer overflow is the most likely cause. 
        RCVTOT means that a receive timeout occurred. This happens when 
        the time between receiving successive characters exceeds the 
        defined limit. Usually this is 100ms, but may be 1000ms on some 
        systems. 
        GENERR is a generic catch all error flag. It means that something 
        went wrong during the packet transfer. There may or may not be a
        known reason for the error. Normally, one of the other flags will 
        be set to indicate what the error was. 

        These flags are accumulated error flags. That is, once set the 
        the flag will remain set until it is cleared. The flags are 
        cleared at the same time that the Command Status is cleared. 

        It should be noted that occasionally an error may occur. Usually 
        it is associated with a high-level error that is handled by the 
        software, or it may be a soft error which is automatically 
        corrected by the Drivers. Even if the error was corrected, the 
        flag will remain set until it has been cleared as indicated. The 
        flag information is intended to assist the programmer in 
        debugging their software. Normally you don't need to look at it.

        See also: 28 - Get Software Version
                  38 - Do Reset
                  -5 - Acknowledge response
                  -6 - Illegal command


                                       96


        Command                                                    Number
        -----------------------------------------------------------------
        Get Input/Output (I/O) Parameters                          Cmd 34

        0022 H    The number 34
        0000 H    No data sent


        Response
        --------
        8022 H    The number -32734
        000n H    Number of data words (variable)
        xxxx      Test frequency in Hertz 
        yyyy      Gain flag 
        dddd       Start Delay in milliseconds - [optional]
        ssss       Sweep Delay in milliseconds - [optional]


        This command requests the current I/O parameter settings used in 
        the I/O test. If the packet only has two words of data the Start 
        and Sweep Delay parameters are not supported. 

             Freq : Frequency in Hertz (0 for composite)
             Gain : 0 = amplitude
                    1 = gain
             Start Delay : Delay time in milliseconds after presentation 
                   of first signal before a measurement is made.
             Sweep Delay : Delay time in milliseconds between remaining 
                   signal presentations before measurement is made.

        Note: Not all instruments support controllable Start and Sweep 
        delay times.

        See also: 10 - Set Input/Output (I/O) Parameters
                  15 - Do Input/Output (I/O) Test 
                  20 - Get Input/Output (I/O) Data




















                                       97


        Command                                                    Number
        -----------------------------------------------------------------
        Get Probe Mode                                          !! Cmd 35

        0023 H    The number 35
        0000 H    No data sent


        Response
        --------
        8023 H    The number -32733
        0001 H    One word of data
        xxxx      Probe Mode state
         

        This command requests the current probe mode state.

            Status: 0 = Not in Probe Mode (off)
                    1 = In Probe Mode (on)

        !! This is an obsolete command form see Get Instrument State for 
           the current method of determining the state of the instrument.

        See also:  7 - Set Probe Mode (!! obsolete)
                  59 - Set Instrument State
                  60 - Get Instrument State






























                                       98


        Command                                                    Number
        -----------------------------------------------------------------
        Get Gain Status                                            Cmd 36

        0024 H    The number 36
        0000 H    No data sent


        Response
        --------
        8024 H    The number -32732
        0001 H    One word of data
        xxxx      Gain status


        This command requests the current Gain status.

           Status: 0 = Amplitude
                   1 = Gain

        See also:  8 - Set Weighting Status
                  30 - Get Weighting Status
                  36 - Set Gain Status 

































                                       99


        Command                                                    Number
        -----------------------------------------------------------------
        Get Source Method Selection                                Cmd 37

        0025 H    The number 37
        0000 H    No data sent


        Response
        --------
        8025 H    The number -32731
        0001 H    One word of data
        xxxx      Source Method


        This command requests the current source method selection.

        Selection : 
         SRC_METHOD_AUTO  = -1 Use the default source method 
         SRC_METHOD_SPL   =  0 Use SPL source method (dB*100)
         SRC_METHOD_TCOIL =  1 Use telecoil source method (mA/M*100)
         SRC_METHOD_VRMS  =  2 Use voltage source method (mVrms*10)


        This is a limited command. Depending on operational conditions, 
        either a limited set of source methods may be available, or the 
        selection may be ignored altogether. This is an instrument 
        specific command. See the instrument specific notes for details 
        on the use of this command.

        Note: Older instruments like the 6500, FP40 do not support 
        values other than 0 and 1. FP35 software only supports 
        the additional values in version 3.51 and later software. 

        On some instruments (6500), this command goes to a specific 
        screen, on other instruments, it just selects the source method.


        See also:  0 - Set Source Amplitude Value
                  11 - Set Source Method Selection 
                  21 - Get Source Amplitude Value
                  39 - Set Telecoil Parameter
                  44 - Get Telecoil Parameter
                  59 - Set Instrument State
                  60 - Get Instrument State











                                       100


        Command                                                    Number
        -----------------------------------------------------------------
        Get Attack and Release Frequency Value                     Cmd 41

        0029 H    The number 41
        0000 H    No data sent


        Response
        --------
        8029 H    The number -32727
        0001 H    One word of data
        xxxx      Attack and Release Frequency in Hertz


        This command requests the frequency that will be used with the 
        Attack and Release test.

        See also: 13 - Do Attack and Release Test 
                  18 - Get Attack and Release Data
                  40 - Set Attack and Release Frequency Value
                  98 - Get Attack Release Parameters
                  97 - Set Attack Release Parameters 

































                                       101


        Command                                                    Number
        -----------------------------------------------------------------
        Get Last Measured Curve Frame                              Cmd 42

        002A H    The number 42
        0000 H    No data sent

        Expanded Command Format:

        002A H    The number 42
        0001 H    One data word
        cccc      Channel Number


        Response
        --------
        802A H    The number -32726
        0058 H    Eighty eight data words
        xxxx      The curve frame data


        This command contains the most recently measured curve frame.

        Note: this command is not available in all modes of all 
        instruments. Refer to the instrument documentation for the 
        specifics. (on the 6500 this is only available in probe mode.)

        If the instrument supports the expanded format, data from the 
        individual input channels can be read. The Channel specifies the 
        desired input channel to read the data from. 

        Channel Specifies the following in expanded format mode:

          Channel 0: Primary channel, or (Primary - Reference) if Ref=ON
          Channel 1: Primary channel only (usually spl only)
          Channel 2: Reference channel only (usually spl only)

        Selecting Channel 0 is the same as if the standard command 
        format was given. A channel value > 0 selects the input channel 
        to be read. It is possible that in the future additional channels 
        may be added.


        See also:  9 - Set Curve Frame Data
                  20 - Get Input/Output (I/O) Data
                  25 - Get Curve Frame Data
                  31 - Get Measurement Data
                  32 - Get Harmonic Distortion Data
                  42 - Get Last Measured Curve Data
                  57 - Get Reference Microphone Data
                  61 - Get BLOB
                  94 - Get HFA Measurement




                                       102


        Command                                                    Number
        -----------------------------------------------------------------
        Get Telecoil Parameter                                     Cmd 44

        002C H    The number 44
        0000 H    No data sent


        Response
        --------
        002C H    The number 44
        0001 H    One data word follows
        xxxx      Telecoil method


        This command requests the method in which the telecoil test will 
        be run when the telecoil mode is selected. If Composite is 
        specified, the currently selected composite type will be used.
        This command is used in telecoil screens. Instruments that use 
        the telecoil as a source method may not support this command.

           Mode: 0 = Composite
                 1 = ANSI (1000 Hz)
                 2 = IEC (1600 Hz or 2500 Hz per IEC option)
                 3 = ANSI96 (TMFS)

        Note: this command is not available on all instruments, and may 
        change from instrument to instrument. 

        See also:  0 - Set Source Amplitude Value
                  11 - Set Telecoil Mode 
                  21 - Get Source Amplitude Value
                  37 - Get Source Method Selection 
                  39 - Set Telecoil Parameter






















                                       103


        Command                                                    Number
        -----------------------------------------------------------------
        Get Zeta Mode                                           !! Cmd 45

        002D H    The number 45
        0000 H    No data sent


        Response
        --------
        802D H    The number -32723
        0001 H    One word of data
        xxxx      Zeta Mode state


        This command requests the current Zeta mode state.

            Status: 0 = Not in Zeta mode (off)
                    1 = In Zeta Mode (on)

        !! This is an obsolete command Zeta is no longer supported.

        See also: 43 - Set Zeta Mode (!! obsolete)

































                                       104


        Command                                                    Number
        -----------------------------------------------------------------
        Get Insitu Mode                                            Cmd 46

        002E H    The number 46
        0000 H    No data sent


        Response
        --------
        002E H    The number 46
        0003 H    Three data words
        iiii      Insitu enable
        oooo      Output correction
        ssss      Source correction


        This command requests the Insitu mode that is used to compensate
        the measurements that are made.

        Insitu enable:      0 = ON
                            1 = OFF

        Output correction:  0 = None
                            1 = OES + Insertion gain
                            2 = OES only
                            3 = Insertion gain only

        Source correction:  0 = None
                            1 = ITE
                            2 = BTE
                            3 = ITC


        See also:  3 - Set Occluded Ear Simulator (OES) Status !!
                  24 - Get Occluded Ear Simulator (OES) Status !!
                  47 - Set Insitu Mode 
                  87 - Get CIC Status !!
                  88 - Set CIC Status !! 
                 172 - Set Coupler Selection
                 173 - Get Coupler Selection















                                       105


        Command                                                    Number
        -----------------------------------------------------------------
        Get Automatic Status                                       Cmd 49

        0031 H    The number 49
        0000 H    No data sent


        Response
        --------
        8031 H    The number -32719
        0001 H    One data word
        xxxx      Automatic status


        This command requests the current status of the automatic
        operation.  When OFF, the automatic function is disabled (manual
        mode).  When ON, the automatic function is enabled (automatic
        mode).

           Status: 0 = off
                   1 = on


        See also: 48 - Set Automatic Status 































                                       106


        Command                                                    Number
        -----------------------------------------------------------------
        Get Output Limiting Value                                  Cmd 51

        0033 H    The number 51
        0000 H    No data sent


        Response
        --------
        8033 H    The number -32717
        0001 H    One data word
        xxxx      Limit value in dB * 100


        This command requests the current output limit value in the 
        instrument.

        See also: 50 - Set Output Limiting Value





































                                       107


        Command                                                    Number
        -----------------------------------------------------------------
        Get Reference Microphone Status                            Cmd 53

        0035 H    The number 53
        0000 H    No data sent


        Response
        --------
        8035 H    The number -32715
        0001 H    One data word
        xxxx      Reference Microphone Status


        This command requests the current status of the reference 
        microphone.

           Status: 0 = off
                   1 = on

        See also: 52 - Set Reference Microphone Status
                  57 - Get Reference Microphone Data


        Command                                                    Number
        -----------------------------------------------------------------
        Get Active Status                                          Cmd 55

        0037 H    The number 55
        0000 H    No data sent


        Response
        --------
        8037 H    The number -32713
        0001 H    One data word follows
        xxxx      Active Status


        This command requests the current status of the Start/Stop 
        function. When OFF, the test is stopped (inactive). 
        When ON, the test is running (active).

           Status: 0 = off
                   1 = on

        See also: 16 - Do Start/Stop
                  54 - Set Active Status







                                       108


        Command                                                    Number
        -----------------------------------------------------------------
        Get Reference Microphone Data                              Cmd 57

        0039 H    The number 57
        0000 H    No data sent


        Response
        --------
        8039 H    The number -32711
        0001 H    One data word follows
        xxxx      Reference Microphone Data in dB * 100


        This command requests the most recently measured input of the
        reference microphone. Refer to the instrument operator's manual
        for a description of the use of the reference microphone.


        See also: 20 - Get Input/Output (I/O) Data
                  25 - Get Curve frame Data  
                  31 - Get Measurement Data 
                  32 - Get Harmonic Distortion Data
                  42 - Get Last Measured Curve Data
                  53 - get Reference Microphone Status
                  57 - Get Reference Microphone Data
                  61 - Get BLOB
                  94 - Get HFA Measurement



























                                       109


        Command                                                    Number
        -----------------------------------------------------------------
        Get Keycode                                                Cmd 58

        003A H    The number 58
        0000 H    No data sent


        Response
        --------
        803A H    The number -32710
        0001 H    One data word
        xxxx      The Keycode


        This command requests the code for the most recent key pressed
        on the instrument. Keycodes are listed in a separate document.  

        Note: on some instruments the returned keycode may only be 
        reliable if the keyboard control is set to RS232.

        See also: 72 - Set Keycode   
                  62 - Get Control Lock
                  63 - Get Control Lock
































                                       110


        Command                                                    Number
        -----------------------------------------------------------------
        Get Instrument State                                       Cmd 60

        003C H    The number 60
        0000 H    No data sent


        Response
        --------
        803C H    The number -32708
        0002 H    Two data words
        xxxx      The major state
        yyyy      The minor state


        This command requests the current major and minor states of the
        instrument.  These are only valid in modes where the concept of
        a state is supported. See command #59 for a list of the state 
        definitions as of this writing.

        Note: not all instruments implement the instrument state in 
        exactly the same way. Nor do all instruments implement all the 
        states listed. Refer to the instrument documentation for 
        specifics about which states are supported and how they are 
        supported. 

        See also: 59 - Set Instrument State




























                                       111


        Command                                                    Number
        -----------------------------------------------------------------
        Get BLOB (Binary Large OBject)                             Cmd 61

        003D H    The number 61
        0000 H    No data sent


        Response
        --------
        803D H    The number -32707
        cccc      Variable number of data words
        xxxx      The BLOB


        This command requests an aggregate of all data relevant to the
        current state of the instrument.  Note: All BLOBs start with an
        identical 3 word header. Word 3 (B_SIZE) should be the same as 
        the number of data words in the data packet (packet word 2). 
        Refer to the specific instrument for non-standard blobs.
        The standard blob formats are shown on the following pages.

        Note: The ANSI87 blob is a sub-set of the ANSI96 blob. The ANSI03 
        blob is the same as the ANSI96 blob (only the Major state number 
        changes). The ANSI92 blob is completely different. The IEC, JIS, 
        ISI and Profiler blobs are all different.

        See also: 59 - Set Instrument State
                  60 - Get Instrument State
                  70 - Set Option Parameters
                  71 - Get Option Parameters 

























                                       112


                                 -- ANSI87 blob --

        ANSI87 set ref test gain (major 2, minor 3, size 14)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_AFREQ     : Averaging frequencies (Hz)      -  3 words    (4)
          B_DFREQ     : Distortion frequencies (Hz)     -  3 words    (7)
          B_AID       : Hearing aid type (see cmd 71)   -  1 word    (10)
          B_FOG_SRC   : Source amplitude for FOG (dB)   -  1 word    (11)
          B_COIL      : Telecoil output (dB)            -  1 word    (12)
          B_CRTG      : Calculated (target) RTG (dB)    -  1 word    (13)
          B_MRTG      : Measured RTG (dB)               -  1 word    (14) 
        Note: The short blob is also available in minor states 1 and 2 
        (telecoil test) on some instruments; see instrument documentation


        ANSI87 test complete (major 2, minor 4, size 213)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_AFREQ     : Averaging frequencies (Hz)      -  3 words    (4)
          B_DFREQ     : Distortion frequencies (Hz)     -  3 words    (7)
          B_AID       : Hearing aid type (see cmd 71)   -  1 word    (10)
          B_FOG_SRC   : Source amplitude for FOG (dB)   -  1 word    (11)
          B_COIL      : Telecoil output (dB)            -  1 word    (12)
          B_CRTG      : Calculated (target) RTG (dB)    -  1 word    (13)
          B_MRTG      : Measured RTG (dB)               -  1 word    (14)
          B_SSPL      : SSPL90 curve frame              - 88 words   (15)
          B_AVG_SSPL  : AVG SSPL90 (dB)                 -  1 word   (103)
          B_FOG       : AVG FOG (dB)                    -  1 word   (104)
          B_RESP      : RESP curve frame                - 88 words  (105) 
          B_RESP_LIM  : Response limit (dB)             -  1 word   (193)
          B_F1        : F1 lower rsp limit freq (Hz)    -  1 word   (194)
          B_F2        : F2 upper rsp limit freq (Hz)    -  1 word   (195) 
          B_THD       : THD at DFREQ frequencies (%)    -  3 words  (196)
          B_BATT      : Battery current (mA)            -  1 word   (199)
          B_BATT_TYPE : Battery type (see cmd 19)       -  1 word   (200)
          B_EIN       : Equivalent input noise (dB)     -  1 word   (201)
          B_IO        : I/O curve (5dB steps, 50-90dB)  - 10 words  (202)
          B_ATT       : Attack time (mS)                -  1 word   (212) 
          B_REL       : Release time (mS)               -  1 word   (213)

        Note: See CURVE.TXT file for the format of curve frames.












                                       113


                                -- ANSI92 blob --

        ANSI92 set ref test gain (major 12, minor 1, size 9)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_CRTG      : Calculated (target) RTG (dB)    -  1 word     (4)
          B_MRTG      : Measured RTG (dB)               -  1 word     (5) 
          B_NSPL90    : NSPL90 value (dB)               -  1 word     (6) 
          B_FONG      : Full-on noise gain value (dB)   -  1 word     (7)
          B_NRED      : Noise reduction used (4,8,16)   -  1 word     (8)
          B_MDLY      : Measurement settling time (mS)  -  1 word     (9) 


        ANSI92 test complete (major 12, minor 2, size 454)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_CRTG      : Calculated (target) RTG (dB)    -  1 word     (4)
          B_MRTG      : Measured RTG (dB)               -  1 word     (5) 
          B_NSPL90    : NSPL90 value (dB)               -  1 word     (6)
          B_FONG      : Full-on noise gain value (dB)   -  1 word     (7)
          B_NRED      : Noise reduction used (4,8,16)   -  1 word     (8)
          B_MDLY      : Measurement settling time (mS)  -  1 word     (9) 
          B_RSPL50    : 50 dB response curve frame      - 88 words   (10)
          B_RSPL60    : 60 dB response curve frame      - 88 words   (98)
          B_RSPL70    : 70 dB response curve frame      - 88 words  (186)
          B_RSPL80    : 80 dB response curve frame      - 88 words  (274)
          B_RSPL90    : 90 dB response curve frame      - 88 words  (362)
          B_IO        : I/O curve (10db steps, 50-90dB) -  5 words  (450)

        Note: See CURVE.TXT file for the format of curve frames.
























                                       114


                           -- ANSI96 / ANSI03 blob --

        ANSI96/ANSI03 set ref test gain (major 18/33, minor 1, size 14)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_AFREQ     : Averaging frequencies (Hz)      -  3 words    (4)
          B_DFREQ     : Distortion frequencies (Hz)     -  3 words    (7)
          B_AID       : Hearing aid type (see cmd 71)   -  1 word    (10)
          B_FOG_SRC   : Source amplitude for FOG (dB)   -  1 word    (11)
          B_COIL      : Telecoil output (dB)            -  1 word    (12)
          B_CRTG      : Calculated (target) RTG (dB)    -  1 word    (13)
          B_MRTG      : Measured RTG (dB)               -  1 word    (14) 
        Note: The short blob is also available in minor states 2 and 3 
        (telecoil test) on some instruments; see instrument documentation


        ANSI96/ANSI03 test complete (major 18/33, minor 4, size 362)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_AFREQ     : Averaging frequencies (Hz)      -  3 words    (4)
          B_DFREQ     : Distortion frequencies (Hz)     -  3 words    (7)
          B_AID       : Hearing aid type (see cmd 71)   -  1 word    (10)
          B_FOG_SRC   : Source amplitude for FOG (dB)   -  1 word    (11)
          B_COIL      : Telecoil output (dB)            -  1 word    (12)
          B_CRTG      : Calculated (target) RTG (dB)    -  1 word    (13)
          B_MRTG      : Measured RTG (dB)               -  1 word    (14)
          B_OSPL      : OSPL90 curve frame              - 88 words   (15)
          B_AVG_OSPL  : AVG OSPL90 (dB)                 -  1 word   (103)
          B_FOG       : AVG FOG (dB)                    -  1 word   (104)
          B_RESP      : RESP curve frame                - 88 words  (105) 
          B_RESP_LIM  : Response limit (dB)             -  1 word   (193)
          B_F1        : F1 lower rsp limit freq (Hz)    -  1 word   (194)
          B_F2        : F2 upper rsp limit freq (Hz)    -  1 word   (195) 
          B_THD       : THD at DFREQ frequencies (%)    -  3 words  (196)
          B_BATT      : Battery current (mA)            -  1 word   (199)
          B_BATT_TYPE : Battery type (see cmd 19)       -  1 word   (200)
          B_EIN       : Equivalent input noise (dB)     -  1 word   (201)
          B_IO87      : <reserved>                      - 10 words  (202)
          B_ATT       : Attack time (mS)                -  1 word   (212) 
          B_REL       : Release time (mS)               -  1 word   (213)
          ---- ANSI96/03 extension --------------------------------------
          B_AGC_IO    : AGC I/O curves (five sets)      - 50 words  (214)
          B_AGC_ATT   : AGC Attack time (mS - 5 sets)   -  5 word   (264) 
          B_AGC_REL   : AGC Release time (mS - 5 sets)  -  5 word   (269)
          B_SPLITS    : SPLITS curve frame              - 88 words  (274)
          B_AVG_SPLITS: AVG SPLITS (dB - HFA/SPA)       -  1 word   (362)
        Note: See CURVE.TXT file for the format of curve frames.







                                       115


                                 -- IEC blob --

        IEC set ref test gain (major 3, minor 1, size 9)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_RTF       : Reference test frequency (Hz)   -  1 word     (4)
          B_DFREQ     : Distortion frequency (Hz)       -  1 word     (5)
          B_AID       : Aid type (see cmd 71)           -  1 word     (6)
          B_FOG_SRC   : Source for ref test gain (dB)   -  1 word     (7)
          B_CRTG      : Calculated ref test gain (dB)   -  1 word     (8)
          B_MRTG      : Reference test gain (dB)        -  1 word     (9)


        IEC test complete (major 3, minor 2, size 277 or 289)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_RTF       : Reference test frequency (Hz)   -  1 word     (4)
          B_DFREQ     : Distortion frequency (Hz)       -  1 word     (5) 
          B_AID       : Aid type (see cmd 71)           -  1 word     (6)
          B_FOG_SRC   : Source for ref test gain (dB)   -  1 word     (7)
          B_CRTG      : Calculated ref test gain (dB)   -  1 word     (8)
          B_MRTG      : Meas Reference test gain (dB)   -  1 word     (9)
          B_SSPL      : Sspl90 curve frame              - 88 words   (10)
          B_FOG       : Full on gain curve frame        - 88 words   (98)
          B_BATT      : Battery current (ma)            -  1 word   (186)
          B_BATT_TYPE : Battery type (see cmd 19)       -  1 word   (187)
          B_RESP      : Response curve frame            - 88 words  (188)
          B_THD       : Measured Distortion (%)         -  1 word   (276)
          B_EIN       : Equivalent input noise (dB)     -  1 word   (277)
            (optional fields)
          B_IO        : I/O curve (5dB steps, 50-90dB)  - 10 words  (278)
          B_ATT       : Attack time (mS)                -  1 word   (288)
          B_REL       : Release time (mS)               -  1 word   (289)

        Note: B_IO, B_ATT, and B_REL are optional. If the blob is larger 
        than 277 words, the additional fields have been sent. 
        See CURVE.TXT file for the format of curve frames.

















                                       116


                                 -- JIS blob --

        JIS set ref test gain (major 4, minor 1, size 9)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_FREQ      : Reference test frequency (Hz)   -  1 word     (4)
          B_CPLTYP    : Coupler Type (MZ/2cc)           -  1 word     (5)
          B_AID       : Aid type (see cmd 71)           -  1 word     (6)
          B_FOG_SRC   : Source for ref test gain (dB)   -  1 word     (7)
          B_CRTG      : Calculated ref test gain (dB)   -  1 word     (8)
          B_MRTG      : Meas Reference test gain (dB)   -  1 word     (9)
                                                                  

        JIS test complete (major 4, minor 2, size 291)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_FREQ      : Reference test frequency (Hz)   -  1 word     (4)
          B_CPLTYP    : Coupler Type (MZ/2cc)           -  1 word     (5)
          B_AID       : Aid type (see cmd 71)           -  1 word     (6)
          B_FOG_SRC   : Source for ref test gain (dB)   -  1 word     (7)
          B_CRTG      : Calculated ref test gain (dB)   -  1 word     (8)
          B_MRTG      : Meas Reference test gain (dB)   -  1 word     (9)
          B_SSPL      : Sspl90 curve frame              - 88 words   (10) 
          B_FOG       : Full on gain curve frame        - 88 words   (98)
          B_BATT      : Battery current (mA)            -  1 word   (186)
          B_BATT_TYPE : Battery type (see cmd 19)       -  1 word   (187) 
          B_RESP      : Response curve frame            - 88 words  (188)
          B_THD0      : Distortion at 500 Hz (%)        -  1 word   (276)
          B_THD1      : Distortion at 800 Hz (%)        -  1 word   (277) 
          B_THD2      : Distortion at 1600 Hz (%)       -  1 word   (278)
          B_EIN       : Equivalent input noise (dB)     -  1 word   (279) 
          B_IO        : I/O curve (5dB steps, 50-90dB)  - 10 words  (280)
          B_ATT       : Attack time (mS)                -  1 word   (290)
          B_REL       : Release time (mS)               -  1 word   (291) 

        Note: See CURVE.TXT file for the format of curve frames.


















                                       117


                                 -- Profiler blob --

        Profiler test complete (major 19, minor 2, size 471)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_CURVE1    : Curve data set #1               - 88 words    (4)
          B_CURVE2    : Curve data set #2               - 88 words   (92)
          B_CURVE3    : Curve data set #3               - 88 words  (180)
          B_CURVE4    : Curve data set #4               - 88 words  (268)
          B_CURVE5    : Curve data set #5               - 88 words  (356)
          B_SPARE1    : -Spare- word                    -  1 word   (444)
          B_EIN       : Equivalent input noise (dB)     -  1 word   (445) 
          B_SPARE2    : -Spare- word                    -  1 word   (446)
          B_BATT      : Battery current (mA)            -  1 word   (447)
          B_SPARE3    : -Spare- word                    -  1 word   (448)
          B_BATT_TYPE : Battery type (see cmd 19)       -  1 word   (449) 
          B_DIST      : Distortion data                 - 16 words  (450)
          B_SPARE4    : -Spare- word                    -  1 word   (466)
          B_PEAK      : Peak output                     -  1 word   (467)
          B_SPARE5    : -Spare- word                    -  1 word   (468)
          B_RMS2      : RMS output of Curve #2          -  1 word   (469)
          B_SPARE6    : -Spare- word                    -  1 word   (470)
          B_NR50      : Noise reduction for 50dB curve  -  1 word   (471)

        Note: See CURVE.TXT file for the format of curve frames.
              Spare words should be ignored, they will not contain 
              stable information.




























                                       118


                                 -- ISI blob --

        ISI set ref test gain (major 5, minor 1, size 18)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_AFREQ     : Averaging frequencies (Hz)      -  3 words    (4)
          B_RTF       : Reference test frequency (Hz)   -  1 word     (7)
          B_DFREQ     : Distortion frequencies (Hz)     -  3 words    (8) 
          B_DFFREQ    : DF distortion frequencies (Hz)  -  2 words   (11)
          B_AID       : Aid type (see cmd 71)           -  1 word    (13)
          B_FOG_SRC   : Source for ref test gain (dB)   -  1 word    (14)
          B_FOGREF15  : Fog at ref test freq @ 1.5v     -  1 word    (15)
          B_FOGAVG15  : Fog hfa avg @1.5v               -  1 word    (16)
          B_FOGREF10  : Fog at ref test freq @ 1.5v     -  1 word    (17)
          B_FOGAVG10  : Fog hfa avg @ 1.0v              -  1 word    (18) 
          B_CRTG      : Calculated ref test gain (dB)   -  1 word    (19)
          B_MRTG      : Meas Reference test gain (dB)   -  1 word    (20)

        ISI test complete (major 5, minor 2, size 222)
          B_MAJ       : Major state for this blob       -  1 word     (1)
          B_MIN       : Minor state for this blob       -  1 word     (2)
          B_SIZE      : Size of this blob               -  1 word     (3)
          B_AFREQ     : Averaging frequencies (Hz)      -  3 words    (4)
          B_RTF       : Reference test frequency (Hz)   -  1 word     (7)
          B_DFREQ     : Distortion frequencies (Hz)     -  3 words    (8) 
          B_DFFREQ    : DF distortion frequencies (Hz)  -  2 words   (11)
          B_AID       : Aid type (see cmd 71)           -  1 word    (13)
          B_FOG_SRC   : Source for ref test gain (dB)   -  1 word    (14)
          B_FOGREF15  : Fog at ref test freq @ 1.5v     -  1 word    (15)
          B_FOGAVG15  : Fog hfa avg @1.5v               -  1 word    (16)
          B_FOGREF10  : Fog at ref test freq @ 1.5v     -  1 word    (17)
          B_FOGAVG10  : Fog hfa avg @ 1.0v              -  1 word    (18) 
          B_CRTG      : Calculated ref test gain (dB)   -  1 word    (19)
          B_MRTG      : Meas Reference test gain (dB)   -  1 word    (20)

          B_OSPL      : OSPL90 curve frame              - 88 words   (21)
          B_FOG       : Full on gain curve frame        - 88 words  (109)
          B_BATT      : Battery current (mA)            -  1 word   (110)
          B_BATT_TYPE : Battery type (see cmd 19)       -  1 word   (111)
          B_RESP      : RESP curve frame                - 88 words  (112) 
          B_RESP_LIM  : Response limit (dB)             -  1 word   (200)
          B_F1        : F1 lower rsp limit freq (Hz)    -  1 word   (201)
          B_F2        : F2 upper rsp limit freq (Hz)    -  1 word   (202) 
          B_THD15     : THD at DFREQ freq @ 1.5v (%)    -  3 words  (203)
          B_THD10     : THD at DFREQ @ 1.0v (%)         -  3 words  (206)
          B_DFD       : DF Dist at DFFREQ (%)           -  1 word   (209)
          B_EIN       : Equivalent input noise (dB)     -  1 word   (210)
          B_IO        : I/O curve (5dB steps, 50-90dB)  - 10 words  (211)
          B_ATT       : Attack time (mS)                -  1 word   (221)
          B_REL       : Release time (mS)               -  1 word   (222)





                                       119


        Command                                                    Number
        -----------------------------------------------------------------
        Get Control Lock                                           Cmd 63

        003F H    The number 63
        0000 H    No data sent


        Response
        --------
        803F H    The number -32705
        0001 H    One data word
        xxxx      Control Lock Selection


        This command requests the current control lock selection.

         Control: 0 = local instrument, screen and keyboard enabled
                  1 = rs232, Screen enabled, keyboard locked
                * 2 = rs232, Screen disabled, keyboard locked          
                * 3 = rs232, Screen blanked, keyboard locked          


        Note: Not all instruments support selections 2 and 3.

        See also: 72 - Set Keycode   
                  58 - Get Keycode
                  62 - Set Control Lock




























                                       120


        Command                                                    Number
        -----------------------------------------------------------------
        Get Option Parameters                                      Cmd 71

        0047 H    The number 71
        0001 H    One data item
        xxxx      Which parameters


        Response
        --------
        8047 H    The number -32697
        cccc      Variable amount of data
        ssss      Major state  
        xxxx      The option parameters


        This command requests the parameters for the major mode given by 
        the data word.  This command is variable in size.  The first word 
        is the major state to which the parameters apply, the remaining 
        values in the command contain the option parameters for that 
        state.

        The standard option parameters are described in the following 
        pages. Refer to the instrument specific information for non-
        standard option parameters.

        See also: 70 - Set Option Parameters
                  59 - Set Instrument State
                  60 - Get Instrument State


























                                       121


                             -- ANSI87 (Major 2) --

        The four ANSI87 parameters control the choices available from the 
        ANSI87 menus.

        1. Aid Test Type:

             0 = linear hearing aid test
             1 = agc hearing aid test with EIN test.
             2 = agc hearing aid test without EIN test.
             3 = adaptive hearing aid test with  EIN test.
             4 = adaptive hearing aid test without EIN test.

        2. Source amplitude:

        The source amplitude for the reference test gain measurement.  
        This can be 50 or 60 dB (values of 5000 or 6000 decimal) for a 
        linear hearing aid but can only be 50 dB (5000 decimal) for an 
        agc type hearing aid.

        3. Telecoil:

        The third word specifies whether telecoil measurement will be 
        done at the beginning of the ANSI87 test sequence (minor states 1 
        and 2).  If the value is 1 the telecoil test will be done, if the 
        value is 0 the telecoil test won't be done.

        4. SPA Frequency set:

        Selects which of five frequency groups is used for the average 
        tests.  
                  Averaging Freqs          Distortion Freqs
             0 =  800, 1250, 2000 Hz  ---  400,  650, 1000 Hz  SPA
             1 = 1000, 1600, 2500 Hz  ---  500,  800, 1600 Hz  HFA
             2 = 1250, 2000, 3150 Hz  ---  650, 1000, 1600 Hz  SPA
             3 = 1600, 2500, 4000 Hz  ---  800, 1250, 2000 Hz  SPA
             4 = 2000, 3150, 5000 Hz  --- 1000, 1600, 2500 Hz  SPA
             5 =  500, 1000, 2000 Hz  ---  250,  500, 1000 Hz  IEC

        Note: The IEC frequency set may not be available in all machines 
        or in some modes of operation. 















                                       122


                             -- ANSI92 (Major 12) -- 

        The three ANSI92 parameters control the choices available from 
        the ANSI92 menu.

        1. Noise Reduction:
             4,8,16

        2. Source Amplitude Selection:
             0: 40 dBSPL - selects base amplitude of displayed curves
             1: 50 dBSPL - selects base amplitude of displayed curves
             2: 60 dBSPL - selects base amplitude of displayed curves

                Note: the number of curves displayed per set, and the 
                number of sets available for display will vary between 
                different Fonix instrument models.

        3. Settling Delay:
             500, 1000, 2000, 5000 - time in milliseconds





































                                       123


                              -- ANSI96 (Major 18) --

        The fifteen ANSI96 parameters control the choices available from 
        the ANSI96 menus.

        1. Aid Test Type:

             0 = linear hearing aid test (default)
             1 = agc hearing aid test 
             2 = adaptive hearing aid test 

        2. FOG Source amplitude:

        This can be 50 or 60 dB (values of 5000 or 6000 decimal) for a 
        linear hearing aid but can only be 50 dB (5000 decimal) for an 
        agc type hearing aid.

        3. Telecoil:

        The third word specifies whether telecoil measurement will be 
        done in the ANSI96 test sequence (minor states 2 and 3).  
        If the value is 1 the telecoil test will be done, if the 
        value is 0 the telecoil test won't be done. (default=0)

        4. HFA/SPA Frequency set:

        Selects which of five frequency groups is used for the average 
        tests.  (default= 1)

                  Averaging Freqs          Distortion Freqs
             0 =  800, 1250, 2000 Hz  ---  400,  650, 1000 Hz  SPA
             1 = 1000, 1600, 2500 Hz  ---  500,  800, 1600 Hz  HFA
             2 = 1250, 2000, 3150 Hz  ---  650, 1000, 1600 Hz  SPA
             3 = 1600, 2500, 4000 Hz  ---  800, 1250, 2000 Hz  SPA
             4 = 2000, 3150, 5000 Hz  --- 1000, 1600, 2500 Hz  SPA
             5 =  500, 1000, 2000 Hz  ---  250,  500, 1000 Hz  IEC

        Note: The IEC frequency set may not be available in all machines 
        or in some modes of operation. 

        5. Check 12dB

        Set this parameter to 1 to enable 12dB per octave in the 
        distortion test. if the output at the first and second harmonics 
        of the first frequency is greater than 12dB, the distortion test 
        will not be run. Setting this parameter to zero disables the 
        12dB check. (default=0)

           0 = disable 12dB distortion test suppression
           1 = enable 12dB distortion test suppression 






                                       124


        6. Ear

        This selects the current ear. 

           0=None
           1=Left ear
           2=Right ear


        7. <reserved> 

        This option parameter is reserved for future use. You should 
        ignore any value read and either return the value read, or if 
        unknown, write a zero to the parameter when sending new option 
        information. 


        8. 250 Hz AGC Test (default=0)
        9. 500 Hz AGC Test (default=0)
        10. 1 kHz AGC Test (default=0)
        11. 2 kHz AGC Test (default=1) 
        12. 4 kHz AGC Test (default=0)

        Selects which frequencies will be used for the AGC tests (attack 
        and release and I/O test). If the parameter is set to one(1), the 
        frequency will be tested. If the parameter is set to zero(0), the 
        frequency will not be tested. 2kHz is the default test frequency.


        13. AGC Attack Window
        14. AGC Release Window

        Selects the AGC attack and release measurement windows used by 
        the AGC attack and release tests.

           0 = 500mS
           1 = 1 second
           2 = 2 seconds
           3 = 5 seconds


        15. Print Control

        Set to zero to print only the currently displayed screen when the 
        Print button is pressed or an RS232 DoPrint command is sent. Set 
        the parameter to one to print all ANSI96 test screens when the 
        Print button is pressed. (default=0)

          0 = Print current test screen only
          1 = Print all test screens






                                       125


                              -- ANSI03 (Major 33) --

        The fifteen ANSI03 parameters control the choices available from 
        the ANSI03 menus.

        1. Aid Test Type:

             0 = linear hearing aid test (default)
             1 = agc hearing aid test
             2 = adaptive hearing aid test 

        2. <resevered>:
        This field is not used in ANSI03 and should be passed as 0
        or Invalid Data.

        3. Telecoil:

        The third word specifies whether telecoil measurement will be 
        done in the ANSI03 test sequence (minor states 2 and 3).  
        If the value is 1 the telecoil test will be done, if the 
        value is 0 the telecoil test won't be done. (default=0)

        4. HFA/SPA Frequency set:

        Selects which of five frequency groups is used for the average 
        tests.  (default= 1)

                  Averaging Freqs          Distortion Freqs
             0 =  800, 1250, 2000 Hz  ---  400,  650, 1000 Hz  SPA
             1 = 1000, 1600, 2500 Hz  ---  500,  800, 1600 Hz  HFA
             2 = 1250, 2000, 3150 Hz  ---  650, 1000, 1600 Hz  SPA
             3 = 1600, 2500, 4000 Hz  ---  800, 1250, 2000 Hz  SPA
             4 = 2000, 3150, 5000 Hz  --- 1000, 1600, 2500 Hz  SPA
             5 =  500, 1000, 2000 Hz  ---  250,  500, 1000 Hz  IEC

        Note: The IEC frequency set may not be available in all machines 
        or in some modes of operation. 

        5. Check 12dB

        Set this parameter to 1 to enable 12dB per octave in the 
        distortion test. if the output at the first and second harmonics 
        of the first frequency is greater than 12dB, the distortion test 
        will not be run. Setting this parameter to zero disables the 
        12dB check. (default=0)

           0 = disable 12dB distortion test suppression
           1 = enable 12dB distortion test suppression 








                                       126


        6. Ear

        This selects the current ear. 
           0=None
           1=Left ear
           2=Right ear

        7. AGC Switching 
           0=off
           1=on 

        If AGC Switching is on and the aid type is set to AGC or 
        Adaptive, the test will be run normally up to the point where the 
        IO test is to be done. At that point, a message will be displayed 
        asking the user to switch the AGC circuits on. 
        If AGC Switching is off, the AGC Switching message will not be 
        displayed. Note: the AGC Switch message is shared with the 
        telecoil exit point, so if Telecoil is on, the Message will tell 
        the user to turn off the telecoil and turn on the AGC circuits if 
        AGC switching is on.

        8. 250 Hz AGC Test (default=0)
        9. 500 Hz AGC Test (default=0)
        10. 1 kHz AGC Test (default=0)
        11. 2 kHz AGC Test (default=1) 
        12. 4 kHz AGC Test (default=0)

        Selects which frequencies will be used for the AGC tests (attack 
        and release and I/O test). If the parameter is set to one(1), the 
        frequency will be tested. If the parameter is set to zero(0), the 
        frequency will not be tested. 2kHz is the default test frequency.

        13. AGC Attack Window
        14. AGC Release Window

        Selects the AGC attack and release measurement windows used by 
        the AGC attack and release tests.

           0 = 500mS
           1 = 1 second
           2 = 2 seconds
           3 = 5 seconds

        15. Print Control

        Set to zero to print only the currently displayed screen when the 
        Print button is pressed or an RS232 DoPrint command is sent. Set 
        the parameter to one to print all ANSI03 test screens when the 
        Print button is pressed. (default=0)

          0 = Print current test screen only
          1 = Print all test screens




                                       127


                               -- IEC (Major 3) --

        The four IEC parameters control the choices available from the 
        IEC menu.

        1. Reference Test Frequency:
             1600 - selects 1600 Hz Ref Test Freq
             2500 - selects 2500 Hz Ref Test Freq

        2. Full On Gain Level:
             5000 - Selects 50dB full on gain
             6000 - Selects 60db full on gain

        3. Harmonic Distortion Test Frequency:
             400, 500, 600, 800, 1000, 1200, or 1600 Hz.

        4. Hearing Aid Type:
             0 - linear hearing aid test.
             1 - agc hearing aid.
             2 - adaptive hearing aid.



                               -- JIS (Major 4) --

        The four JIS parameters control the choices available from the 
        JIS menu.

        1. Reference Test Frequency:
             1600 - selects 1600 Hz Ref Test Freq
             2500 - selects 2500 Hz Ref Test Freq

        2. Full On Gain Level:
             5000 - Selects 50dB full on gain
             6000 - Selects 60db full on gain

        3. Coupler Type:
             0 - 2cc coupler
             1 - MZ coupler
         
        4. Hearing Aid Type:
             0 - linear hearing aid test.
             1 - agc hearing aid.
             2 - adaptive hearing aid.












                                       128


                    -- Digital Speech-In-Noise (Major 17) --

        The four DSIN parameters control the choices available from the 
        DSIN menu.

        1. Speech Signal:
             0 - selects ICRA
             1 - selects ANSI

        2. Speech Level:
             5000 - Selects 50db
             6000 - Selects 60db

        3. Bias Level:
             0 - Selects no bias tone (off)
             5000 - Selects 50db
         
        4. Bias Frequency:
             1000 - Selects 1000Hz
             2000 - Selects 2000Hz




































                                       129


                       -- Profiler (Major 19) --

        The five profiler parameters control the choices available from 
        the Profiler menu.

        1. Signal Type:
             0 - selects COMP (Composite Noise)
             1 - selects DSPA (Composite Digital Noise ANSI)
             2 - selects DSPI (Composite Digital Noise ICRA)

        2. Digital Speech Duration:
             0 = Two seconds
             1 = Four seconds
             2 = Six seconds
             3 = Eight seconds
             4 = Ten seconds

        3. Noise Reduction:
             0,2,4,8,16     (at 50dB SPL)
         
        4. Equivalent Input Noise Type:
             0=Average
             1=RMS

        5. Equivalent Input Noise Frequency
             0 =  800, 1250, 2000 Hz  ---  SPA
             1 = 1000, 1600, 2500 Hz  ---  HFA
             2 = 1250, 2000, 3150 Hz  ---  SPA
             3 = 1600, 2500, 4000 Hz  ---  SPA
             4 = 2000, 3150, 5000 Hz  ---  SPA
             5 =  500, 1000, 2000 Hz  ---  IEC

























                                       130


        Command                                                    Number
        -----------------------------------------------------------------
        Get Poll Delay                                             Cmd 74

        004A H    The number 74
        0000 H    No data sent


        Response
        --------
        804A H    The number -32694
        0001 H    One data word
        xxxx      Poll delay time in milliseconds


        Expanded Response Format:

        Response
        --------
        804A H    The number -32694
        0002 H    Two data words
        xxxx      Poll Delay time in milliseconds
        xxxx      Poll Holdoff delay time in milliseconds


        This command requests the currently selected poll delay time. 
        If available, the poll holdoff delay time is also returned.


        See also: 73 - Set Poll Delay


























                                       131


        Command                                                    Number
        -----------------------------------------------------------------
        Get Ear Selection                                          Cmd 76

        004C H    The number 76
        0000 H    No data sent

        Original Response Format: (obsolete - FP40 only)

        Response
        --------
        804C H    The number -32692
        0001 H    One data word
        xxxx      Selected ear

          Ear selection: 0 = Left ear
                         1 = Right ear

        Expanded Response Format:

        Response
        --------
        804C H    The number -32692
        0002 H    Two data words
        xxxx      Selected ear
        xxxx      Configuration

          Ear selection: 0 = None
                         1 = Left ear
                         2 = Right ear
                         3 = Bone

          Configuration: 0 = Standard 

        This command requests the current ear that is being tested.

             Ear:  0 = None
                   1 = Left ear
                   2 = Right ear
                   3 = Bone

        Note: The FP40 does not have a No Ear or Bone selection. Because 
        of that, it only uses the Original Response format for ear 
        selection. The Expanded format is not available on the FP40.
        Newer instruments will only have the Expanded Response format.

        Note: this command is not available on all instruments.

        See also: 75 - Set Ear Selection







                                       132


        Command                                                    Number
        -----------------------------------------------------------------
        Get Operating Mode                                         Cmd 78

        004E H    The number 78
        0000 H    No data sent


        Response
        --------
        804E H    The number -32690
        0001 H    One Data word
        xxxx      Returned data 


        This command requests the current operating mode the instrument 
        is in. This is an instrument dependent function. Refer to the 
        instrument documentation for the specifics of this command.

        See also:  2 - Set Frequency Value
                  22 - Get Frequency Value 
                  77 - Set Operating Mode


































                                       133


        Command                                                    Number 
        -----------------------------------------------------------------
        Get Power Status                                           Cmd 80

        0050 H    The number 80
        0000 H    No data sent

        Response
        --------
        8050 H    The number -32688
        0002 H    Number of Data words
        vvvv      Battery Voltage (V*100) 
        xxxx      Power control flags 

        Extended Response
        --------
        8050 H    The number -32688
        0004 H    Number of Data words
        vvvv      Battery Voltage (V*100) 
        xxxx      Power control flags 
        ssss      Standby mode (screen saver) timeout in minutes
        pppp      Power down (power saver) timeout in minutes

        This command gets the current status of the instrument power. If 
        the instrument has an internal backup battery the battery voltage 
        is the current voltage of the backup battery *100. Thus a voltage 
        value of 13.7 would be given as 1370. The Power control flags 
        indicate the current state of the power in the instrument. 

        This command can return two or four values depending on the 
        instrument. If the instrument supports the extended mode, it will 
        return the standby mode (screen saver) timeout value in minutes 
        as the third value. 

        Typically the major/minor state returned by the instrument in 
        standby or power down will be the last state it was in when it 
        was powered down. You should check on the power state of the 
        instrument if it is not responding to the expected commands for 
        the given major/minor state reported. 

        Note: This command may not operate the same on all instruments. 
        Refer to the instrument specific documentation for each 
        instrument on the operation of this command. For instruments that 
        do not have an internal battery, the battery voltage will be 
        given as 0.0V or 8000H. 











                                       134


        Typically the Power control flags will appear as follows. Non-
        relevant bit flags will normally be zero. These flags are 
        instrument specific, refer to the specific instrument 
        documentation for details on the power control flags.

        Power Control Flags:
                  BIT 0 = <reserved>
                  BIT 1 = NZ=Battery is full, Z=Not fully charged
                  BIT 2 = NZ=Battery in overcharge mode
                  BIT 3 = <reserved>
                  BIT 4 = Charger ON/OFF state NZ=OFF, Z=ON
                  BIT 5 = External Power state NZ=OFF, Z=ON
                  BIT 6 = <reserved>
                  BIT 7 = Charger status       NZ=Valid, Z=Invalid

                  BITS 8 to 11 = <reserved>
                  BIT 12= NZ=Battery near empty,  Z=battery is ok
                  BIT 13= Power conserve mode     NZ=ON, Z=OFF(normal)
                  BIT 14= Deep power save (sleep) NZ=ON, Z=OFF(normal)
                  BIT 15= Screen Saver  NZ=enabled, Z=disabled


        Note: Reserved power control flag bits may not always be zero do 
        not rely on the bits being zero.


        See also: 28 - Get Software Version
                  33 - Get Command Status 
                  38 - Do Reset
                  56 - Set Power State


























                                       135


        Command                                                    Number  
        -----------------------------------------------------------------
        Get Averaging Frequencies                                  Cmd 81

        0051 H    The number 81
        0000 H    No data sent

        Response
        --------
        8051 H    The number -32687
        0001 H    One data word
        xxxx      Current Averaging Frequencies selection (-1 to 5)

        This command requests the currently selected frequency set that 
        will be used for averaging and ANSI distortion.

                  Averaging Frequencies    Distortion Frequencies
         SPA  0 :  800, 1250, 2000 Hz       400,  650, 1000 Hz
         HFA  1 : 1000, 1600, 2500 Hz       500,  800, 1600 Hz
         SPA  2 : 1250, 2000, 3150 Hz       650, 1000, 1600 Hz
         SPA  3 : 1600, 2500, 4000 Hz       800, 1250, 2000 Hz
         SPA  4 : 2000, 3150, 5000 Hz      1000, 1600, 2500 Hz
         IEC  5 :  500, 1000, 2000 Hz       250,  500, 1000 Hz  
         CST -1 : Custom frequencies       Custom frequencies 

        Note: The IEC frequency set may not be available in all machines 
        or in some modes of operation. Not all instruments support custom 
        frequency values.

        Expanded Command Format

        0051 H    The number 81
        0001 H    One data word
        xxxx      Frequency set (-1 to 5)

        If one parameter is provided in the command, it is assumed to be 
        a request to return the list of frequencies for the specified 
        selection number.

        Response
        --------
        8051 H    The number -32687
        0006 H    Six data words
        a1a1      First Average frequency value
        a2a2      Second Average frequency value
        a3a3      Third Average frequency value
        d1d1      First Distortion frequency value
        d2d2      Second Distortion frequency value
        d3d3      Third Distortion frequency value

        See also: 82 - Set Averaging Frequencies
                  59 - Set Instrument State
                  60 - Get Instrument State 



                                       136


        Command                                                    Number  
        -----------------------------------------------------------------
        Get Measurement Delay                                      Cmd 83

        0053 H    The number 83 
        0000 H    No data sent


        Response
        --------
        8053 H    The number -32685

        If Only one parameter is returned, only Param1 is valid. If three 
        or five data items are returned, all will be valid. 
        Only instruments that support changing the start delay and long 
        settling time will return three items. Only instruments that 
        support changing the I/O delay times will return five items. 

        If the current selected test or the instrument does not support 
        one of the parameter values, it will return 0x8000 as the value.


        Extended Response
        --------
        8053 H    The number -32685
        0003 H    Three or five data words
        Param1    Short Settle time in milliseconds
        Param2    Long Settle time in milliseconds
        Param3    Start Delay time in milliseconds
        Param4    I/O Settle time in milliseconds (optional)
        Param3    I/O Start Delay time in milliseconds (optional)


        This command requests the current measurement delay/settle times. 

        See also: 84 - Set Measurement Delay




















                                       137


        Command                                                    Number
        -----------------------------------------------------------------
        Get Extended Label                                         Cmd 86

        0056 H or 0056 H   The number 86
        0001 H    0002 H   1 or 2 words of data
        xxxx      xxxx     Label selection
                  nnnn     Number of lines to read

        Response
        --------
        8056 H    The number -32682
        cccc      Number of data words
        xxxx      Label data

        This command requests the label information (see Cmd 66).  Each 
        line of the label is composed of 27 data bytes and a null 
        terminator for a total of 28 bytes.  Any data after the first 
        null up to the beginning of the next line should be ignored.  

        This command has an optional line count. If no line count is 
        given, the first eight lines of the label will be returned. If a 
        line count is given, the indicated number of lines will be 
        returned (upto the maximum supported by the instrument).

        Label Selection:
             0 = Current extended label (Active UserID)
             1 = Factory default label  (Default UserID) 
             2 = Stored label           (Custom UserID)

        You can restore the factory default label by doing a get extended 
        label command with the factory default label selection followed 
        by a set extended label command. The factory default label will 
        then become the current label.

        For instruments that support Custom User IDs, Selection 0 
        (Current label) will return the Currently active UserID text if 
        lines 9 and 10 are requested. If Selection 1 (Factory label) is 
        used, the default UserID will be returned in lines 9 and 10. iff 
        Selection 2 (Stored) is used, the Custom UserID for the currently 
        selected user will be returned. Note: The Active UserID is the 
        Custom ID if it is present, otherwise it is the Default UserID.

        Note: The FP40 and 6500 do not support the line count. 
        The FP40 does not support the stored label.

        See also:  6 - Set Label Information
                  64 - Do Line Feeds
                  65 - Do Print   
                  66 - Set Extended Label Information
                  89 - Set Printer Label Storage
                  96 - Set Printer Label Bitmap
                 166 - Set User ID 
                 167 - Get User ID


                                       138


        Command                                                    Number
        -----------------------------------------------------------------
        Get CIC Status                                          !! Cmd 87

        0057 H    The number 87
        0000 H    No data sent

        Response
        --------
        8057 H    The number -32681
        0001 H    One data word
        xxxx      CIC status


        This command requests the current CIC status.

           CIC Status : 0 = off
                        1 = on

        Note: This command is replaced by command 173 on newer 
        instruments. Older instruments like the 6500, FP40 do not support 
        command 173 at all. FP35 software only supports command 173 in 
        version 3.50 and later software. You should continue to use 
        command 87 on the older equipment.


        See also:  3 - Set Occluded Ear Simulator (OES) Status !!
                  24 - Get Occluded Ear Simulator (OES) Status !!
                  88 - Set CIC Status !!
                 172 - Set Coupler Selection <preferred>
                 173 - Get Coupler Selection <preferred>

























                                       139


        Command                                                    Number  
        -----------------------------------------------------------------
        Get Average Mode Delay                                     Cmd 91

        005B H    The number 91 
        0000 H    No data sent


        Response
        --------
        805B H    The number -32677
        0002 H    One data word
        xxxx      Start time in milliseconds
        xxxx      Settling time in milliseconds


        This command requests the current average start delay and 
        settling delay times. 

        See also: 59 - Set Instrument State
                  60 - Get Instrument State
                  90 - Get Average Mode Delay


































                                       140


        Command                                                    Number  
        -----------------------------------------------------------------
        Get Printer Selection                                      Cmd 93

        005D H    The number 93
        0000 H    No data sent

        Response
        --------
        805D H    The number -32675
        0001 H    One data word
        xxxx      Printer Selection

        Extended Response
        --------
        805D H    The number -32675
        0002 H    Number of Data words
        xxxx      Printer Selection
        xxxx      Printing Setup

        Printer Selection:
          Bit 0 : Z=internal    NZ=external
          Bit 1 : Z=monochrome  NZ=color
          Bit 2 : Z=HPCL        NZ=Epson
          Bit 3-15 : <reserved>

        Printing Setup:                      [may not be supported]
          Bit 0 : Z=Don't Print label        NZ=Print label
          Bit 1 : Z=Inhibit label timestamp  NZ=Auto label timestamp
          Bit 2-15 : <reserved>

        This command requests the current printer selection. Reserved 
        bits should not be relied on to contain a valid value. Before 
        calling Set Printer (92), this command should be used to obtain 
        the current selection flags for the printer. 

        If the instrument supports the expanded command format, the 
        automatic label printing and label timestamp flags are returned.
        If Bit 0 of Printing Setup is set to zero, the label leader will 
        not be added to the printout. If bit 0 = 1, the label leader will 
        be added to the printout. If Bit 1 = 0, the automatic label 
        timestamp will be inhibited. If Bit 1 = 1, the automatic label 
        timestamp will be added to the label.

        Not all instruments support all aspects of this command. Refer to 
        the notes for the specific instrument for specific information 
        about printer support on the instrument.

        See also: 65 - Do Print 
                  66 - Set Extended Label Information
                  86 - Get Extended Label Information
                  89 - Set Printer Label Storage
                  92 - Set Printer Selection



                                       141


        Command                                                    Number  
        -----------------------------------------------------------------
        Get HFA Measurement                                        Cmd 94

        005E H    The number 94
        0000 H    No data sent


        Response
        --------
        805E H    The number -32674
        0001 H    One data word
        xxxx      HFA Measurement data



        This command returns the results of the last three frequency 
        average measurement made. See Set Instrument State (Cmd 59) Major 
        state 13 for details on using Average mode.

        Refer to the notes for the specific instrument for information 
        about three frequency averaging support a specific instrument.


        See also: 20 - Get Input/Output (I/O) Data
                  25 - Get Curve frame Data  
                  31 - Get Measurement Data
                  32 - Get Harmonic Distortion Data
                  42 - Get Last Measured Curve Data
                  57 - Get Reference Microphone Data
                  61 - Get BLOB
                  94 - Get HFA Measurement
























                                       142


        Command                                                    Number  
        -----------------------------------------------------------------
        Get Software Information                                   Cmd 95

        005F H    The number 95
        0000 H    No data sent

        Response
        --------
        805F H    The number -32674
        nnnn      Variable Data Count
        dddd      Instrument (machine) type (see cmd 28)
        xxxx      Software Version Number (see cmd 28)
        yyyy      Language Selection (see below)
        zzzz      Boot Loader Version Number (0=none)
        eeee      EErom/NV storage Version number (0=none)
        ssss       Serial number[0] text               <optional data>
        ssss       Serial number[2]                   (in Intel format)     
        ssss       Serial number[3] 
        ssss       Serial number[4] 
        mmmm      MfgDate (low word)      <optional data>
        mmmm      MfgDate (high word)     <optional data>
        hhhh      HwCalDate (low word)    <optional data>
        hhhh      HwCalDate (high word)   <optional data>
        ssss      SysCalDate (low word)   <optional data>
        ssss      SysCalDate (high word)  <optional data>
        cccc      Calibration status      <optional data>    

        This command returns the Current Software version number and 
        language in use. If the instrument uses Boot loader software, the 
        version number of the boot loader software will be returned. 
        Depending on the instrument, additional information may be 
        returned that is specific to the instrument.

        The purpose of this command is to provide instrument specific 
        information over and above the command instrument information 
        provided in Cmd #28 (Get Version). The first four items of the 
        command will be the same on all instruments that have this 
        command. Any additional items will be instrument specific.

        Later instruments may include eight characters of text that 
        represents the Frye Serial number of the instrument. The text is 
        eight ascii characters of information stored in Intel format (low 
        byte first, high byte last), two bytes packed into each of the 
        packet words. 

        Note: Additional languages may be added in the future.
        Frye standard Language definition numbers:
         UNKNOWN 0, ENGLISH 1, FRENCH 2, GERMAN 3, SPANISH 4

        Refer to the notes for the specific instrument for information 
        about software version differences.

        See also: 28 - Get Version


                                       143



        Command                                                    Number
        -----------------------------------------------------------------
        Get Attack Release Parameters                              Cmd 98

        0062 H    The number 98
        0000      No data 
           
        Response
        --------
        8062 H    The number -32749
        0004 H    Four data words
        xxxx      Parm 1 : 0=XAR, 1=VAR, 2=ANSI96  
        ffff      Parm 2 : Source Attack Frequency
        aaaa      Parm 3 : Attack Window  
        rrrr      Parm 4 : Release Window
                  

        Parm1 Specifies the type of Attack and Release test that will be 
        run. Parm2 specifies the frequency at which the test will be run. 
        Parm3 specifies the attack window of the test. Parm4 specifies 
        the release window of the test.


        Notes: XAR = Fixed Attack and Release 
               VAR = Variable Attack and Release 
            ANSI96 = ANSI96 Attack and Release

        Attack and Release Frequency and Window parameters are dependent 
        upon the instrument. Refer to the documentation notes for the 
        instrument to determine the available values.

        See also: 13 - Do Attack and Release Test
                  18 - Get Attack and Release Data
                  40 - Set Attack and Release Frequency Value
                  41 - Get Attack and Release Frequency Value
                  97 - Set Attack Release Parameters



















                                       144


        Command                                                    Number
        -----------------------------------------------------------------
        Get Device ID Count                                       Cmd 100

        0064 H    The number 100
        0000 H    No data sent

        Response
        --------
        8064 H    The number -32668
        0001 H    One data word
        xxxx      Number of devices with IDs

        This command will return the number of devices (such as 
        microphones) attached to the instrument. As an example, the FP35 
        has one identified device attachment, which is the microphone. 
        Thus the FP35 will return a count of 1. 

        In addition, all instruments that are capable of managing device 
        IDs will have a cpu ID as well. If only the cpu ID is available, 
        the device count will be returned as zero (0).

        If a cpu ID is not available, this command will not be available 
        (it will return Invalid Command).

        See also: 101 - Get Long Device ID
                  102 - Get Device Data 





























                                       145


        Command                                                    Number
        -----------------------------------------------------------------
        Get Long Device ID                                        Cmd 101

        0065 H    The number 101
        0001 H    One data word sent
        xxxx      Short Device ID

        Response
        --------
        8065 H    The number -32667
        0004 H    Four data words
        xxxx      Long ID of device

        This command will return the long device ID for the specified 
        short ID of the device. The short ID of a device is a one word 
        number that is created by the instrument at power on. 

        The Short ID is assigned based on the number of devices in the 
        instrument. If an instrument has three devices, then the short 
        IDs will be 1, 2, and 3. 

        Note that while most instruments will retain the assignment of 
        the short ID to always point at same device, this may not always 
        be true. If a device is removed from the instrument, the 
        instrument is allowed to allocate the short ID to a new device 
        that may be attached to the instrument. 

        Once a device is attached to the instrument, the instrument is 
        not allowed to change the short ID until either the device is 
        disconnected, or the instrument is turned off. 

        The Long Device ID is a unique identifier for the attached 
        device. You can obtain the Long ID for each device attached to 
        the instrument with the Get Long Device ID command. In most cases 
        you will not need to know the Long Device ID if you know what the 
        device is that is attached to the instrument. As an example, the 
        FP35 has only one device attached to it, a microphone. 

        You can use to the Get Long Device ID to find out if the device 
        is not currently attached to the instrument. If the number 
        returned is -1, then there is no device attached, or the device 
        does not have ID support in it (the device is unknown). For the 
        FP35, if a zero (0) is returned, it means that the calibration 
        jig is currently attached to the instrument. 











                                       146


        The Long ID device is the ID from a Dallas Semiconductor Silicon 
        Serial Number or related part. It consists of three parts:

          BYTE Family      One byte Family code
          BYTE Serial[6]   Six bytes serial number
          BYTE Crc         One byte Crc

        The Family code identifies the type of Dallas part that is 
        installed, the Serial number is the unique identifier for the 
        part. The Crc is a one byte crc of the serial number and family 
        code. You can find out more details on the format of this 
        information by contacting Dallas Semiconductor.

        See also: 100 - Get Device ID Count
                  102 - Get Device Data 









































                                       147


        Command                                                    Number
        -----------------------------------------------------------------
        Get Device Data                                           Cmd 102

        0066 H    The number 102
        nnnn      Variable data words sent
        xxxx      Short Device ID
        yyyy      Device selection
        zzzz      [Optional] data selection

        Response
        --------
        8066 H    The number -32666
        cccc      Data words <variable>

        This command reads information from the attached device, such as 
        the calibration information from a microphone. 

        Short Device ID is the short ID of the device to read. Device 
        Selection is used to select the device data to be read.

        Data read from a device is device dependent. Each device has it's 
        own data format. Refer to the appropriate Device Format 
        information for specific details of data storage of the device. 

        See also: 100 - Get Device ID Count
                  101 - Get Long Device ID 





























                                       148


        Command                                                    Number
        -----------------------------------------------------------------
        Get Real Time Clock                                       Cmd 103

        0067 H    The number 103
        0000 H    No data sent

        Response
        --------
        8067 H    The number -32665
        0005 H    5 Data words 

        This command returns the current real time clock information in 
        the instrument. 

        The Data is formatted as follows: 

          WORD  Milliseconds -- Current time milliseconds (0-999) *
          BYTE  Seconds      -- Current time seconds (0-59)
          BYTE  Minutes      -- Current time minutes (0-59)
          BYTE  Hours        -- Current time hours (0-23) 
          BYTE  DayOfWeek    -- Current date day of week (1-7) *
          BYTE  Day          -- Current date day (1-31)
          BYTE  Month        -- Current date month (1-12)
          WORD  Year         -- Current date year (1990-2090) *

        * For instruments that do not support Day of Week, the value will 
        be zero when read, and ignored when using the Set command. For 
        instruments that do not support Milliseconds, the value will be 
        zero when read, and ignored when using the Set command. The 6500 
        and FP35 have valid year information to 2090. 
        The FP40 does not have a real time clock.

        See also: 104 - Set Real Time Clock






















                                       149


        Command                                                    Number
        -----------------------------------------------------------------
        Get Output Device Selection                               Cmd 105

        0069 H    The number 105
        0000 H    No data sent

        Response
        --------
        8069 H    The number -32663
        0001 H    One data word
        xxxx      Output Selection

        Extended Response
        --------
        8069 H    The number -32663
        0002 H    Number of Data words
        xxxx      Output Selection
        xxxx      Device Selection


        This command requests the current output device selection.
        Depending on the instrument and the mode it is in, one or two 
        parameters may be returned. 

        If only one parameter is returned, it normally describes the 
        source output jack selection (eg INTERNAL or EXTERNAL). 
        Generally, selection 0 is reserved to mean that output selection 
        is handled automatically by the instrument itself.

        If the optional Device selection parameter is returned, it 
        indicates the current output device that is selected. 
        (eg SPEAKER, INSERT EARPHONE, TDH39 EARPHONE, etc). 
        This is typically used for audiometric transducer selection to 
        define the device used for audiometric assessment. Generally, 
        selection 0 is reserved to mean that no device (or unknown 
        device) is selected, or that the device is automatically selected 
        by the instrument.


        Not all instruments support this command. Those that do support 
        the command may have different definitions for the parameters. 
        Refer to the instrument specific documentation for details of 
        the instrument specific meanings.


        See also: 106 - Set Output Device Selection









                                       150


        Command                                                    Number
        -----------------------------------------------------------------
        Get Impulse Rejection                                     Cmd 107

        006B H    The number 107
        0000 H    No data sent

        Response
        --------
        806B H    The number -32661
        0001 H    One data word
        xxxx      Impulse rejection in dB*100


        This command requests the current Impulse rejection value.
        A Rejection value of zero disables impulse rejection. A Non-zero
        value specifies the signal level difference in (DB*100) between 
        two successive measurements at which the signal will be rejected 
        and not added to the signal averaging array. 

        Impulse rejection is only useful when signal averaging is being 
        used. It helps to prevent impulses from significantly affecting 
        averaged measurements.

        Note: Be careful with using rejection levels that are too small 
        or too large. A rejection level that is too large will have no 
        impact on the measurements. A rejection level that is too small 
        may seriously slow down the measurements since many of the 
        measurements may be rejected as containing impulse data. The 
        recommended rejection level is between 3dB and 12dB.

        Note: This command is not available on all instruments.

        See also: 108 - Set Impulse Rejection






















                                       151


        Command                                                    Number
        -----------------------------------------------------------------
        Get Signal Information                                    Cmd 109

        006D H    The number 109
        0000 H    No data sent

        Response
        --------
        806D H    The number -32659
        cccc      Data words <variable>

        This command returns information on the last measurement. How the 
        measurement was made and information on the signal source used. 
        This command is instrument specific. See the detailed notes for 
        each instrument to determine what values are returned.

        Note: Not all instruments support this command.

        See Also: 110 - Get Raw Sample Data 
                  111 - Get Calibration Data



































                                       152


        Command                                                    Number
        -----------------------------------------------------------------
        Get Raw Sample Data                                       Cmd 110

        006E H    The number 110
        0003 H    Three words sent
        xxxx      Data Selection
        yyyy      Collection Method
        zzzz      Number of samples to get (0=use default)

        Response
        --------
        806E H    The number -32658
        cccc      Data words <variable> (1024 max)

        This command returns the raw sample data array. Data Selection 
        selects which data to get. How determines how the data is to be 
        collected. This is instrument specific. Refer to the 
        documentation for the instrument for the details of how this 
        command works on the instrument. 

        Note: Not all instruments support this command.

        See Also: 25 - Get Curve Frame Data
                  31 - Get Measured Data
                  42 - Get Last Measured Curve Frame
                  57 - Get Reference Microphone Data
                  94 - Get HFA Measurement 




























                                       153


        Command                                                    Number
        -----------------------------------------------------------------
        Get Calibration Data                                      Cmd 111

        006F H    The number 111
        0002 H    Two words sent
        xxxx      Transducer Selection
        yyyy      Calibration Table

        Response
        --------
        806F H    The number -32657
        cccc      Data words <variable> 

        This command returns the calibration information for the selected 
        transducer and instrument calibration. This command is instrument 
        specific. Refer to the documentation for the instrument for the 
        details of how this command works on the instrument. 

        Note: Not all instruments support this command.

        See Also: 102 - Get Device Data
                  109 - Get Signal Information  

































                                       154


        Command                                                    Number
        -----------------------------------------------------------------
        Get Selected Curve                                        Cmd 113

        0071 H    The number 113
        0000 H    No data 

        Response
        --------
        8071 H    The number -32655
        0001 H    One data word
        xxxx      Curve number

        This command gets the currently selected primary curve number in 
        a measurement set. Generally, the primary curve is the curve that 
        will be used for active measurements.

        Note: Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.

        See also: 112 - Set Selected Curve
                  114 - Set Curve Status
                  115 - Get Curve Status
                  116 - Set Unaided curve Selection
                  117 - Get Unaided curve Selection






























                                       155


        Command                                                    Number
        -----------------------------------------------------------------
        Get Curve Status                                          Cmd 115

        0073 H    The number 115
        0001 H    One data word
        xxxx      Curve number

        Response
        --------
        8073 H    The number -32653
        0001 H    One data word
        xxxx      Curve Status

        This command gets the state of a curve in a measurement set. The 
        curve number must be one of the available curves in the test. The 
        Curve status indicates the current state of the curve. 

         Curve Status:  0 - Empty (Erased)
                        1 - Inactive
                        2 - Active

        An empty curve has no data, and is not displayable. An Inactive 
        curve will not be displayed on the graph. An Active will be 
        displayed on the graph. 

        Note: Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.

        See also: 112 - Set Selected Curve
                  113 - Get Selected Curve
                  114 - Set Curve Status
                  116 - Set Unaided Curve Selection
                  117 - Set Unaided curve Selection





















                                       156


        Command                                                    Number
        -----------------------------------------------------------------
        Get Unaided Curve Selection                               Cmd 117

        0075 H    The number 117
        0000 H    No data

        Response
        --------
        8075 H    The number -32651
        0001 H    One data word
        xxxx      Unaided Curve data in use


        This command gets the currently selected unaided curve used in 
        real ear measurements. Normally this will be one of the 
        following:

          0 = CUSTOM UNAIDED 
          1 = AVERAGE UNAIDED

        If Custom unaided is selected, either the unaided curve data must 
        be sent to the instrument, or it must be measured.

        Note: Different instruments may have different meanings for the 
        various curve numbers. Refer to the specific instrument notes 
        to determine specific curve designations.

        See also: 112 - Set Selected Curve
                  113 - Get Selected Curve
                  114 - Set Curve Status
                  115 - Get Curve Status
                  116 - Set Unaided Curve Selection























                                       157


        Command                                                    Number
        -----------------------------------------------------------------
        Get List                                                  Cmd 119

        0077 H    The number 119
        0001 H    One data word
        xxxx      List number to get

        Response
        --------
        8077 H    The number -32649
        xxxx      variable length


        This command gets the selected list of data from the instrument.
        It can be used to read things such as the pure tone sweep 
        frequency list or the Distortion frequency list. 

        Typical list definition:

        List 0 : Current measurement frequency list.
        List 1 : Current distortion frequency list.
        List 2 : Current user measurement frequency list.
        List 3 : Current user distortion frequency list.

        Not all instruments support this command. Those that do support 
        the command may have different list definitions. Refer to the 
        instrument specific documentation for details of support.


        See also: 118 - Set List

























                                       158


        Command                                                    Number
        -----------------------------------------------------------------
        Get Bitmap                                                Cmd 120

        0078 H    The number 120
        0006      six words

        Bitmap Request Header:

          Data[0]=0078 H Get Bitmap command
          Data[1]=length Total size in words (1000 max)
          Data[2]=style  *Style of Bitmap (2=monochrome, 4/8=color)
          Data[3]=xpos   Xpos in pixels
          Data[4]=ypos   Ypos in pixels
          Data[5]=width  *Width in pixels
          Data[6]=height *Height in pixels
          Data[7]=Page   0=printer label, 1=screen

        Note: image must start on X byte boundary, and be X bytes wide.

        If Width, and Height are zero, only the device page information 
        header is returned. You can use this to predetermine the device 
        parameters. 

        Bitmap data is formatted left to right, top to bottom, with the
        least significant bit of the image data located in the least
        significant bit of each word. Word 0 bit 0 is the top left corner 
        of the image and will be located at the Xpos/Ypos location. 

        Style 2:
         word0            word1            word2
         0123456789ABCDEF 0123456789ABCDEF 0123456789ABCDEF  line0
         0123456789ABCDEF 0123456789ABCDEF 0123456789ABCDEF  line1

        Style 4:
         word0            word1            word2
         0000111122223333 0000111122223333 0000111122223333  line0
         0000111122223333 0000111122223333 0000111122223333  line1

        Style 8:
         word0            word1            word2
         0000000011111111 0000000011111111 0000000011111111  line0
         0000000011111111 0000000011111111 0000000011111111  line1

        Data is presented in multiples of words. If the number of pixels 
        specified in a line is less than a multiple of a word, the 
        remaining bits of the last word will be ignored. The next Y line 
        will start with bit 0 of the next word in the data packet.








                                       159


        Style 2 Monochrome bitmaps are coded one bit per pixel. 

        Style 4 Color bitmaps are coded four bits per pixel (one nibble) 
        with the lsb of the nibble encoding the lsb of the pixel color. 

        Style 8 Color bitmaps are coded eight bits (byte) per pixel.

        The bitmap Xpos/Ypos specified is where the top left corner 
        of the bitmap portion to be read from the printer label or 
        screen. The image to read may be anywhere on the label area or 
        the screen. 

        The Width and Height values specify the size of the bitmap 
        portion to be read. (It does not have to be the full size of the 
        device.) If Width and Height are set to zero (0), the Bitmap 
        header will return the device information header instead.

        Device Bitmap Info Header:

          Data[0]=8078 H Get Bitmap response
          Data[1]=length Total size in words (10)
          Data[2]=style  Style of Bitmap (2=monochrome graphic,4=16color)
          Data[3]=bytes  Width of scanline in bytes
          Data[4]=....   0 <reserved>
          Data[5]=width  Width of device bitmap pixels
          Data[6]=height Height of device bitmap in pixels
          Data[7]=Page   0=printer label, 1=screen
          Data[8]=Size   0 (no data sent)
          Data[9]=Start  10 <reserved>

        For large bitmaps, you should reduce the transfers to small 
        chunks. The maximum size of a chunk should be no more than 1000 
        words. Larger sizes may not transfer to the instrument because 
        of the packet size limitations of the Fryers driver. 

        You can read a bitmap from any location. However, you are limited 
        to Xpos being on a byte boundary. 

        This command is particularly useful to generate screen dumps for 
        documentation purposes.

        It should be noted that pixel positioning is instrument and 
        printer specific. See the individual instrument specifications 
        for additional details.

        See also:  6 - Set Label Information
                  66 - Set Extended Label Information
                  86 - Get Extended Label Information
                  89 - Set Printer Label Storage
                  96 - Set Bitmap   






                                       160


        Command                                                    Number
        -----------------------------------------------------------------
        Get Static Tone Selection                                 Cmd 122

        007A H    The number 122
        0000 H    No data 

        Response
        --------
        807A H    The number -32646
        0001 H    One data word
        xxxx      Current Static Tone selection


        This command gets the currently selected Static Tone method. 

          Selection:
            0 = Silent
            1 = Single Tone
            2 = Average Tone


        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 121 - Set Static Tone Selection





























                                       161


        Command                                                    Number
        -----------------------------------------------------------------
        Get Aid Selection                                         Cmd 124

        007C H    The number 124
        0000 H    No data 

        Response
        --------
        807C H    The number -32644
        0001 H    One data word
        xxxx      Current Aid Type selection

        Expanded Response Format:

        007C H    The number -32644
        0002 H    Two words of data
        xxxx      Aid Group Selection
        xxxx      Aid Type Selection


        This command gets the current Aid group and Aid type selection. 

          Group Selection:      Type Selection:
            0 = Linear            0 = none 
            1 = AGC               1 = ITE
            2 = Adaptive          2 = BTE
                                  3 = ITC
                                  4 = CIC (Canal aid)
                                  5 = UEM (BTE with user's own earmold)

        If a value is passed as 8000H, its current value is unknown.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 123 - Set Aid Type Selection


















                                       162


        Command                                                    Number
        -----------------------------------------------------------------
        Get Bias Tone Selection                                   Cmd 126

        007E H    The number 126
        0000 H    no data 

        Response
        --------
        807E H    The number -32642
        0003 H    Three data words
        xxxx      Bias Source
        yyyy      Bias Frequency 
        zzzz      Bias Duration [optional]

        This command gets the Bias Tone selection. The Bias Tone is 
        normally used with the Digital Speech option. Not all instruments 
        support a Bias Tone. 

        If the Bias Source is OFF(0) no tone is presented during the bias 
        period . If the Bias Source is ON(1) the Bias Tone is presented at 
        the current source level. If the Bias Source is 5000 the Bias 
        Source is presented at 50dBspl. Not all instruments support 
        setting the Bias Source to a level independent of the measurement 
        source level. Setting the Bias Source to -32768(0x8000) will 
        leave the current Bias Source level unchanged.

        The Bias Frequency should be set to one of the composite 
        frequencies (100Hz increments). Setting the frequency to 
        -32768(0x8000) will leave the current setting unchanged. 

        If the Bias Duration is provided (the instrument supports a Bias 
        Duration), the Bias Duration period will be presented for the 
        specified time (approximately). Setting the Bias Duration to 0 
        will cause a random Bias Duration to be used. Setting the Bias 
        Duration to -32768(0x8000) will leave the current Bias Duration 
        setting unchanged. 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 125 - Set Bias Tone Selection













                                       163


        Command                                                    Number
        -----------------------------------------------------------------
        Get Warble Selection                                      Cmd 130

        0082 H    The number 130
        0000 H    no data 

        Response
        --------
        8082 H    The number -32638
        0001 H    Warble selection

        Expanded Response Format:

        Response
        --------
        8082 H    The number -32638
        0003 H    Three data words
        xxxx      Warble Selection
        xxxx      Warble amount in Hertz (cycles per second)
        xxxx      Warble rate in percent * 100

        This command gets the current Warble selection. Not all 
        instruments support the warble selection. 

        If the Warble is OFF(0) the source is not warbled. If the Warble 
        is ON the source is warbled. It is possible to select different 
        types of warble. The selection value is instrument specific. 

        On the FP35, the warble selection is as follows:
          0=No warble (off) never warble
          1=Auto Warble = warble depends on selected test condition
          2=Fast Warble = always warble fast
          3=Slow warble = always warble slow

        If the warble amount and/or rate information is available, the 
        expanded format response will be returned, otherwise the standard 
        response is returned by the command.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 129 - Set Warble Selection












                                       164


        Command                                                    Number
        -----------------------------------------------------------------
        Get Delay Measurements                                     Cmd 
        131

        0083 H    The number 131
        0000 H    no data 

        Response
        --------
        8083 H    The number -32637
        nnnn H    Two or Three data words
        xxxx      System Delay (microseconds)
        xxxx      Hearing Aid #1 Delay (microseconds)
        xxxx      Hearing Aid #2 Delay (microseconds) <-- optional

        This command gets the last measured test delays. (Used by 
        Enhanced Digital Speech.)


        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: Enhanced Digital Speech































                                       165


        Command                                                    Number
        -----------------------------------------------------------------
        Get Receive Timeout                                       Cmd 133

        0085 H    The number 133
        0000 H    No data

        Response
        --------
        8085 H    The number -32635
        0001 H    One data word
        xxxx      Receive Timeout (milliseconds)

        This command gets the current receive timeout. All instruments 
        have a minimum of 10ms timeout available. Newer instruments may 
        be less. The default timeout is 1000ms (one second). 

        Note: older instruments do not have this command and have a 
        fixed receive timeout of 100ms. This was found to have problems 
        with some Windows installations losing communication with the 
        instrument, especially when attached to a network, or other real-
        time tasks are running in the computer. The timeout was increased 
        to 1000ms and this command added to help deal with the problem. 
        In most cases, the 1000ms default should not cause any problems. 

        With older instruments, if you experience occasional 
        communication problems while talking to the instrument with 
        Fryers, you should make sure that there are no other real-time 
        tasks running that are hogging the computer time beyond the 100ms 
        timeout period.


        See also: 132 - Set Receive Timeout























                                       166


        Command                                                    Number
        -----------------------------------------------------------------
        Get Fit Rule Selection                                    Cmd 135

        0087 H    The number 135
        0000 H    No data 

        Response
        --------
        8087 H    The number -32633
        0001 H    One data word
        xxxx      Current Fit Rule Selection

        This command gets the currently selected Fitting Rule. 

          Selection:
            0 = NAL-RP      3=1/3 GAIN     6=DSL-LIN      14=OTHER
            1 = POGO        4=1/2 GAIN     7=DSL-WDRC     15=DIRECT
            2 = BERGER      5=2/3 GAIN     8=NAL-NL1

        Fitting rules 9-13 are not currently defined.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 134 - Set Fit Rule Selection





























                                       167


        Command                                                    Number
        -----------------------------------------------------------------
        Get Filter Selection                                      Cmd 137

        0089 H    The number 137
        0000 H    no data

        Expanded Command Format:

        8089 H    The number 137
        0001      One word of data
        xxxx      Channel Selection

        Response
        --------
        8089 H    The number -32631
        0001 H    One data word
        xxxx      Current Filter Selection


        This command get the signal Filter currently selected.

          Selection:
            0 = AUTO      3=ICRA          6=ANSI-92
            1 = FLAT      4=LTASS-CHILD     
            2 = ANSI      5=LTASS-ADULT              

        Other filters are not currently defined. 

        Channel Specifies the following in expanded format mode:

          Channel 0: Default channel
          Channel 1: Left channel 
          Channel 2: Right channel 

        Selecting Channel 0 is the same as if the standard command 
        format was given. A channel value > 0 selects the channel filter
        to be set. It is possible that in the future additional channels 
        may be added.

        If Auto Filter is selected, the signal filter is automatically 
        selected based on the operating mode.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 136 - Set Filter Selection








                                       168


        Command                                                    Number
        -----------------------------------------------------------------
        Get Compression Value                                     Cmd 139

        008B H    The number 139
        0000 H    No data sent


        Response
        --------
        808B H    The number -32629
        0001 H    One data word
        xxxx      Compression Threshold in dB * 100


        This command requests the current aid compression threshold.


        See also: 138 - Set Compression Value



        Command                                                    Number
        -----------------------------------------------------------------
        Get Client Age                                            Cmd 141

        008D H    The number 141
        0000 H    no data sent 


        Response
        --------
        808D H    The number -32627
        0001 H    One data word
        xxxx      Client Age in Months

        This command returns the selected Client age in months.

            0=Unknown Age (not shown)
         >200=Adult ( >16.7 years )


        See also: 140 - Set Client Age 













                                       169


        Command                                                    Number
        -----------------------------------------------------------------
        Get Transducer Location                                   Cmd 143

        008F H    The number 142
        0001 H    one data word sent
        xxxx      Which transducer


        Response
        --------
        808F H    The number -32625
        0001 H    One data word
        xxxx      Transducer Location


          Which Transducer : 0 = Sound Field Speaker

        Currently only one transducer is defined, the sound field 
        speaker(0). The value returned is in degrees.

        This command gets the current location selected for the source 
        transducer being used. Normally this is a sound field speaker, 
        and the direction would be either zero degrees, or 45 degrees.


        See also: 142 - Set Transducer Direction





























                                       170


        Command                                                    Number
        -----------------------------------------------------------------
        Get Leveling Data                                         Cmd 146

        0092 H    The number 146
        nnnn      Zero, One, or Two optional data words
        xxxx      *Which Leveling Source (0=default, 1=ch1, 2=ch2, etc)
        yyyy      *Which Leveling List (0=level data, 1=freq data)


        Response
        --------
        8092 H    The number -32622
        nnnn      Variable length


        This command gets the current leveling data. If no parameters are 
        provided, returns the current leveling dat in use. If one 
        parameter is provided, it selects which source, ch1 ch2, etc. A 
        source select of zero is the same as no parameter. If a second 
        parameter is given, it selects which leveling list is to be 
        returned. Zero=Level data, One=frequencies. 

        The first item of the frequency list contains the number of 
        frequencies in the list. The first item in the Level data list is 
        the overall level correction. The rest of the items in the level 
        data list are the level values relative to the frequency list.

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 145 - Set Leveling Data
                   17 - Do Leveling 
                   29 - Get Leveling Status
                   68 - Set Spectrum




















                                       171


        Command                                                    Number
        -----------------------------------------------------------------
        Get Aux Port                                              Cmd 149

        0095 H    The number 149
        0001      one data word 
        ppcc      port/data selection

        The upper byte of the port/control selection word controls which 
        port is to be selected. Normally the aux port will be port 1. The 
        lower byte controls whether to only read the port status(0), or 
        to also read the data from the port(1). 

        Get status only from aux port 1 = 0x0100
        Get status plus data from aux 1 = 0x0101

        Response  (Get Status)          Response  (Get Data)         
        --------                        --------                      
        8095 H    The number -32619     8095 H    The number -32619   
        0001      One Data word         xxxx      Variable Length 
        ssss      Status                ssss      Status              
                                        bbbb      Byte count
                                        ....      Data (Intel format)  

          Status word definition  *=spare <reserved> bit flag

        BIT:  F  E   D   C  B  A  9   8      7  6   5  4  3  2  1   0
        DEF: DCD RI DSR CTS *  * RTS DTR     *  TE TBE BK FE *  OE RBF

        def:bit description
        RBF:0 1=Receive Buffer Ready (data waiting to be read)
         OE:1 1=Overrun Error (data lost on receive port)
        res:2 <reserved> 
         FE:3 1=Frame Error (error receiving serial data)
         BK:4 1=Break Detect (transmit break signal received)
        TBE:5 1=Transmit Buffer Empty (ready to accept new data to send)
         TE:6 1=Transmitter Empty (all data has been sent out the uart)
        res:7 <reserved>
        DTR:8 1=Data Terminal Ready signal ON (output)
        RTS:9 1=Request to Send signal ON (output)
        res:A <reserved>
        res:B <reserved>
        CTS:C 1=Clear To Send signal on (input)
        DSR:D 1=Data Set Ready signal ON (input)
         RI:E 1=Ring Indicator signal ON (input)
        DCD:F 1=Data Carrier Detect signal ON (input)










                                       172


        CTS, DSR, RI, and DCD are normally general purpose input signals. 
        DTR and RTS are normally general purpose port output signals. 
        They were originally defined for use with Modems, but can be used 
        for other purposes. 

        Before setting RTS or DTR with Command 148, you should use 
        command 149 to get the current settings of the port control flags 
        and only change the flags that need to be changed.

        If Data is not requested, only the port status will be returned. 
        Packet data count will be one.

        If data is requested, but not available, Byte Count will be zero 
        and no data will be returned. Packet data count will be two.

        If Data is returned, Byte Count will contain the number of bytes 
        (2000 Max), and the remaining packet data will contain the data 
        in Intel format (little Endian). Data will be zero filled to a 
        word boundary. Packet data count will be (number of data bytes 
        plus one) divided by two) plus two.

        Note: Some instruments may not support full data buffering and 
        can only handle a single receive byte at a time. If it is 
        supported, the aux port baudrate can be controlled with a special 
        FIPP command (0x7C03). 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.

        See also: 148 - Set Aux Port
                  0x7C03 - Set Port Baudrate
























                                       173


        Command                                                    Number
        -----------------------------------------------------------------
        Get User Number                                           Cmd 151

        0097 H    The number 151
        0000 H    no data

        Response
        --------
        8097 H    The number -32617
        0002      Two words follow
        uuuu      Current Selected User Number
        mmmm      Maximum User Number Available


        This command gets the current selected user number and the 
        largest selectable user number available.

            0 = Default
            1 = User #1
            2 = User #2
            3 = User #3 
            etc...

        See also: 150 - Set User Number































                                       174


        Command                                                    Number
        -----------------------------------------------------------------
        Get Fit Type                                              Cmd 153

        0099 H    The number 153
        0000 H    no data sent 


        Response
        --------
        8099 H    The number -32615
        0001 H    One data word
        xxxx      Fit Type (1 or 2)

        This command returns the selected Aid Fit type.

          0 = Unknown
          1 = Unilateral
          2 = Bilateral


        See also: 152 - Set Fit Type 


        Command                                                    Number
        -----------------------------------------------------------------
        Get Vent Type                                             Cmd 155

        009B H    The number 155
        0000 H    no data sent 


        Response
        --------
        809B H    The number -32613
        0001 H    One data word
        xxxx      Vent Type 

        This command returns the selected aid vent type.

        Selections are:

          FIT_VENT_OPEN     = 0 : Vent Open 
          FIT_VENT_OCCLUDED = 1 : Vent Occluded 
          FIT_VENT_TIGHT    = 2 : Vent Tight 
          FIT_VENT_MM1      = 3 : Vent 1mm 
          FIT_VENT_MM2      = 4 : Vent 2mm 
          FIT_VENT_MM3      = 5 : Vent 3mm 

        See also: 154 - Set Vent Type 






                                       175



        Command                                                    Number
        -----------------------------------------------------------------
        Get Tubing Type                                           Cmd 157

        009D H    The number 157
        0000 H    no data sent 


        Response
        --------
        809D H    The number -32611
        0001 H    One data word
        xxxx      Tubing Type

        This command returns the selected aid tubing type.

          FIT_TUBING_NONE   = 0 : Tubing ( None ) [cic, itc, ite aids]
          FIT_TUBING_LIBBY4 = 1 : Tubing ( Libby 4 )
          FIT_TUBING_LIBBY3 = 2 : Tubing ( Libby 3 )
          FIT_TUBING_CFA2   = 3 : Tubing ( CFA #2 horn )
          FIT_TUBING_CFA3   = 4 : Tubing ( CFA #3 stepped bore )
          FIT_TUBING_No13   = 5 : Tubing ( #13 )
          FIT_TUBING_sixC5  = 6 : Tubing ( 6C5 )
          FIT_TUBING_sixC10 = 7 : Tubing ( 6C10 )


        See also: 157 - Set Tubing Type 


        Command                                                    Number
        -----------------------------------------------------------------
        Get Aid Channels                                          Cmd 159

        009F H    The number 159
        0000 H    no data sent 


        Response
        --------
        809F H    The number -32609
        0001 H    One data word
        xxxx      Aid Channels

        This command returns the selected number of aid channels.
        0 = unknown, 1->18 = number of channels.

        See also: 158 - Set Aid Channels








                                       176


        Command                                                    Number
        -----------------------------------------------------------------
        Get Aid Limiting                                          Cmd 161

        00A1 H    The number 161
        0000 H    no data sent 


        Response
        --------
        80A1 H    The number -32607
        0001 H    One data word
        xxxx      Aid Limiting

        This command returns the selected aid limiting method.

          0 = None
          1 = Wideband
          2 = Multichannel

        See also: 160 - Set Aid Limiting 



        Command                                                    Number
        -----------------------------------------------------------------
        Get Reference Method                                      Cmd 163

        00A1 H    The number 163
        0000 H    no data sent 


        Response
        --------
        80A3 H    The number -32605
        0001 H    One data word
        xxxx      Reference method 

        This command returns the selected reference method.

          0 = Auto Select
          1 = Undisturbed Field
          2 = Head Surface

        See also: 162 - Set Reference Method











                                       177


        Command                                                    Number
        -----------------------------------------------------------------
        Get Fit Parameters                                        Cmd 165

        00A5 H    The number 165
        0000 H    no data sent 


        Response
        --------
        80A5 H    The number -32603
        nnnn H    variable data length


        In addition to the individual fitting selection commands, you can
        read or set them as a group using the Fitting Parameters
        commands. The group consists of the items arranged as follows:

         typedef struct {
          INT16 FitRule;        [1]      
          INT16 ClientAge;      [2]
          INT16 AidGroup;       [3]
          INT16 AidType;        [4]
          INT16 AidCompression; [5]
          INT16 OutputDevice;   [6]
          INT16 SpeakerLoc;     [7]
          INT16 AidChannels;    [8]
          INT16 AidLimiting;    [9]
          INT16 FitType;        [10]
          INT16 AidVent;        [11]
          INT16 AidTubing;      [12]
          INT16 Reference;      [13] <new>
         }tFitParam;

        Refer to the associated Get command for the values of each item.
        Any new (future) items will be added to the end of the list.


        See also: 164 - Set Fit Parameters 

















                                       178


        Command                                                    Number
        -----------------------------------------------------------------
        Get User ID Text                                          Cmd 167

        00A7 H    The number 167
        0001 H    One data word follows
        xxxx      Selection (0=default, 1=user1, 2=user2, etc...)

        Response
        --------
        80A7 H    The number -32601
        001C      28 words follow

        This command is similar to command #86 except that it only gets 
        the stored User ID text. 

        Note: Some instruments allow setting the Default ID text (lines 9 
        and 10) that are just below the standard label text using Cmd 66.
        Reading the label with cmd 86 will always return the currently
        active User ID text. Use cmd 167 to specifically read the Default 
        ID Text.

        The User ID string consists of two additional lines of text that 
        can be printed just below the first eight lines of the printer 
        label. If a Default Custom ID text string is provided, it will 
        will be displayed only if there is no Custom User ID text string. 
        (ie The Custom User ID text string has priority.) If neither ID 
        string is available, nothing is displayed in the User ID fields.

        Each line of the text is composed of up to 27 data bytes and a 
        null terminator for a total of 28 bytes per line.  Any data after 
        the first null found in a line up to the beginning of the next 
        line is ignored. 

        Notes: For historical reasons, the packet data is in Motorola 
        format (the 6500 uses a 68000 type cpu). This is backwards from 
        the Intel format on most desktop PCs. You can convert the data to 
        Intel format by exchanging the bytes in each word in the packet.

        See also: 166 - Set User ID Text
                  150 - Set User Number 
                   66 - Set Extended Label Information
                   86 - Get Extended Label Information
                   89 - Set Printer Label Storage












                                       179


        Command                                                    Number
        -----------------------------------------------------------------
        Get Measurement Skew                                      Cmd 169

        00A9 H    The number 168
        0001      One word of data 
        xxxx      Which mic channel 0=measurement, 1=coupler, 2=probe

        Response
        --------
        80A9 H    The number -32599
        0001      One word follow


        This command gets the measurement skew. The measurement skew is 
        the number of sample delay to start data capture from the start 
        of the source signal. If Which = 0, the default measurement mic 
        channel skew is read. If Which = 1, the coupler mic channel skew 
        is read. If Which = 2, the probe mic channel skew is read. 
        If Which is invalid, the command will return an Invalid Command 
        response. 

        The skew is tied to the measurement sampling. Thus the skew time 
        is dependent upon the sample time. For a sample rate of 25600, 
        the skew will be 1/25600 (39uS) per skew increment. 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.



        See also: 168 - Set Measurement Skew























                                       180


        Command                                                    Number
        -----------------------------------------------------------------
        Get Display Mode                                          Cmd 171

        00AB H    The number 171
        0000      No data sent 

        Response
        --------
        80AB H    The number -32597
        nnnn      Variable data length


        This command returns the current display mode information. 

        Note: Different instruments may have different meanings for the 
        various selections. Refer to the specific instrument notes to 
        determine specific selections.



        See also: 168 - Set Measurement Skew


































                                       181


        Command                                                    Number
        -----------------------------------------------------------------
        Get Coupler Selection                                     Cmd 173

        00AD H    The number 173
        0000 H    No data sent

        Response
        --------
        80AD H    The number -32595
        0001 H    One data word
        xxxx      Coupler Selection


        This command requests the current coupler selection.

             Selection : 0 = None
                         1 = 2cc Coupler (Standard)
                         2 = MZ Coupler (OES)
                         3 = CIC Coupler
                         4 = OPE Coupler

        Note: Older instruments like the 6500, FP40 do not support 
        command 173 at all. FP35 software only supports command 173 in 
        version 3.50 and later software. You should continue to use 
        Get/Set OES and Get/Set CIC on the older equipment.


        See also:  3 - Set Occluded Ear Simulator (OES) Status !!
                  24 - Get Occluded Ear Simulator (OES) Status !!
                  87 - Get CIC Status !!
                  88 - Set CIC Status !! 
                 172 - Set Coupler Selection <preferred>























                                       182


        Command                                                    Number
        -----------------------------------------------------------------
        Get Analysis Selection                                    Cmd 175

        00AF H    The number 175
        0000 H    No data sent

        Response
        --------
        80AF H    The number -32595
        0001 H    One data word
        xxxx      Analysis Selection


        This command requests the current analysis selection.

        Selection : 
         DEFAULT_ANALYSIS = -1 Use the default analysis 
         NO_ANALYSIS      = 0  Don't do any analysis 
         TRMS_ANALYSIS    = 1  Do True RMS analysis
         CRMS_ANALYSIS    = 2  Do Corrected RMS analysis
         ERMS_ANALYSIS    = 3  Do Estimated RMS analysis
         DFT_ANALYSIS     = 4  Do DFT analysis
         FFT_ANALYSIS     = 5  Do FFT analysis
         RMS5K_ANALYSIS   = 6  Do reduced bandwith ERMS (200Hz->5KHz)


        Note: Older instruments like the 6500, FP40 do not support 
        command 175 at all. FP35 software only supports command 175 in 
        version 3.50 and later software. 

        See also: 174 - Set Analysis Selection
























                                       183


        Command                                                    Number
        -----------------------------------------------------------------
        Get Battery Information                                   Cmd 179

        00B3 H    The number 179
        0000 H    No data sent


        Response
        --------
        80B3 H    The number -32595
        000n      Variable number of words of data
        xxxx      Battery Type    (see instrument)
        xxxx      Battery Size    (see instrument) <optional>
        xxxx      Battery mA/H    (mA/H * 1)       <optional>
        xxxx      Battery Voltage (volts * 100)    <optional>
        xxxx      Battery Impedance (ohms * 100)   <optional>


        This command returns the type of hearing aid battery that the 
        instrument simulates. One or more values may be returned.
        If a value contains 32768 (0x8000), it is unknown.

        The Battery Type is instrument dependent. It may refer to a 
        combined chemistry and size selection, or just chemistry.
        Refer to the instrument documentation for the specifics.

        Battery Size and mA/H are optional if provided, the Size refers
        to the selected battery size (see instrument specific selection 
        list), and mA/H refers to the selected mA/H rating for the 
        selected battery.

        Battery voltage and impedance are optional and instrument 
        dependant. If provided, battery voltage returns the selected 
        voltage for the battery. Battery impedance if provided is the 
        selected battery impedance. 

        See Also: 14 - Do Battery Test
                  19 - Get Battery Data
                  79 - Set Battery Information
















                                       184


        Command                                                    Number
        -----------------------------------------------------------------
        Get Stored Parameter                                      Cmd 181

        00B5 H    The number 181
        0001 H    One data word sent
        nnnn      Storage Item number

        Expanded Format:

        00B5 H    The number 181
        xxxx      Variable amount of data sent

        Response
        --------
        80B5 H    The number -32587
        xxxx      Variable number of words returned
        nnnn      Storage Item number
        vvvv      Stored Item value


        This command will return the value of one or more stored 
        parameters. Each item is referenced by its item number. 
        See the separate document describing storage items to determine 
        the numbers available on each instrument. The response will 
        contain two values, the first will be the item number, the 
        second will be the value of the stored parameter.

        Mutliple item numbers can be requested. If multiple items are 
        requested, the items requested will be returned in the response 
        list one after the other. If a specific item is not available in 
        the instrument, it will not be returned. Unprogrammed items will 
        return the default selection for the instrument. If no items are 
        available, or this command is not available on the instrument, an 
        Illegal command response will be given. 

        Although normally the response list will be in the same order as 
        the request list, you should not count on this behavior. If a 
        requested item is not available, the list will be shorter. Also 
        some instruments may possibly rearrange the response list for 
        internal reasons. You should always cross check each response 
        item number against the requested number for verification.


        Note: Not all instruments support commands 180 and 181.
        See the instrument specific documentation to determine if the 
        command is supported and which storage items are supported.

        See also: 180 - Set Stored Parameter







                                       185



                                DO Commands

        The DO command causes a specific test or procedure to be 
        performed. 


        Command                                                    Number
        -----------------------------------------------------------------
        Do Attack and Release Test                                 Cmd 13

        000D H    The number 13
        0001 H    One data word follows
        xxxx      Attack and Release Test Status 

             Status : 0 = off
                      1 = on

        This command tells the instrument to perform the Attack and 
        Release test, or to exit the test.  Each time a test ON command 
        is sent the Attack and Release test will be run.  The Attack and 
        Release test state must be turned OFF for normal instrument 
        operations to continue.


        See also: 18 - Get Attack and Release Data
                  40 - Set Attack and Release Frequency Value 
                  41 - Get Attack and Release Frequency Value
                  98 - Get Attack Release Parameters
                  97 - Set Attack Release Parameters 


























                                       186


        Command                                                    Number
        -----------------------------------------------------------------
        Do Input/Output (I/O) Test                                 Cmd 15

        000F H    The number 15
        0001 H    One data word follows
        xxxx      I/O Test Status 

             Status : 0 = off
                      1 = on

        This command tells the instrument to run an I/O test.  If the
        instrument is not in I/O mode it will go there and run a test,
        otherwise it will just run a new test.  The currently selected
        I/O configuration will be used.


        See also: 10 - Set Input/Output (I/O) Parameters
                  20 - Get Input/Output (I/O) Data
                  34 - Get Input/Output (I/O) Parameters
                  59 - Set Instrument State
                  60 - Get Instrument State


        Command                                                    Number
        -----------------------------------------------------------------
        Do Start/Stop                                              Cmd 16

        0010 H    The number 16
        0000 H    No data sent

        This command tells the instrument to perform the currently 
        selected test or other action. This function is limited on some 
        instruments. Refer to the instrument documentation for the 
        specifics. 

        Note: Pure tone sweeps can take a long time to complete so the 
        computer should use a long time-out for pure tone sweeps.

        See also: 54 - Get Active Status
                  55 - Get Active Status















                                       187


        Command                                                    Number
        -----------------------------------------------------------------
        Do Leveling                                                Cmd 17

        0011 H    The number 17
        0000 H    No data sent

        This command tells the instrument to level the sound chamber or 
        the sound field depending on its state.

        See also: 29 - Get Leveling Status



        Command                                                    Number
        -----------------------------------------------------------------
        Do Reset                                                   Cmd 38

        0026 H    The number 38
        0000 H    No data sent

        This command will reset the instrument to the start up screen 
        (main loop). As a side effect any errors recorded for the get 
        status command are cleared. The purpose of this command is to 
        force the instrument to a known state from wherever it currently 
        is operating.

        See also: 28 - Get Software Version
                  33 - Get Command Status
                  56 - Set Power State
                  59 - Set Instrument State
                  60 - Get Instrument State
                  80 - Get Power Status 























                                       188


        Command                                                    Number
        -----------------------------------------------------------------
        Do Line Feeds                                              Cmd 64

        0040 H    The number 64
        0001 H    One data word
        xxxx      Number of Lines to Feed (1-255)

        This command causes the printer to feed blank paper for the 
        number of lines specified.

        See also: 65 - Do Print


        Command                                                    Number
        -----------------------------------------------------------------
        Do Print                                                   Cmd 65

        0041 H    The number 65
        0001 H    One data word
        xxxx      Print Selector

        This command causes the instrument to print. This is similar to 
        pressing the Print button.

        The Print Selector specifies how the print will be done. This is 
        instrument specific. Refer to the instrument documentation for 
        the specifics.

        Normally when a bit is set, it indicates the following action:

          Bit 0 - print the label (0=no label)
          Bit 1 - print the top of the CRT (for 6400/6500)
          Bit 2 - print the bottom half of the CRT (for 6400/6500)

          Bit 3-15 <reserved>

        The reserved bits should be cleared to zero. 

        See also:  6 - Set Label Information
                  64 - Do Line Feeds
                  66 - Set Extended Label Information
                  86 - Get Extended Label Information
                  89 - Set Printer Label Storage
                  92 - Set Printer Selection
                  93 - Get Printer Selection
                  96 - Set Printer Label Bitmap
                 166 - Set User ID 
                 167 - Get User ID







                                       189


        Command                                                    Number
        -----------------------------------------------------------------
        Do User Message                                            Cmd 67

        0043 H    The number 67
        nnnn      Variable data sent
        dddd      Destination format selection
        xxxx      Text data 

        When this command is given, the message sent will be displayed on 
        the user display. Normally this will be a pop-up message window. 
        In most cases, there is only one format and destination available 
        (a pop-up text message window). Where an alternate format or 
        destination is available, it is selected with the Destination 
        format selection.

        There may be limitations to the use of this command on the target 
        analyser. See the instrument specific documentation for details.

        For text messages, the text must be a series of packed null 
        terminated strings. The last string must be an empty string (null 
        terminated, no text). The packet assumes little endian format 
        (Intel format - LSB first). The packet must be zero filled to a 
        word boundry.


        Note: This command only gives the operator an indication that 
        there is a problem on the Fonix 6500 (it flashes the CRT). It 
        does not accept any data (length must be zero).

        See also: 33 - Get Command Status

























                                       190


        Command                                                    Number
        -----------------------------------------------------------------
        Do Measurement                                             Cmd 85

        0055 H    The number 85
        000n H    Two or Three data words
        xxxx      Source Frequency in Hz (0=composite)
        xxxx      Source Amplitude in dB*100
        xxxx      <optional> Measurement Settle time in ms

        Response
        --------
        8055 H    The number -32676
        000n H    One or two data words
        xxxx      Measurement Data 
        dddd      Distortion Data (pure tone)       <optional>
                  or Noise Reduction (composite)   

        This command causes the instrument to perform a single measurement 
        using the specified source frequency, source amplitude, and 
        measurement delay. This is similar to performing the separate 
        functions, but are done all in one with this command. If any 
        value in this command is bad, the command will not be processed, 
        and an INVALID response will be returned.

        NOTE: The data returned with this command is the *PREVIOUS* 
        measured data. The level, frequency, and settle time settings
        will affect the next measurment made (except 6500, see warning). 

        If a frequency, level, or settle value is passed as INVALID_DATA 
        (0x8000) that value will be left unchanged. Sending the settle 
        time is not required. The current settle time will be used.
        Setting these values may affect the global control values. The 
        effects are instrument specific. See the instrument specific 
        documentation for details.

        This command returns the previous measured data (see cmd 31).
        If distortion is on, the measured distortion will also be 
        returned (see cmd 32) if the source is pure tone. If the source 
        is composite, the current noise reduction measurement average 
        (see cmd 26) is returned instead.

        WARNING: On the 6500 this command operates differently and is not 
        recommended for general use. The command on the 6500 violates 
        internal FIPP communication timing and requires special case 
        handling by the programmer. The 6500 does not return distortion 
        data. See the 6500 notes for additional documentation of how this 
        command works there.

        See also:  0 - Set Source Amplitude Value
                   2 - Set Frequency Value
                  31 - Get Measurement Data
                  32 - Get Harmonic Distortion Data
                  84 - Set Measurement Delay 


                                       191


        Command                                                    Number
        -----------------------------------------------------------------
        Do Calibration Adjust                                     Cmd 144

        0090 H    The number 64
        000n H    One or Two data words
        cccc      <optional> Channel
        xxxx      Adjustment in DB*100

        This command adjusts the current calibration sensitivity by the 
        indicated amount. This is a special case command and is not 
        available on all instruments. Nor may it be implemented the same 
        way on all instruments. Refer to the instrument specific 
        documentation for specific information about this command. 

        If two words are provided, the first word is the channel and the
        second word is the sensitivity value to set. If only one word is 
        provided, the value is the sensitivity to set for the currently
        active channel.

        Where available, passing the value as INVALID (0x8000) will 
        return the current calibration sensitivity.

        Note: this command is primarily intended for internal factory 
        automation use. It is available as is to the user.

        See also: 59 - Set State 





























                                       192


        Command                                                    Number
        -----------------------------------------------------------------
        Do Custom Test                                            Cmd 176

        00B0 H    The number 176
        nnnn      Variable length
        xxxx      Data

        This command starts a user requested custom test. This command is 
        instrument dependant. See the specific instrument documentation 
        for the specifics on useing this command. 


        See also: 16 - Do Start/Stop
                  85 - Do Measurement









































                                       193


        Command                                                    Number
        -----------------------------------------------------------------
        Do Parameters                                             Cmd 177

        00B1 H    The number 177
        0001 H    One data word sent
        xxxx      Action to perform

        Expanded Format:

        00B1 H    The number 177
        0001 H    One data word sent
        xxxx      Variable amount of data sent
        nnnn      Selection

        Action:
          0 = Reset user parameters to factory default selections.
          1 = Restore user settings from storage.
          2 = Save user settings to storage.

        This command tells the instrument to reset, restore or save the 
        current user settings. 

        If selection is provided, it indicates the selection (user 
        number) to which the parameters apply.

        Notes: If you want the factory defaults to be saved to storage 
        memory, you must do a save after doing the reset. If you don't 
        do the save, the factory defaults will not be saved. The enhanced 
        format may not be available on all instruments.

        WARNING: Storage memory normally has a limited number of times 
        that it can be written (typically 100,000 writes). Avoid 
        repeatedly sending this command to store the parameters as it may 
        wear out the storage memory.


        This command is instrument dependant. See the specific instrument 
        documentation to learn how to use this command. 


        See also: 180 - Set Stored Parameter
                  181 - Get Stored Parameter













                                       194


        Command                                                    Number
        -----------------------------------------------------------------
        Do Target                                                 Cmd 178

        00B2 H    The number 178
        0000      No data 

        This command tells the instrument to generate a target based on 
        the current fit rule settings.

        This command is instrument dependant. See the specific instrument 
        documentation for the specifics on using this command. 


        See also: 174 - Set Fit Parameters









































                                       195


                                Control Messages

        This class of messages controls the flow of data between the
        instrument and the computer controlling it. With the exception of 
        the Quick Terminate command, the computer should not send a 
        control message. They are intended as special case responses from 
        the instrument.


        Command                                                    Number
        -----------------------------------------------------------------
        Set Baudrate                                            Cmd 31747

        7C03 H    The number 31747
        0001 H    One data word
        bbbb      Packet Port Baudrate

        Expanded Command Format:

        7C03 H    The number 31747
        0002 H    Two data words
        bbbb      Baudrate
        pppp      Port number (0=packet port, 1=aux port)

        Since it is possible to set a baudrate of 115200 which won't fit 
        into an INT16 value, the baudrate value passed is divided by ten. 
        Thus to set the baudrate to 9600, you should send 960. Since it 
        is probable that a programmer will forget this, for the baudrates 
        9600 to 57600, the actual baudrate will be accepted as well. 
        Only specific valid baudrates are accepted by the instrument. All 
        others will be rejected.

        This Special command is used to temporarily change the serial 
        port baudrate of the instrument. Great care should be used with 
        this command since if you get it wrong, you might not be able to 
        continue communicating with the instrument. Only the baudrates 
        accepted by the instrument are allowed. If the baudrate is not 
        valid, the command will return an ILL response and the baudrate 
        will not be changed. If an ACK is returned, the baudrate will be 
        changed after the ACK has been transmitted. It is up to the 
        calling program to then adapt itself to the new baudrate either 
        by reconfiguring the Fryers driver to the new baudrate, or by 
        using the autobaud feature to seek out the new baudrate. 

        Normally the valid baudrates allowed are:
        9600(960), 19200(1920), 28800(2880), 38400(3840), 57600(5760), 
        and 115200(11520). All others will be rejected. Some instruments 
        and some instrument ports may not accept all the baudrates.

        See also: 148 - Set Aux Port
                  149 - Get Aux Port 





                                       196


        Command                                                    Number
        -----------------------------------------------------------------
        Quick Terminate                                         Cmd 32767

        7FFF H    The number 32767
        0000 H    No data sent


        The instrument must be released from the communications mode to 
        allow it to perform a measurement or other action. The default 
        action for this is for the computer to ignore the poll sent by 
        the instrument. This can slow things down and is sometimes 
        difficult to program since it involves a time delay in the 
        computer to insure that no activity occurs for at least 50ms. 
        Newer instruments offer the quick terminate function to 
        immediately release the instrument from its communication mode of 
        operation. Also see the Set Poll Delay command for adjusting the 
        poll delay time. 

        Note: The Fryers driver automatically generates a Quick Terminate 
        command if there is no data ready to send in its internal buffers 
        at the time it receives a poll. This should not be confused with 
        the need to release the instrument to perform an action. If you 
        write a short program to continuously read the measurement data, 
        the instrument will never have a chance to exit its communication 
        mode to update the measurement data. You still must either send a 
        quick terminate command, or skip a poll in order to release the 
        instrument. The purpose of the Fryers function is to speed up 
        idle time operation when the computer is not responding to polls 
        coming from the instrument.

        Remember, the proper response from an instrument to a Quick 
        Terminate command is no response. The Receive ready flag will 
        _not_ be set as a result of this message. Only the Send Ready 
        flag will be set when it has been completed.





















                                       197


        Message                                                    Number
        -----------------------------------------------------------------
        POLL                                                       Msg -1

        FFFF H    The number -1
        0000 H    No data sent


        A poll is issued by the instrument any time it is ready to accept
        a command from the computer.  The computer then has 50 mS to
        issue its command before the instrument will go on with other
        things. The poll sequence and the numbers used in the poll 
        command are important to the system. It is used to synchronize 
        the communication between the instrument and the computer.



        Message                                                    Number
        -----------------------------------------------------------------
        Acknowledge (ACK)                                          Msg -4

        FFFC H    The number -4
        0000 H    No data sent


        Acknowledge is returned by the instrument in two cases.

        a. When the computer issues a command which is valid but does
           not need any return (SET and DO messages).

        b. When a request for return data has been made in an mode where
           this is not possible.  (eg. requesting the last probe curve
           in sound chamber mode, or requesting a curve frame that has no 
           data stored).

        In the first case an ACK is the only correct response, in the
        second case an ACK probably indicates that the instrument is
        in a different mode from what the computer thinks it is in, or 
        the desired data has not yet been measured.

















                                       198


        Message                                                    Number
        -----------------------------------------------------------------
        Not Acknowledge (NAK)                                      Msg -5

        FFFB H    The number -5
        0000 H    No data sent


        The instrument returns a NAK when it receives a message with a
        corrupted checksum.  The computer should try to re-send the
        message at the next POLL. (Note that the Fryers drivers supplied 
        by Frye Electronics manage the checksum generation and detection. 
        The Drivers will also attempt to resend the command automatically 
        if a failure occurs. If a command response of NAK is returned 
        when using the Fryers driver, it indicates that the driver was 
        not able to successfully send the command. This is an indication 
        of a serious communications problem. Generally, under normal 
        operation, you should not see a NAK response except when there is 
        a communication error.



        Message                                                    Number
        -----------------------------------------------------------------
        ILLEGAL                                                    Msg -6

        FFFA H    The number -6
        0000 H    No data sent


        If a command is received by the instrument that has an invalid
        number, whose length is invalid, or contains information that 
        cannot be processed an ILLEGAL message is returned.  This message 
        may be returned when the controlling computer issues messages to 
        early version instruments which did not support recent additions 
        to the FIPP spec.  In these cases the instrument's software 
        should be upgraded to the current version.  Any other case of an 
        ILLEGAL message indicates something severely wrong with the 
        software in the controlling computer.

        Note: if the command length given is so excessive that it is not 
        supported by the instrument, some instruments may consider it a 
        transmission failure and treat the command the same as a checksum 
        failure (return a NAK response) because the checksum cannot be 
        computed. 

        See also: 33 - Command Status
        <eof> -med








                                       199
