summaryrefslogtreecommitdiff
path: root/gr-uhd/include/gr_uhd_usrp_source.h
diff options
context:
space:
mode:
authorJohnathan Corgan2011-12-13 13:10:01 -0800
committerJohnathan Corgan2011-12-13 13:10:01 -0800
commitd29daf9d63b2fbcf141d2a7429a76c2bb1a28729 (patch)
tree88cc70550554c1d652c6c020e8baa37cc422a26d /gr-uhd/include/gr_uhd_usrp_source.h
parent080f2d212daac9297c7f3e3dbe7bd5a13b176c0d (diff)
parente1ad418028e103283775780663d078415590be31 (diff)
downloadgnuradio-d29daf9d63b2fbcf141d2a7429a76c2bb1a28729.tar.gz
gnuradio-d29daf9d63b2fbcf141d2a7429a76c2bb1a28729.tar.bz2
gnuradio-d29daf9d63b2fbcf141d2a7429a76c2bb1a28729.zip
Merge branch 'master' into next
Diffstat (limited to 'gr-uhd/include/gr_uhd_usrp_source.h')
-rw-r--r--gr-uhd/include/gr_uhd_usrp_source.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gr-uhd/include/gr_uhd_usrp_source.h b/gr-uhd/include/gr_uhd_usrp_source.h
index e9fc41b93..8a799b397 100644
--- a/gr-uhd/include/gr_uhd_usrp_source.h
+++ b/gr-uhd/include/gr_uhd_usrp_source.h
@@ -455,6 +455,15 @@ public:
* \return the multi usrp device object
*/
virtual uhd::usrp::multi_usrp::sptr get_device(void) = 0;
+
+ /*!
+ * Convenience function for finite data acquisition.
+ * This is not to be used with the scheduler; rather,
+ * one can request samples from the USRP in python.
+ * //TODO multi-channel
+ * //TODO assumes fc32
+ */
+ virtual std::vector<std::complex<float> > finite_acquisition(const size_t nsamps) = 0;
};
#endif /* INCLUDED_GR_UHD_USRP_SOURCE_H */