Can't connect with Radar using SalsaPy

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

  1. Beate

    Beate New Member

    Hi,

    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 'BasicDemo.py' to this:
    r = radarWrapper( chip_type = 'X2')
    r.Open('X2')

    When running 'BasicDemo.py' the program comes up with the following:
    Traceback (most recent call last):
    File "BasicDemo.py", line 63, in <module>
    r.Open('X2')
    File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\salsapy-1.44.5-py3.7.egg\SalsaPy\radarWrapper.py", line 254, in Open
    File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\salsapy-1.44.5-py3.7.egg\SalsaPy\radarWrapper.py", line 826, in __getDataFromSocket
    File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\salsapy-1.44.5-py3.7.egg\SalsaPy\radarWrapper.py", 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 RadarWrapper.py file doesn't even have any variable called updateConnector.

    Please let me know if you need any more info!

    Thanks in advance :)
    Beate
     
  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.