Ill just explain a little different, it may prompt somebody to say hey this is easy just do this... ( I wish)
I have a variable called Data2, within this variable is S+S+S+L Variable S is 1000 Variable L is 100 Data2 is feed into a vector source, this source looks like Data1+Data2 (repeat=yes) Data1 is static data. I would like to cycle through all possible combinations of the variable Data2 on each repeat cycle of the vector source. S+S+S+S S+S+S+L S+S+L+L S+L+L+L L+L+L+L L+S+S+S L+S+S+L Etc.. Etc.. -----Original Message----- From: discuss-gnuradio-bounces+vsboost=hotmail....@gnu.org [mailto:discuss-gnuradio-bounces+vsboost=hotmail....@gnu.org] On Behalf Of Tom Sent: Sunday, 15 March 2015 2:10 PM To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] Vector Source variable from file Thanks Mike, I created python code to open the file which has the random data in in it however unfortunately the vector source complains "can only concatenate list (not module) to list, not quite sure what I'm doing wrong. Will keep at it lol -----Original Message----- From: discuss-gnuradio-bounces+vsboost=hotmail....@gnu.org [mailto:discuss-gnuradio-bounces+vsboost=hotmail....@gnu.org] On Behalf Of Mike Markowski Sent: Sunday, 15 March 2015 11:55 AM To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] Vector Source variable from file Tom, I'm new to gnuradio, so let's see if any replies offer better advice. But I did something similar to what you ask. In my case, the value of the variable is a call to my python code. You can see what I did in the top two examples at http://udel.edu/~mm/gr/ Both grc file and my code are there. You can write something that pulls the numbers from your file. Good luck, Mike On 03/14/2015 07:36 PM, Tom wrote: > Hi all, > > I have a vector source that repeats and points to two variables A + B > , within variable A is 1100 is it possible to have variable B point to > a file that contains a whole bunch of binary combinations separated > line by line. > > Ideally I would like to run a flow graph and upon every repeat cycle > to go down the list of possible combinations within the file for > variable B. > > Cheers _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio