            The software for reading 5090 file
                                                                NF Corporation


   Thank you for downloading and demanding this software.
   If you observe the following use condition, you will use this software free
   of charge.

<Use condition>
   Right about this software
     Consent to the use right of this software, hold the copyright of this
     software and NF Corporation.
   The third person transfer
     When any customer hand over this software to the third person, in
     responsibility of the customer the third person keep this "use
     condition".
     When distribute this software with magazines etc.again, keep this
     "use condition" alike.
   Reconstruction
     Please do not reconstruct this software.
   Immunity from responsibility matter
     If it is assumed that the damage occurred by use of this software by any
     chance, our company do not bear one slice of responsibility about the
     damage. In addition, our company do not bear any revision and support
     duty when this software included deficiency.




  *TABLE OF CONTENTS
  1 Abstract
  2 File constitution
  3 Installation
  4 Uninstallation
  5 Operation method
  6 This software does not support the graph by the 5090 function
  7 Processe the data converted into the CSV form
  8 Advanced processing (processe the converted data and get the desired
    graph)
  9 Version information




1 Abstract
  This software reads the data file which was recorded in FD with frequency
  characteristic analysis device 5090, and does graph indication and a save in
  the CSV form.
  This software works with Windows 95/98.
    (Do not work before Windows 3.1.)

  The main functions of this software as follows do not correspond to all
  graph functions of 5090.
   Readout the data file which was measured with 5090 from a disk.
   Save the readouted data as a CSV form file.
   Display the readouted data by graph.
   Print a graph of the readouted data.
   Set a format of the graph.



2 File constitution
  This software consists of the following files.
   DSPL5090.EXE       Software execution file
   DSPL5090.CFG       The file which defined a movement condition of software
   readme.txt         This chapter   Describe handling explanation of software
   (samplxxx.dat)     5090 data file sample



3 Installation
  This software can work on a floppy disk, from a point of movement speed
  install it in a HardDisk or a network drive, and it can be used.

3.1 Create folder
  In a HardDisk or a network drive, For example, please create a suitable
  folder which seems to be "C:\Program Files\DSPL5090."

3.2 Copy software
  Copy three software "DSPL5090.EXE", "DSPL5090.CFG" and "readme.txt" in the
  folder which was created.

3.3 Registration to start menus
  Register "DSPL5090.EXE" with a start menu or short cut with a desktop
  please.
  About the registration method, please view the instructions of Windows.



4 Uninstallation
  Make it to have only to delete the folder, the file and the short cut that
  add uninstallation of this software by "3 installation" and made.

4.1 Delete the installation folder of software
  The file in the folder which was created for installation, please delete
  "DSPL5090.EXE", "DSPL5090.CFG", readme.txt".
  Save necessary files, and please delete "DSPL5090.EXE", "DSPL5090.CFG",
  readme.txt".

4.2 Delete registration
  Please delete registration when registered with a start menu and a desktop.



5 Operation method
5.1 Open a file
  Operate "File", "Open data file...".
  (Or click the "Open data file" button.)
  When a folder displayed right of "Search file name" does not become a folder
  of data file, Click "..." button and display a dialogue of "Search pass
  reference". Select a drive and a folder here and click "Open" button. At
  this chance please confirm that the right of "File name" becomes "*.dat."
  Click the file displayed from the file name list and select it.
  When want to select more than one file, click it  while pushing "Ctrl"
  "Shift" key.
  Click the botton of "Create graph" and display the graph from file data.

5.2 Graph indication of a plural page
  The screen which was displayed and appointed the plural data file is only a
1 screen.
  Please change a page with a menu or a button.
    Prev page->"View", "View prev page", or click the "Prev page" button.
    Next page->"View", "View next page", or click the "Next page" button.

5.3 Save of a CSV file
  Save data of a page displayed by "File", "Save operated data" with a text
  file of a CSV form.
  Data become one line by three data divided with a comma (Frequency [Hz],
Gain [dB], Phase [deg]).

5.4 Copy to clipboard
  "File", "Copy to clipboard" clipboard can copy a graph of a page displayed
  with "File", "Copy to clipboard" as a BitMap image.

5.5 Graph print
  Print a graph of the file data read by operating "File", "Print graph..." or
  clicking a button.
  It is necessary to execute "File", "Printer setup" beforehand.

5.6 Setting of graph format
  A format of a graph at having opened a file increases with the setting state
  of "Setup(S)", "Graph properties (standard value)...".
  Set and change a format of a displayed graph by operating "Setup(S)", "Graph
  properties (current)..." or clicking the "Graph properties" button.
  Operate "Setup(S)", "Overwrite as standard value", in order to do the
  current format with the standard value.
  Operate "Setup(S)", "Back to standard value", Back the current format to the
  standard value.



6 This software does not support the graph by the 5090 function
  This software readouts the data file created by frequency characteristic
  analysis device 5090, displays and confirms the graph, saves it in the CSV
  form, and uses data with other software for a purpose.
  The function is limited very much.

*An operation (analysis) item of this software is a CH1/CH2  CH2/CH1 chisel.
  There is not CH1 CH2 absolute value indication.

*An vertical axis of a graph (gain) is only dB indication (LIN scale).
  Magnification indication(LOG/LIN scale) is not finished.

*An vertical axis of a graph (phase) is only -180 to +180 deg.
  There is not 0-+360 deg -360-0 deg indication.

*A graph is only a board diagram(vertical axis:gain [dB indication], cross
axle:frequency).
  Can not display a nicorous diagram (vertical axis:gain, cross axle:phase).
  Can not display a nikest diagram (vertical axis:imaginary number ingredient,
  cross axle:real number ingredient).
  Can not display a call call plot (vertical axis:imaginary number ingredient,
  cross axle:real number ingredient).
  Processing is need and do not come to  display it with a nicorous diagram, a
  nikest diagram, and a call call plot.

*An operation function(addition, subtraction, multiplication and division
operation, differential calculus, integral calculus operation etc.) is not
finished.
  On this account make an arbitrary unit, cannot display a graph.



7 Processe the data converted into a CSV form
  The 3 data saved in a text file of a CSV form as one measurement point was
  divided with a comma (frequency [Hz], gain [dB], phase [deg]) with one line.

          (Example for a CSV form)
1000.000000 , -0.055591 , 4.407932
1023.293000 , -0.055893 , 4.091609
1047.128500 , -0.056021 , 3.782761
1071.519300 , -0.056273 , 3.474349
    ------      ------     ------

*Convert the data saved in the CSV form with CH1/CH2 into CH2/CH1.
  Do reverse operation.
    Gain:       gain=  (-1) * in_gain
    Phase:      phase=  (-1) * in_phase
  Note) Call gain, phase before conversion, and in_gain, in_phase after
  conversion.

*Convert the gain(dB) into the gain(LIN, magnification).
    Gain:       gain=  10^( in_gain / 20 )              ^:Multiplier
                     calculate ( in_gain / 20 ) of 10 (10 bottom index)

*Convert phase into radian (rad) from degree(deg)
    Phase:  phase(rad)=  pi * in_phase / 180 (deg)    pi:3.141592654...

*Convert phase into 0-+360 deg or 0--360 deg from -180 to +180 deg
  Judge phase with a program.
  0-+360 deg conversion:
    if in_phase < 0 phase = in_phase + 360  else phase = in_phase
  -360-0 deg conversion:
    if in_phase > 0 phase = in_phase - 360  else phase = in_phase

*Convert polar coordinates indication into X-Y coordinate system indication
  From a gain and phase, convert the real number part and imaginary number
  part of a value.
    Real number part :      gain_rel = 10 ^ ( in_gain / 20 ) * cos( in_phase )
    Imaginary number part:  gain_im  = 10 ^ ( in_gain / 20 ) * sin( in_phase )



8 Advanced processing (processe the converted data and get the desired graph )
*Magnification resembles that dB display an vertical axis by a board diagram
(vertical axis:Gain, cross axle:Frequency)
  A method to turn into a graph.
    Gain:     gain=  10^( in_gain / 20 )   use
  Hang fixed number K and use an arbitrary unit.
    Gain:      gain=  K * 10^( in_gain / 20 )

*A method to describe a graph of a nicorous diagram(vertical axis:gain, cross
axle: phase).
  An vertical axis uses in_gain, in_phase for a dB indication case.
  An vertical axis converts a gain into a magnification indication case and
  uses it.
    Gain:      gain=  10^( in_gain / 20 )

*A method to describe a graph of a nikest diagram(vertical axis: imaginary
number ingredient, cross axle: real number ingredient).
  Convert data into X-Y coordinate system series
    Real number part:     gain_rel =  10 ^ ( in_gain / 20 ) * cos( in_phase )
    Imaginary number part:gain_im  =  10 ^ ( in_gain / 20 ) * sin( in_phase )
  Draw the  vertical axis (imaginary number part) of (-) at the upper part of
  a graph and (+) at the lower part of a graph.

*A method to describe a graph of a call call plot(vertical axis: imaginary
number ingredient, cross axle: real number ingredient).
  Convert data into X-Y coordinate system series , draw the  vertical axis
  (imaginary number part) of (-) at the upper part of a graph and (+) at the
  lower part of a graph.
    Real number part:     gain_rel =  10 ^ ( in_gain / 20 ) * cos( in_phase )
    Imaginary number part:gain_im  =  10 ^ ( in_gain / 20 ) * sin( in_phase )

*Addition and subtraction by data 1 and data 2 ken.
  Calculation of data3 = data1 +/- data2. Frequency of a point to observe
  data 1 and 2 is at all the same data.
  Calculation of addition and subtraction:Convert data 1/2 into X-Y coordinate
  system series and do addition and subtraction of complex number.
    Real number part:  gain_rel1 = 10 ^ ( in_gain1 / 20 ) * cos( in_phase1 )
                       gain_rel2 = 10 ^ ( in_gain2 / 20 ) * cos( in_phase2 )
    Calculation of addition and subtraction: gain_rel3 = gain_rel1
    +/- gain_rel2
    Imaginary number part: gain_im1 = 10 ^ ( in_gain1 / 20 )
    * sin( in_phase1 )
                           gain_im2 = 10 ^ ( in_gain2 / 20 )
    * sin( in_phase2 )
    Calculation of addition and subtraction: gain_im3 = gain_im1 +/- gain_im2
  Return to polar coordinates series.
    Gain:  gain3  = 10 * log(gain_rel3 * gain_rel3 + gain_im3 * gain_im3)
    Phase: phase3 = arctan( gain_im3 / gain_rel3 )
  Change phase into a standard by -90 to +90 (deg).
  Have to decide a quadrant by polarity of gain_rel3, gain_im3.
    I  quadrant:   if  gain_rel3 > 0, gain_im3 > 0      phase3
    II quadrant:   if  gain_rel3 < 0, gain_im3 > 0      180 + phase3
    IIIquadrant:   if  gain_rel3 < 0, gain_im3 < 0     -180 + phase3
    IV quadrant:   if  gain_rel3 > 0, gain_im3 < 0      phase3

*Multiplication and division by data 1 and data 2 ken.
  Multiplication:   data3 = data1 * data2
  Division :        data3 = data1 / data2   calculation
  Frequency of a point to observe data 1 and 2 is at all the same data.
    Gain of multiplication:  gain3 = in_gain1 + in_gain2     (dB)
    Phase of multiplication: phase3 = in_phase1 + in_phase2  (deg)
    Gain of division:        gain3 = in_gain1 - in_gain2     (dB)
    Phase of division:       phase3 = in_phase1 - in_phase2  (deg)

  Judge phase with a program and do the next operation so that change phase
  into a standard by -180 to +180.
    if phase < -180      phase = phase + 360        else     phase = phase
    if phase >  180      phase = phase - 360        else     phase = phase

*Differential calculus / integral calculus
  Calculate with the next expression
    Time fixed number:   T0    w0 = 1 / T0
    Differential calculus:                  *  (jw/w0)   w = 2 * pi
    * frequency
    The second floor differential calculus: *  (jw/w0)  *  (jw/w0)
    Integral calculus:                      *  (1 / (jw/w0))
    Double integral calculus:               *  (1 / (jw/w0))  *  (1 / (jw/w0))

  Do real operation operation like next.
  in_w = 2 * pi * in_frequency do
  Gain in differential calculus:
    gain = in_gain + 20 * log ( in_w / w0) (dB)
    // Phase: phase = in_phase + 90 (deg)
  Gain in the second floor differential calculus:
    gain = in_gain + 40 * log ( in_w / w0 ) (dB)
    // Phase: phase = in_phase + 180 (deg)
  Gain in integral calculus:
    gain = in_gain - 20 log ( in_w / w0 )  (dB)
    // Phase: phase = in_phase - 90  (deg)
  Gain in double integral calculus:
    gain = in_gain - 40 * log ( in_w/ w0 ) (dB)
    // Phase: phase = in_phase - 180 (deg)

  Judge phase with a program and do the next operation so that change phase
  into a standard by -180 to +180.
    if phase < -180      phase = phase + 360        else     phase = phase
    if phase >  180      phase = phase - 360        else     phase = phase



9 Version information
    Ver.1.00    1998.06.15  First edition (b1) publication
    Ver.1.02    1999.06.04  Bug fix(b2).
                    Bug revision of [Indication - Magnification]
                    Bug revision of graph cross axle indication
                    Bug revision of DC bias
    Ver.1.02    2000.09.05    Bug fix(b3).
                    Bug revision of data indication of a graph
                    Bug revision of amplitude compressor function and high
                    density sweeper indication
                    Bug revision of reading of graph setting information
    Ver.1.10    2000.09.25    Formality edition

                              N F    C O R P O R A T I O N
                    URL: http://www.nfcorp.co.jp/
                    