Download Benthic and Resistivity Sensors (BARS) User Manual

Transcript
GOTO SetPwrCntrl
ENDIF
' Toggle Instrumentation Amp Power
IFF InstrAmpPwrStatus = 1
InstrAmpPwrStatus = 0
PwrWord = PwrWord - 2
VSTORE 3, PwrWord
VSTORE 5, InstrAmpPwrStatus
RETURN
ENDIF
IFF InstrAmpPwrStatus = 0
InstrAmpPwrStatus = 1
PwrWord = PwrWord + 2
ENDIF
VSTORE 3, PwrWord
VSTORE 5, InstrAmpPwrStatus
RETURN
ToggleIsoAmpPwr:
IFF IsoPwrStatus < 0 | IsoPwrStatus > 1
GOSUB ClearScreen
PRINT " There has been a Error in the Power Control Word"
PRINT " Reset all Parameters back to Default Values using Main Menu
Option 2"
INPUT "Press ENTER to Continue. " A
GOTO SetPwrCntrl
ENDIF
' Toggle eH Isolation Amp Power
IFF IsoPwrStatus = 1
IsoPwrStatus = 0
PwrWord = PwrWord - 4
VSTORE 3, PwrWord
VSTORE 6, IsoPwrStatus
RETURN
ENDIF
IFF IsoPwrStatus = 0
IsoPwrStatus = 1
PwrWord = PwrWord + 4
ENDIF
VSTORE 3, PwrWord
VSTORE 6, IsoPwrStatus
RETURN
ToggleH2Pwr:
IFF H2PwrStatus < 0 | H2PwrStatus > 1
GOSUB ClearScreen
PRINT " There has been a Error in the Power Control Word"
PRINT " Reset all Parameters back to Default Values using Main Menu
Option 2"
INPUT "Press ENTER to Continue. " A
GOTO SetPwrCntrl
ENDIF
' Toggle Hydrogen Sensor Power
IFF H2PwrStatus = 1
H2PwrStatus = 0
PwrWord = PwrWord - 16
VSTORE 3, PwrWord
VSTORE 7, H2PwrStatus
RETURN
36