Can't connect with Radar using SalsaPy

Discussion in 'Chips+Salsa' started by Beate, Mar 6, 2019.

  1. Beate

    Beate New Member


    I'm trying to run SalsaPy with the Ancho X2 radar.

    The demos coming with SalsaPy only seem to include the X4 chip and I couldn't find any other demo files to test it.

    I changed the first two lines in main in '' to this:
    r = radarWrapper( chip_type = 'X2')

    When running '' the program comes up with the following:
    Traceback (most recent call last):
    File "", line 63, in <module>
    File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\salsapy-1.44.5-py3.7.egg\SalsaPy\", line 254, in Open
    File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\salsapy-1.44.5-py3.7.egg\SalsaPy\", line 826, in __getDataFromSocket
    File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\salsapy-1.44.5-py3.7.egg\SalsaPy\", line 793, in _TestErr
    SalsaPy.radarWrapper.SalsaError: ERROR 0x10c: Interface name unknown

    I can't really make any sense from it... I am wondering if it has anything to do with the Troubleshooting mentioned in the SalsaPy User Guide but the file doesn't even have any variable called updateConnector.

    Please let me know if you need any more info!

    Thanks in advance :)
  2. Charlie Shao

    Charlie Shao Moderator Staff Member

    Hi Beate,

    I saw SalsaPy developed with Python 2.7, you need to run it under Python 2.7 environment.