You can't connect the file source directly to the Modulator. If you are Using DBPSK, the modulator will be looking for 1 bit at a time, or in this case a byte with only 1 significant bit.
Use File Source > packed to unpacked [1 bit per chunk] MSB first > DBPSK Modulator Marcin David Barton-4 wrote: > > Hi, > > I am having trouble the the DBPSK mod and demod blocks. My flow graph is: > file source -> DBPSKmod -> DBPSKdemod -> file sink > > The file source is a 2 byte text file set to not repeat > The default parameters were used for the DBPSKmod and demod blocks > (including 2 Samples/Symbol) > When I run the graph the output text file becomes 13 bytes long and they > are almost all zeros. I am not sure how it gets to be that length. > > I tried connecting the ouput of the DBPSKmod directly to the file sink and > the file size was 256 bytes. This matched my expectations based on: > 2bytes input file * 8bits/byte * 1Symbol/bit * 2 complex > samples/Symbol* 8bytes /complex sample = 256 byte output file. > > If anyone knows why the output file of the whole graph would be 13 bytes > or if I am missing something please let me know. > > Thanks, > Dave > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://old.nabble.com/DPSK-Modulator-and-Demodulator-tp28319509p28323241.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio