Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RTable_Outputs.f90 1009 B

1234567891011121314151617181920212223242526272829
  1. subroutine RTable_Outputs
  2. Use CDrillingConsoleVariables
  3. Use CDataDisplayConsoleVariables
  4. Use RTable_VARIABLES
  5. Use CDrillWatchVariables
  6. Use CSounds
  7. IMPLICIT NONE
  8. DrillingConsole%RTBLWR = RTable%BLWR
  9. Call SetSoundBlowerRT(RTable%SoundBlower) !.true. or .false.
  10. Call SetSoundRT( RTable%SoundRPM ) ![RPM] , integer
  11. !RTable%Speed !to other modules
  12. Call Set_RotaryRPMGauge( sngl(1-RTable%RpmGaugeMalf)*real(RTable%RpmGaugeOutput,8) ) ![RPM]
  13. DataDisplayConsole%RotaryTorqueGauge = RTable%TorqueGaugeOutput ![ft.lbf]
  14. DrillingWatch%Torque = RTable%TorqueGaugeOutput
  15. Call Set_RotaryTorque(sngl(1-RTable%TorqueGaugeMalf)*real(RTable%TorqueGaugeOutput,8)) ![ft.lbf]
  16. !RT_RPMUnityOutput = sngl(RTable%Switch)*-1.d0*RotaryRPMGauge
  17. end subroutine RTable_Outputs