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.

AWRL6432BOOST: Process for rerunning without reset or sending new config

Part Number: AWRL6432BOOST

Tool/software:

Hi, 

I tried out the Motion and Presence demo directly from the Python script and wondering what the process is when running a Python script (which sets up the connection and sends a config file to the board to start) mutliple times after each other after stopping it? I have noticed that if I'm not manually pushing the reset button on the device the sending of the config will be very slow and eventually not work. The config will be the same all the time.

What is the proper process here? Is there a way to rerun a Python script without manually reset the board? Is there a way to send the config ones and after that just start it?

Thank you!

  • Hi Lovisa,
    I have looped in our SW expert. Please allow us a day or so to provide the respond.

    Thanks and Regards,
    Sivaprasad

  • Hi,

    Are you using the Python visualizer from the radar toolbox? Could you post which version you're using?

    Thanks,

    Clinton

  • Hi,

    yes, we use the python visualizer from Radar Toolbox 2.20.00.05.

  • Hi,

    If you're closing down the python visualizer and then opening it again, you could try to 'connect' then 'start without send configuration' button. It would be recommended to reset the board, if for some reason this does not work. If there is a specific use case you are trying to implement where this is preventing progress, please describe it and we will see how we can help.

    Thanks,

    Clinton

  • Thanks for your answers so far!

    I used the code for the python visualizer and reduced it to the parts which includes connecting the com-port, sending the config file and then decode the received data according to TLV packages, so in the current version there is no GUI. We want to be able to run the demo multiple times without the need of pressing the reset button.

    I also tried to run the industrial visualizer again without resetting the board in between. I tried both with Start without Send Configuration, here nothing happens. With the option of selecting a config and then press Start and Send Configuration the whole visualizer crashes. I also tried to use the Reset Connection button, but the problems are the same.

    The question is still open and the problem seems to be the same, regardless if using the GUI or the minimalized code. Is there a proper way of rerunning the demo on the board without reseting it?

  • Hi,

    Are you using the sensorStop Command to stop the sensor? If so, you will need to make sure lowPowerCfg is 0 and then send the configuration again.

    Thanks,

    Clinton

  • Hi, Thanks ffor the feedback. I am working with Lovisa and would like to carry on from here. Im doing the following steps to test the sensor stop command.

    1. I run the industrial visualizer with a presence detection config, (Selecting configurations and hitting the Start and send configuration button in the UI)

    2.  The results are seen in the 3D plot in the visualizer, and the console gives valid outputs

    3. Im setting the sensorStop command to 1 and lowPowerCfg to 0 and without any other config parameters in a separate config file,. I load this new config file and press the start and send configuraiton in the UI.  Here are the details of the configuration used for sending the stop command as a separate cfg. 


    lowPowerCfg 0
    sensorStop 1

    Note: I just use the above two lines in the stop configuration file and no other commands.

    4. After I send the stop configuration, The visualizer application stops as expected and  I get the following error message in the console:

    5. Now,  I send a normal configuration for for presence detection, I get the same error in the console and the visualizer application hangs.

    6. It takes a while before the Industrial visualizer application runs again with presence detection, but the console is still displaying the error message.

    Is this expected behaviour?, that the application hangs for sometime and runs in the visualizer but the console still giving the error message?

    Kindly provide your feedback. 

  • Hi,

    Thanks for the additional details. Please give us a day or so to follow up.

    Thanks again,

    Clinton