lwa-project / analog_signal_processor

Analog Signal Processor (ASP) Monitor and Control Software
GNU General Public License v2.0
0 stars 0 forks source link

revH_compat - SENSOR-DATA-1 timeout #12

Closed jaycedowell closed 7 months ago

jaycedowell commented 7 months ago
240412 04:20:32  60412  15632098 T    640961 1 ASP RPT SENSOR-DATA-1|
240412 04:20:32  60412  15632098 T    640961 2 ASP RPT SENSOR-DATA-1|
240412 04:20:47  60412  15647000 T    640961 8 ASP SHT Timed out at subsystem|
...
240412 04:30:32  60412  16232386 T    641027 1 ASP RPT SENSOR-DATA-1|
240412 04:30:32  60412  16232386 T    641027 2 ASP RPT SENSOR-DATA-1|
240412 04:30:47  60412  16247000 T    641027 8 ASP SHT Timed out at subsystem|
...
240412 04:40:32  60412  16832693 T    641087 1 ASP RPT SENSOR-DATA-1|
240412 04:40:32  60412  16832693 T    641087 2 ASP RPT SENSOR-DATA-1|
240412 04:40:47  60412  16847000 T    641087 8 ASP SHT Timed out at subsystem|
...
jaycedowell commented 7 months ago
2024-04-12 04:20:32 [DEBUG   ] Got command RPT from MCS with ref# 640961
2024-04-12 04:20:32 [ERROR   ] processCommand failed with: must be real number, not NoneType
...
2024-04-12 04:20:42 [ERROR   ] TemperatureSensors: monitorThread failed with: 'NoneType' object does not support item assignment at line 230
2024-04-12 04:20:42 [DEBUG   ]   File "/lwa/software/aspThreads.py", line 230, in monitorThread
2024-04-12 04:20:42 [DEBUG   ]     self.temp[i] = t
2024-04-12 04:20:42 [DEBUG   ] 
2024-04-12 04:20:42 [DEBUG   ] Finished updating temperatures in 6.361 seconds
jaycedowell commented 7 months ago

Ah:

2024-04-12 04:16:42 [ERROR   ] TemperatureSensors: monitorThread failed with: name 'spThreadsLogger' is not defined at line 277
2024-04-12 04:16:42 [DEBUG   ]   File "/lwa/software/aspThreads.py", line 277, in monitorThread
2024-04-12 04:16:42 [DEBUG   ]     spThreadsLogger.info('%s: monitorThread: temperature error condition cleared (DeltaH = %i; DeltaC = %i)', type(self).__name__, self.hotCount-initial_hot_count, self.coldCount-initial_cold_count)
2024-04-12 04:16:42 [DEBUG   ] 
2024-04-12 04:16:42 [DEBUG   ] Finished updating temperatures in 6.359 seconds