Hi Mik,
I am polling data from RS to MQTT bus using pythonnet (python code call .net api). For now, most part works correctly. But with the Srez objects, I need to retrive their creation time. I am not sure how to do that. With below code, the DataTime property is always 1/1/0001 12:00:00 AM
(DateTime.MinValue?). Do the data slices sent over tcp has any timestamp ? Could you show me what is the correct way to retive them (e.g. in .net) ? Thanks.
def recv_cur_data(self, cnl_ids: list) -> DataSliceClass:
srez = SrezTableLight.Srez(DateTime.MinValue, cnl_ids)
if self.srv.ReceiveCurData(srez):
slice = DataSliceClass(srez)
return slice
-
This topic was modified 2 years, 8 months ago by zzz.