Hi Philip and Per, On Jul 19, 2010, at 5:57 PM, Philip Balister wrote: The C++ examples in that folder wasn't helpful, since a. it isn't readily apparent how to take that information and use it to make a GRC UHD Simple Source block work I tried this GRC block, but I get an error, running under Fedora 12 x86 64-bit: Executing: "/home/elvis/Desktop/grc-examples/top_block.py" Current recv sock buff size: 50000000 bytes Current send sock buff size: 50000000 bytes Using: WBX TX (0x0053) Using: WBX RX (0x0052) RX samples per packet: 362 TX samples per packet: 363 Recv pirate num frames: 33967 The hardware does not support the requested sample rate: Target sample rate: 0.032000 MSps Actual sample rate: 0.195312 MSps terminate called after throwing an instance of 'std::invalid_argument' what(): key not found in dict b. running the benchmark_rx_rate doesn't seem to work $ uhd_find_devices -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- type: usrp2 addr: 192.168.10.2 $ ./benchmark_rx_rate Creating the usrp device with: ... Current recv sock buff size: 50000000 bytes Current send sock buff size: 50000000 bytes Using: WBX TX (0x0053) Using: WBX RX (0x0052) RX samples per packet: 362 TX samples per packet: 363 Recv pirate num frames: 33967 Using Device: Simple USRP: Device: usrp2 device Mboard: usrp2 mboard0 - rev 4:0 RX DSP: usrp2 ddc0 RX Dboard: usrp2 dboard (rx unit) RX Subdev: WBX TX (0x0053) TX DSP: usrp2 duc0 TX Dboard: usrp2 dboard (tx unit) TX Subdev: WBX RX (0x0052) Testing receive rate 0.500000 Msps (10.000000 second run) Unexpected error on recv, exit test... Testing receive rate 1.000000 Msps (10.000000 second run) Unexpected error on recv, exit test... Testing receive rate 2.000000 Msps (10.000000 second run) Unexpected error on recv, exit test... Testing receive rate 4.000000 Msps (10.000000 second run) Unexpected error on recv, exit test... Testing receive rate 8.333333 Msps (10.000000 second run) Unexpected error on recv, exit test... Testing receive rate 16.666667 Msps (10.000000 second run) Unexpected error on recv, exit test... Testing receive rate 25.000000 Msps (10.000000 second run) Unexpected error on recv, exit test... Done! Best regards, Elvis Dowson |
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio