[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] re ad_gpio() help
From: |
sibar002 |
Subject: |
[Discuss-gnuradio] re ad_gpio() help |
Date: |
Wed, 29 Aug 2012 10:46:41 -0700 (PDT) |
Hello,
I am working on a program that continuously reads pins io_rx[0-15] on the
basic_rx board (I am using USRP N210). I am able to read the pins using the
read_gpio() function, but after a couple seconds I get the following error.
RuntimeError: RuntimeError: fifo ctrl timed out looking for acks
My program looks like this:
#!/usr/bin/env python
from gnuradio import uhd # addded uhd
import struct
import sys
#
/////////////////////////////////////////////////////////////////////////////
# main
#
/////////////////////////////////////////////////////////////////////////////
def main():
global flag, p, v
flag = True
v = uhd.usrp_source(' ' , uhd.stream_args('fc32'))
while flag:
p = v.get_dboard_iface().read_gpio(114)
print(p)
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
pass
I would greatly appreciate any advise that anyone can give me. Thank you for
your time and help.
Sam
--
View this message in context:
http://old.nabble.com/read_gpio%28%29-help-tp34348253p34348253.html
Sent from the GnuRadio mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] re ad_gpio() help,
sibar002 <=