Commit 252803d0 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix PeekPoke module to align to new DMT

parent b832dcdc
...@@ -115,7 +115,7 @@ class Poll_taste_probe_console(threading.Thread): ...@@ -115,7 +115,7 @@ class Poll_taste_probe_console(threading.Thread):
def ProcessTM(self): def ProcessTM(self):
'''Parses the incoming Telemetry (Update_monitorings)''' '''Parses the incoming Telemetry (Update_monitorings)'''
# For now, there's only one type of monitoring TM # For now, there's only one type of monitoring TM
if self.messageReceivedType != PA.i_update_monitorings: if self.messageReceivedType != PythonController.i_update_monitorings:
return return
# Are we recording? # Are we recording?
...@@ -142,7 +142,7 @@ class Poll_taste_probe_console(threading.Thread): ...@@ -142,7 +142,7 @@ class Poll_taste_probe_console(threading.Thread):
# Actual TM handling: # Actual TM handling:
var_monitorings = dataview_uniq_asn.TASTE_Monitoring_list() var_monitorings = dataview_uniq_asn.TASTE_Monitoring_list()
DV.SetDataFor_TASTE_Monitoring_list(var_monitorings._ptr, self._pMem) var_monitorings.SetData(self._pMem)
# for each one of the entries in the list # for each one of the entries in the list
for i in xrange(0, var_monitorings.GetLength()): for i in xrange(0, var_monitorings.GetLength()):
monitoring = var_monitorings[i] monitoring = var_monitorings[i]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment