C++ Logging API in pymetawear
Hey Folks (Eric, most likely)
I am trying to log data for 10 seconds in python
https://pastebin.com/9hXgwfnj
This is my output
> python log MY:MAC:ADDRESS
139977681830112
Start Sleep!
Logging started! 33419136
Done with Sleep!
0 entries left
Done!
Done with Script!
Seems like nothing comes out of the log signal. I am not certain where to put mbl_mw_logging_start; what does it do exactly? I have been assuming it either enables you to start routing datasignals to log signals or that it reads all of the datasignals you have sub'd to log signals and then actually starts the logging.
I have been resetting regularly with:
address = sys.argv[1]
c = MetaWearClient(str(address), 'pygatt', debug=True, timeout=15)
libmetawear.mbl_mw_logging_clear_entries(c.board)
c.soft_reset()
c.disconnect()
I'm using Ubuntu 16.04
I am trying to log data for 10 seconds in python
https://pastebin.com/9hXgwfnj
This is my output
> python log MY:MAC:ADDRESS
139977681830112
Start Sleep!
Logging started! 33419136
Done with Sleep!
0 entries left
Done!
Done with Script!
Seems like nothing comes out of the log signal. I am not certain where to put mbl_mw_logging_start; what does it do exactly? I have been assuming it either enables you to start routing datasignals to log signals or that it reads all of the datasignals you have sub'd to log signals and then actually starts the logging.
I have been resetting regularly with:
address = sys.argv[1]
c = MetaWearClient(str(address), 'pygatt', debug=True, timeout=15)
libmetawear.mbl_mw_logging_clear_entries(c.board)
c.soft_reset()
c.disconnect()
I'm using Ubuntu 16.04
This discussion has been closed.
Comments
Fixed it. A little embarrassed over here but thank you.