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-PGA460: Need more digits on PGA460 GUI

Part Number: BOOSTXL-PGA460
Other Parts Discussed in Thread: PGA460, USB2ANY

Hello,

I need to perform deeper tests with the PGA460. For that purpose, I would need :

1) to program the device

2)  to display the echo dump visually

3) to have a sub-milimetric display of the distance that I could log in a file

For 1) and 2), the GUI is really perfect. My only issue is for 3) : currently, the GUI displays meters in the form x.xxx m. I would need one more digit for my tests. I can trigger the Burst/Listen command and then read the Measurements Results from the Interface tab, but I cannot do it in loop nor save the results in a file.

I could basically also write a small script by myself which would perform 3), but as the USB2ANY protocol is closed, I don't know what bytes to send.

Could you help me on the topic ?

Thanks,

Sam

  • Hi Sam,
    The PGA460 EVM GUI offers a built-in scripting tool to automate custom processes similar to what you have described. The scripting tool is found in the GUI's menu bar as File --> Scripting --> (Open new window). The tool gives you text-string control of all the GUI controls/functions.

    However, I have recently updated the GUI to include the following features to help with your testing:
    • Data Monitor --> Graph --> Distance Decimal Places: This allows the user to select the number of decimal places that are to appear on the tabulated result of the Ultrasonic Measurement Result's Distance.
    • Data Monitor --> Export --> Log UMR (update): The datalogged Ultrasonic Measurement Result now also includes the raw MSB-LSB time-of-flight data in hex format. This will enable you to perform/check your own TOF-to-Distance conversion. Here is an example of the now data-logged output for a single object:
    Ultrasonic Measurement Results: (2017-11-08_151448)
    O1 Dist(m): 0.309
    O1 TOF: 0771
    O1 Width(us): 888
    O1 Amp: 255

    This updated version of the PGA460 GUI (v1.0.1.0) will be uploaded to the web by Friday.