Float To Short gr_float_to_short from gnuradio import gr gr.float_to_short($vlen, $scale) set_scale($scale) Vec Length vlen 1 int Scale scale 1 real in float $vlen out short $vlen