Re: [Discuss-gnuradio] message_source repeatly transmit msg 10times

2011-03-07 Thread Yan Nie
I also tried the struct.pack('!H',pktno & 0x) + data to pack the data as pkt_send does. This approach gives the error on gr_chunks_to_symbols_bf ((unsigned int)in[i]*d_D+d_D)<=d_symbol_table.size() failed, where the symbol table size in my case is 2. I dug into the pkt.py and packet_utils.py

Re: [Discuss-gnuradio] message_source repeatly transmit msg 10times

2011-03-06 Thread Yan Nie
I also tried msgq.flush() to delete all of the data in the queue as soon the data is inserted to the message queue. This approach allows the data repeatly transmitted in various times, ranging from once to 10 times.   I explored some of the gnuradio examples which use send_pkt to transmit data.

[Discuss-gnuradio] message_source repeatly transmit msg 10times

2011-03-06 Thread Yan Nie
Dear all, I'm using message_source generate data source then modulated and transmitting through USRP1 board with LFTX plugged-in. After building the flow graph, I used the msgq_insert to insert 1950 bytes data into the flow graph to be transmitted, then insert another group of data which is 975