Valveblks2_valvefrom grc_gnuradio import blks2 as grc_blks2grc_blks2.valve(item_size=$type.size*$vlen, open=bool($open))set_open(bool($open))TypetypeenumOpenopen0rawVec Lengthvlen1int$vlen > 0in$type$vlen$num_inputs
Connect output to input when valve is closed (not open).