From f14a20ac68c7f99c16193fc530b2f53a196c3a6f Mon Sep 17 00:00:00 2001
From: Bernardo Carvalho RPump1-Pressure: ' + str(RPump1press) + ' mBar RPump2-Pressure: ' + str(RPump2press) + ' mBar TMPump1-PressureAdmission: ' + str(TMPump1press) + ' mBar VVessel-Pressure: ' + str(VVesselpress) + ' mBar OPSTATE: ' + str(opState) + ' PULSE-NUMBER: ' + str(pulseNum) + ' Rpi CurrentTime: ' + str(rpiCurrentTime) + ' RPump1-Pressure: ' + str(RPump1press) + ' mBar RPump1-Pressure: ' + RPump1press + ' mBar RPump2-Pressure: ' + str(RPump2press) + ' mBar TMPump1-PressureAdmission: ' + TMPump1press + ' mBar VVessel-Pressure: ' + VVesselpress + ' mBar OPSTATE: ' + opState + ', UPS-OnBattery: '+ OnBattery+ ' Note: you can try to login to rpi-isttok machine and do: '
+ html += ' ISTTOK Present Condition
\n'
- html += ' ISTTOK Present Condition
\n'
+# html += 'caput ISTTOK:central:OPREQ START
PULSE-NUMBER: ' + pulseNum + '
' + html += 'Rpi CurrentTime: ' + rpiCurrentTime + '
' + html += '' + RPump1Info + '' html += '\n' \ '\n' - response_header = [('Content-type','text/html')] + response_header = [('Content-type','text/html'), + ('Content-Length', str(len(html)))] start_response(status,response_header) - html = bytes(html, encoding= 'utf-8') - return [html] + return [html.encode('UTF-8')] +# html = bytes(html, encoding= 'utf-8') +# return [html] diff --git a/epics/iocs/ISTTOKrpi/ISTTOKrpiApp/Db/sendmail.proto b/epics/iocs/ISTTOKrpi/ISTTOKrpiApp/Db/sendmail.proto index 3a7fe99..f4a0d63 100644 --- a/epics/iocs/ISTTOKrpi/ISTTOKrpiApp/Db/sendmail.proto +++ b/epics/iocs/ISTTOKrpi/ISTTOKrpiApp/Db/sendmail.proto @@ -40,7 +40,7 @@ mail_end { send { mail_start; out "Problem is: %s\n"; - out "Please check: http://epics.ipfn.ist.utl.pt/isttok"; + out "Please check: http://epics.ipfn.tecnico.ulisboa.pt/isttok"; mail_end; } diff --git a/epics/iocs/ISTTOKrpi/iocBoot/iocISTTOKrpi/save/iocISTTOKrpi.sav b/epics/iocs/ISTTOKrpi/iocBoot/iocISTTOKrpi/save/iocISTTOKrpi.sav index a77c315..7768bb5 100644 --- a/epics/iocs/ISTTOKrpi/iocBoot/iocISTTOKrpi/save/iocISTTOKrpi.sav +++ b/epics/iocs/ISTTOKrpi/iocBoot/iocISTTOKrpi/save/iocISTTOKrpi.sav @@ -1,4 +1,4 @@ -# autosave R5.3 Automatically generated - DO NOT MODIFY - 211215-162845 +# autosave R5.3 Automatically generated - DO NOT MODIFY - 211215-181848 ISTTOK:central:PULSE-NUMBER.VAL 49461 ISTTOK:central:LogMessage.VAL ISTTOK:central:LASTOPSTATE.VAL 2