AnsweredAssumed Answered

Value of nElementWidth for adi_pvp_OpenStream

Question asked by DestinyR on Jan 16, 2014
Latest reply on Feb 11, 2014 by gprasad

Hi,

 

In help, the nElementWidth is described as "Width of each element in bytes. Element should be equal to 4 in case of status stream and should be equal to the output size configured in the OPF module for other streams".

 

But in "UDS Downscaler Example" for input stream the value of nElementWidth is equal 2:

eResult = adi_pvp_OpenStream(
                            ghMemoryPipe,
                            ADI_PVP_STREAM_MEMORY,
                            ADI_PVP_STREAM_DIR_IN,
                            StreamInMem,
                            ADI_PVP_STREAM_MEM_SIZE,
                            2,
                            &ghStreamInHandle);

 

Although, the OPF3 Output Data Size is equal to 32-bits.

 

Can somebody explain: is it mistake in help or in example? Or it is a hidden aspect?

Outcomes