discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] gr.multiply and file write


From: Narayanan, Sivaramasubramanian (R&T)
Subject: [Discuss-gnuradio] gr.multiply and file write
Date: Thu, 24 Jul 2008 12:12:43 +0530

Hi,

 

            I am reading two data streams from two files using the command

 

        Src1 = gr.file_source(gr.sizeof_short, "file1.dat")

        Src2 = gr.file_source(gr.sizeof_short, "file2.dat")

 

            I want to multiply the two data streams using

 

        multiply = gr.multiply_vss()

 

      I hope this is an element by element multiplication. I also would like to know how the function gr.multiply_ss()

      would work, may be with an example.

 

      I need to write the result to a file using the function

 

        dst = gr.file_sink(gr.sizeof_short, "result.dat")

 

      here if I use gr.sizeof_short, I am not able to read the contents of the file. It shows some symbols. I would like to have the output in a readable format.

 

      I request you to clarify me the multiplication process and also file writing format.

 

Thanks and Regards,

N Sivaram

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]