Skip to main content
Graduate
May 9, 2022
Question

Run HS Datalog from Raspberry Pi 3B to Collect Data from STEVAL-STWINKT1B

  • May 9, 2022
  • 1 reply
  • 811 views

As per the Release Notes (v2.4.0 / 5-Nov-2021) for HS DataLog CLI example, I could see executable and libs are present under directory Utilities/cli_example for Raspberry Pi 3B. I have also exported and set the shared library path using command.

export LD_LIBRARY_PATH=<Utilities/cli_example/bin>

But when I execute below command

./bin/cli_example_rpi3b -f ../STWIN_config_examples/DeviceConfig.json -t 100

I am getting following error error.

./cli_example_rpi3b: error while loading shared libraries: libhs_datalog.so: wrong ELF class: ELFCLASS64

Could you please advise whether I am doing anything wrong?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    July 22, 2022

    Hi @digidhamu​,

    To overcome any kind of configuration issues, we will provide a configuration script for linux and raspberry in the FP-SNS-DATALOG1 v1.4.0.

    This new version will be available by the end of July/first days of August.

    You will just lunch the raspberry_setup/setup_rpi3b.sh script, and then everything should work properly.

    I suggest you to update the CLI once available.

    In your use case, you are loading the entire /bin folder, that contains both Linux and Raspberry .so version.

    The Linux one (libhs_datalog.so) can't work on Raspberry and maybe that's the reason for the error.

    Move libhs_datalog.so into another folder and launch newly the script.

    Do you still have the same error?

    Best regards