I've been toying with this redpitaya for hours now trying to get the simple blink LED to work and cant figure this out, I've checked multiple forum posts and its not getting me anywhere. This should be the simplest thing...
I've downloaded the examples and am trying to get blinkLED to work in python.
http://redpitaya.com/examples-new/blink/
I've ssh'd into my redpitaya, go to the python examples folder with the 'digital_led_blink.py' and run the command:
Code: Select all
systemctl start redpitaya_scpi &
Code: Select all
./digital_led_blink.py 127.0.0.1
Code: Select all
SCPI >> connect(127.0.0.1:5000) failed: [Errno 111] Connection refused
Blinking LED[0]
Traceback (most recent call last):
File "./digital_led_blink.py", line 20, in <module>
rp_s.tx_txt('DIG:PIN LED' + str(led) + ',' + str(1))
File "/root/dev/RedPitaya/Examples/python/redpitaya_scpi.py", line 66, in tx_txt
return self._socket.send(msg + self.delimiter)
socket.error: [Errno 32] Broken pipe