This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BOOSTXL-AOA: Save events button of RTLS monitor (2)

Part Number: BOOSTXL-AOA

Hello, 

I'm trying to save a log of RTLS monitor(AOA) in the form of csv by clicking "Save events" button. 

(See the following image) 

However, the Recorded Time of the saved csv file is 2-3 minutes early than Actual Time of clicking "Save events" button. 

Thus, I'm in trouble because I cannot get log data in exact timing. 

E.g.) I clicked "Save events" button at 13:54:30 and clicked "Clear event" button at 13:54:40. 

But I have gotten the saved csv file from 13:52:34 to 13:53:12. 

(See the following image)

Why is the offseted Time recorded in csv file?? 

----------------------------------------------------------------------------

RTLS monitor: ver. 0.9.3 (standalone)

SDK version: simplelink_cc2640r2_sdk_3_10_00_15

----------------------------------------------------------------------------

Please advise ASAP. 

Shoko

  • Hi Shoko,

    Seems odd. Assigned an expert to file an internal report for follow-up.

  • Hi Shoko,

    Either way, the time stamps that you are receiving are not the actual radio core time stamps of the samples taken, just the time stamps for when the GUI received the data.

    If you'd like to get a more accurate time stamp I would recommend editing the source code on the embedded side to include time stamp data.

    May I ask what your use of the time stamp is?

    Best Regards,
    Yuval

  • Hi Yuval, 

    It seems to me that you make an off target answer... 

    If you think about it logically, it is weird that there is as long as 2minites between Actual Time of clicking "Save events" button and Recorded Time of the saved csv file. 

    Please correct the RTLS monitor program.

    I measure an angle with connecting two BOOTSXL-AOA.

    Since I cannot follow two angle data with the eyes, I want to save two angle data in a csv file and I want to check them later. 

    Have you ever actually saved a log in csv file with "Save events" button of RTSL monitor? 

    If yes, you should find that the button is useless. 

    Regards, 

    Shoko

  • Hi Shoko,

    The GUI is an example implementation, in order to demonstrate capabilities and show how it could be done.

    I would recommend using the CLI and run the python example where you can tweek or change the time stamps to fit your requirements.

    With that said, thank you for the feedback, we will take your notes into consideration for future development.

    Best Regards,
    Yuval

  • Hi Yuval, 

    Thanks fot reply. I understand that the GUI is just an example. 

    I want to revise the program of the python example that you say. 

    Please let me know which files in "simplelink_cc2640r2_sdk_3_10_00_15" folder should I revise. 

    Or 

    I want to revise the Javascript file in "guicomposer" folder that I installed. 

    Please let me know which files should I revise. 

      

    Please advise. Thank you. 

    Shoko 

  • Hi Shoko,

    Take a look at the SimpleLink Academy in regards to running the rtls_agent from source:

    dev.ti.com/.../rtls_intro.html

    There, I would start by taking a look at rtls_example.py, and taking it from there.

    Best Regards,
    Yuval

  • Hello Yuval, 

    I know the SimpleLink Academy and I have already run the rtls_agent. 

    But it is not described "how to get timestamp" on the page. 

    Please let me know how to get timestamp "if you know". 

    Shoko

  • Hi Shoko,

    Any general python code to get a time stamp will do it. For example:

    import datetime;
    ts = datetime.datetime.now().timestamp()
    print(ts)

    You can add it under:

    identifier, msg_pri, msg = subscriber.pend(block=True, timeout=0.05).as_tuple()

    Hope this helps,
    Yuval