alzomor
Advanced Member level 2
Hi
I am using simulink NCO
I can't find in help or in dialog boxes for the NCO , I can't find how to set the Sampling frequency Fs for the NCO
Do you know How to set it?
Salam
Hossam Alzomor
www(.)i-g(.)org
Added after 1 hours 26 minutes:
Hi
I have discovered it.
In the function block parameters
if I select the "Phase increment source = input port" there's no dialog box for sample time
but I select "Phase increment source = specify via dialog " the dialog box for sample time appears and I can set the sample time
Is there any reason , or it's a bug?
Thanks
Salam
Hossam Alzomor
www()i-g()org
Added after 2 hours 17 minutes:
Hi
After some search I found the following data in the NCO help
"
Sample time:Specify the sample time in seconds when the block is acting as a source.
When either the phase increment or phase offset come in via block input ports,
the sample time is inherited and this parameter is not visible.
Samples per frame:Specify the number of samples per frame when the number of samples per frame is greater than one. When it exists, the phase offset input port has
the same frame status as the output port(s). The phase increment input port,
when it exists, does not support frames.
"
but why?
and how it's inherited? and inherited from what?
Salam
Hossam Alzomor
www()i-g()org
I am using simulink NCO
I can't find in help or in dialog boxes for the NCO , I can't find how to set the Sampling frequency Fs for the NCO
Do you know How to set it?
Salam
Hossam Alzomor
www(.)i-g(.)org
Added after 1 hours 26 minutes:
Hi
I have discovered it.
In the function block parameters
if I select the "Phase increment source = input port" there's no dialog box for sample time
but I select "Phase increment source = specify via dialog " the dialog box for sample time appears and I can set the sample time
Is there any reason , or it's a bug?
Thanks
Salam
Hossam Alzomor
www()i-g()org
Added after 2 hours 17 minutes:
Hi
After some search I found the following data in the NCO help
"
Sample time:Specify the sample time in seconds when the block is acting as a source.
When either the phase increment or phase offset come in via block input ports,
the sample time is inherited and this parameter is not visible.
Samples per frame:Specify the number of samples per frame when the number of samples per frame is greater than one. When it exists, the phase offset input port has
the same frame status as the output port(s). The phase increment input port,
when it exists, does not support frames.
"
but why?
and how it's inherited? and inherited from what?
Salam
Hossam Alzomor
www()i-g()org