home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / UPLOT20B.ZIP / DEMO.BAT next >
DOS Batch File  |  1990-09-12  |  4KB  |  136 lines

  1. echo off
  2. cls
  3. if exist uplot.dat goto bypass
  4. echo .
  5. echo  First we install UPLOT(C) for your systems display.
  6. echo .
  7. echo  After you select which screen mode for your system,
  8. echo  a new file named UPLOT.DAT is created.
  9. echo .
  10. echo .
  11. pause
  12. install
  13. echo .
  14. echo  Now that you have installed UPLOT(C), we will look at
  15. echo  a few sample plots which should be included with this program.
  16. :bypass
  17. echo .
  18. echo .
  19. echo  When you are done: To exit UPLOT(C) - press "ESC" escape
  20. echo  key.
  21. echo .
  22. echo .
  23. pause
  24. echo on
  25. uplot plot1.plt 2 1 n
  26. echo off
  27. echo .
  28. echo .
  29. echo  Next we will look at a plot of joystick data which
  30. echo  includes a time stamping plot as plot # 5 (TS).  You
  31. echo  will notice the time stamp has peaks much higher than
  32. echo  the normal/base value.  These time variations are caused
  33. echo  by DOS handling the Hard disk writes.
  34. echo  This can be eliminated by writing file to a RAMDRIVE.
  35. echo  Just include the ramdrive before the output file name.
  36. echo  (Example: E:\stick.plt)
  37. echo  This time, since the Time Stamp plot has one pixel peaks
  38. echo  which are hard to see, try the "L" key to toggle on the line
  39. echo  plotting feature.  It will make it much easier to see the
  40. echo  time stamp peaks.
  41. echo .
  42. echo .
  43. echo  When you are done: To exit UPLOT(C) - press "ESC" escape
  44. echo  key.
  45. echo .
  46. echo .
  47. pause
  48. echo on
  49. uplot plot2.plt 2 1 y
  50. echo off
  51. echo .
  52. echo .
  53. echo  Next we will look at a plot of joystick data which
  54. echo  includes a time stamping plot as plot # 5 (TS).  You
  55. echo  will notice the time stamp is uniform.  This was done
  56. echo  by using the command line running (setting the number
  57. echo  of samples and time of acquisitions and turning off display).
  58. echo  This time, since the plot is small in length and has
  59. echo  a lot of movement, try the "L" key to toggle on the line
  60. echo  plotting feature.  It will make it much easier to see the
  61. echo  data pattern.
  62. echo .
  63. echo .
  64. echo  When you are done: To exit UPLOT(C) - press "ESC" escape
  65. echo  key.
  66. echo .
  67. echo .
  68. pause
  69. echo on
  70. uplot plot3.plt 2 1 y
  71. echo off
  72. echo .
  73. echo .
  74. echo  We will next take 500 samples of data from your Joystick
  75. echo  port A using the STICK(C) program included in the UPLOT(C)
  76. echo  shareware package.
  77. echo .
  78. echo  You must have a JOYSTICK PORT for this to work correctly!
  79. echo  If you don't have one on your system with a joystick connected,
  80. echo  then you must abort this demo at the next pause by hitting
  81. echo  "Ctrl"&"BREAK" or "Ctrl"&"C" depending on your system!
  82. echo .
  83. echo .
  84. pause
  85. echo .
  86. echo  While STICK(C) is running, slowly move your joystick so
  87. echo  you will get varing data patterns.  You will notice a
  88. echo  counter running on the top of the screen, this lets you
  89. echo  see how many samples have been taken.
  90. echo .
  91. echo .
  92. pause
  93. echo on
  94. stick stick.plt 2 1 20 500 y
  95. echo off
  96. echo .
  97. echo .
  98. echo  Now you should have a file named STICK.PLT which contains
  99. echo  the newly acquired readings from the joystick port A.
  100. echo .
  101. echo  We will use UPLOT(C) to display it.
  102. echo .
  103. echo  When you are done: To exit UPLOT(C) - press "ESC" escape
  104. echo  key.
  105. echo .
  106. echo  Hint: Try the "H" key to see the help screen!
  107. echo .
  108. echo .
  109. pause
  110. echo on
  111. uplot stick.plt 2 1 y
  112. echo off
  113. echo .
  114. echo .
  115. echo  This is the end of the demonistration - thanks for
  116. echo  trying UPLOT(C)
  117. echo .
  118. echo  If you find these programs useful -  please register.  
  119. echo .
  120. echo  *****************************************************
  121. echo  ***  Shareware will only work if you support it!  ***
  122. echo  *****************************************************
  123. echo .
  124. echo  The current information on registation can be read at the end of
  125. echo  the help file while using UPLOT(C). [pressing the "H" key]
  126. echo .
  127. echo .
  128. pause
  129. echo .
  130. echo  The plot data files are *.PLT
  131. dir *.PLT /w
  132. echo .
  133. echo END OF DEMO
  134. echo .
  135.  
  136.