Gr.multiply and file write

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs