LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how does the decoder retrieve the quantized samples in this loop?

please check the block diagram loop. Smiley Happy

0 Kudos
Message 1 of 4
(2,510 Views)

Hi Mahady,

 

Thank you for your post to our forum.

 

Does the encoder/decoder type you are asking about have a name? What exactly is the contents of the q[k] array? Some kind of key perhaps?

 

Kind regards

Jack. W
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,472 Views)
I'm not sure about name, I've posted similar question with encoding function. I just need step by step process of the block diagram. Q[k] I believe is quantised samples. Encoding is trying to map the discrete set of sample at the output of quantiser, and decoder is doing the inverse operation to map back the encoded bits into quantized bits. Hope this helps
0 Kudos
Message 3 of 4
(2,464 Views)

Hi Mahady,

 

Looking at the encoder VI you posted I can see that there is a separate input called quantized samples. I am pretty sure the q[k] is an array of possible values that the input to the encoder may hold after being quantized. For each value in to the program that array is searched and the encoded value corresponds to the index position in the array. The output encoded array is optimized to take up as little memory as possible. The information is then sent as a digital waveform and as you say the decoder is the inverse of the encoder.

 

I have worked all this out by using the Context Help tool in LabVIEW and Highlight Execution. Both can really help to understand a VI that is not your own.

 

Can I ask where you got this VI from?

Jack. W
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,430 Views)