Hello!
I was trying to implement a 2x1 STBC communication system using 3 USRP 2920. I am facing a problem where passing a 1-D vector to the (USRP write TX VI) apparently gives an error. I understand that the i have initialized two active channels so it would expect a 2-D matrix to be inputted but since i am only selecting one of the channels, should not the input be a 1-D vector?
Also, can anyone please suggest a solution whereby at any one time, i am transmitting from only one antenna while the other is quiet. Then in another time, i send from the other while the first one is now quiet. I am implementing this using a stop/wait function but i think there should be a much more graceful solution.
I have attached a picture of the part of the code at the bottom.


Thanks in advance.