LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Binary MLS.vi

Hello,

I need to know what is the purpose of the seed input terminal of Binary MLS.vi in Labview Software. Is the seed provide the chip rate ?

Best Regards

0 Kudos
Message 1 of 7
(3,577 Views)

The Binary MLS function has nothing to do with some sort of 'chip rate' so I don't understand your question. The help explains the purpose of the seed input.

0 Kudos
Message 2 of 7
(3,560 Views)

Thanks for your reply, I read the help but unfortunately didn't get my answer.

How can I find out the chip rate, time duration of each bit and the length of the PN (ML) sequence generated by Binary MLS.vi?

0 Kudos
Message 3 of 7
(3,552 Views)

Your chip rate and time duration are NOT set by Binary MLS. It is obviously just an array of ones and zeroes. The length is set by the number of samples. Whatever you mean by chip rate and time duration are set by whatever hardware you are using and I have no idea what this is since you have not provided any information on what you are passing the sequence to. There is a function called MLS Waveform that you can use to set sampling info. I suspect this is what you want to use if you are connecting to some hardware and need to set this.

0 Kudos
Message 4 of 7
(3,545 Views)

Kindly accept my apologies for incomplete question/information.

Actually I am working on channel sounding in order to measure the channel impulse response and for that I need to transmit ML sequence (because of its autocorrelation property) via IQ mod of Agilent N5182A Signal Generator. Using Matlab code I downloaded a stream of IQ data to N5182A Signal Generator (where I data is the bit stream that I got from Binary MLS.vi and Q data is all zeros). 

But in order to set some parameter of channel sounder, I need to know about the chip rate of ML sequence and time duration of each chip. Secondly when the seed of the Binary MLS is -1 (default) it generates different bit stream on each execution but if I set the seed value greater than 0, it generate a specific bit stream for a specific seed value and on each execution it remain same (for example I set the seed value to 600M and it gives me a same bit stream every time I execute the code). Waiting for your kind remarks...

Kind Regards 

 

0 Kudos
Message 5 of 7
(3,537 Views)

I still have no idea what you mean by chip rate. You pass an array of ones and zeroes to the signal generator and however fast that is programmed to output each bit is something you would set.

 

Yes, when you have initialize set to true, you will get the same sequence for the same seed. If you call it multiple times, you would only want to set the initialize to be true for the first iteration.

0 Kudos
Message 6 of 7
(3,534 Views)

You are right, I used the MLS Waveform.vi and from ther i find out the time duration of each bit as wella s the sampling rate and I think the sampling rate is the chip rate; that how many chips or samples per second. 

Many thanks for your kind replies...

0 Kudos
Message 7 of 7
(3,524 Views)