Revision 7954c7db gr-uhd/include/gr_uhd_usrp_source.h
| b/gr-uhd/include/gr_uhd_usrp_source.h | ||
|---|---|---|
| 1 | 1 |
/* |
| 2 |
* Copyright 2010-2011 Free Software Foundation, Inc.
|
|
| 2 |
* Copyright 2010-2012 Free Software Foundation, Inc.
|
|
| 3 | 3 |
* |
| 4 | 4 |
* This file is part of GNU Radio |
| 5 | 5 |
* |
| ... | ... | |
| 460 | 460 |
* Convenience function for finite data acquisition. |
| 461 | 461 |
* This is not to be used with the scheduler; rather, |
| 462 | 462 |
* one can request samples from the USRP in python. |
| 463 |
* //TODO multi-channel |
|
| 464 | 463 |
* //TODO assumes fc32 |
| 464 |
* \param nsamps the number of samples |
|
| 465 |
* \return a vector of complex float samples |
|
| 465 | 466 |
*/ |
| 466 | 467 |
virtual std::vector<std::complex<float> > finite_acquisition(const size_t nsamps) = 0; |
| 468 |
|
|
| 469 |
/*! |
|
| 470 |
* Convenience function for finite data acquisition. |
|
| 471 |
* This is the multi-channel version of finite_acquisition; |
|
| 472 |
* This is not to be used with the scheduler; rather, |
|
| 473 |
* one can request samples from the USRP in python. |
|
| 474 |
* //TODO assumes fc32 |
|
| 475 |
* \param nsamps the number of samples per channel |
|
| 476 |
* \return a vector of buffers, where each buffer represents a channel |
|
| 477 |
*/ |
|
| 478 |
virtual std::vector<std::vector<std::complex<float> > > finite_acquisition_v(const size_t nsamps) = 0; |
|
| 467 | 479 |
}; |
| 468 | 480 |
|
| 469 | 481 |
#endif /* INCLUDED_GR_UHD_USRP_SOURCE_H */ |
Also available in: Unified diff