From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-31-2020 04:00 AM
08-31-2020 04:38 AM
Hi GerdW,
i have set the clock1 frequency in FPGA base clock properties window and here i am attaching image for your reference. please check it.
08-31-2020 05:20 AM - edited 08-31-2020 05:20 AM
Hi Navin,
as I don't have experience (and hardware drivers) for this special kind of hardware I'm out of suggestions!
With a cRIO FPGA I would create a derived clock from base clock - or use a simple Wait function inside a plain WHILE loop…
09-03-2020 02:03 AM
Hi Gerdw,
i have generated the derived clock with 3MHZ for FPGA, signal frequency is 320KHz, output frequency is ok now but output signal on the CRO seems like stepped sine signal..
i keep increasing the #samples also still it couldn't be solved
how to smoothen the signal can anyone please suggest me
regards
navin
09-03-2020 02:33 AM
09-03-2020 03:13 AM
Hi GerdW,
i am updating the state of the project here
Now my timed loop is running at frequency is 3MHz SCTL, signal frequency is 320KHz @fs =3MHz
now i am getting output frequency almost equal to input signal frequency, but wave form is not a smooth sine wave, itseems like stepped sine signal.
Here i am attaching the project file and images of the signal on CRO..
please have a look at it and help me out
09-03-2020 03:18 AM
Hi Navin,
@Navin4561 wrote:
signal frequency is 320KHz @fs =3MHz
At fs=3MHz and sine frequency of 320kHz you get just 9 samples per period: I would expect nothing else than a "stepped" output signal…
@Navin4561 wrote:
wave form is not a smooth sine wave, itseems like stepped sine signal.
I don't know where you see something like a "stepped sine wave". All I see is a ramp (aka sawtooth) signal with just 3 or 4 samples per ramp…