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.
01-10-2005 10:04 AM
01-10-2005 02:59 PM
01-10-2005 09:19 PM
@rpursley8 wrote:
Are you trying to do this as a real-time signal or are you generation the waveform ahead of time and sending it out?
An FM modulated signal is defined as
f(t) = A*cos(2*pi*fc*t + m*sin(2*pi*fm*t))
where
A = amplitude of signal
fc = carrier frequency (500 Hz)
m = modulation index (how big of a swing in frequency that you want)
fm = modulation frequency (10 Hz)
pi = pi
so a formula node might be the easiest way. To generate a complete cycle, you will have to generate 0.1 seconds of data, then you could repeat it continuously without any discontinuitues.
Clearly the carrier and modulation can be something other than sinusoids, but this is how it is usually represented.
Attached is an example of generating the waveform.
01-11-2005 05:42 AM
01-11-2005 09:09 AM
01-12-2005 01:09 AM
01-12-2005 08:37 AM
01-12-2005 08:05 PM
01-12-2005 11:47 PM
01-13-2005 11:05 PM