LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDM, TDMA, AM, FM simulations using LabVIEW

You can create AM modulation simply by multiplying a carrier and a modulating signal.  See attached vi.  The sample rates must be the same for both or the multiplication won't work.  FM is a bit more tricky.  You would have to somehow vary the frequency with the modulating signal.  Perhaps inside a For loop, you could create a waveform point by point.  I really don't have time to tackle this one.  Some hints:  Put a sinewave generator in a loop.  Set the parameters to create just a few data points (cluster at bottom of icon, top value is sampling rate, bottom value is # points).  Break modulating signal into an array of data values.  Feed this array into the for loop with indexing on.  Use each data point to manipulate the frequency input to the sinewave generator (perhaps multiplying the data point times the carrier frequency).  Use a shift register and build waveform to collect data for each loop iteration.  The output of the loop should be an FM modulated signal.

Message Edited by tbob on 08-25-2005 01:12 PM

- tbob

Inventor of the WORM Global
Message 11 of 17
(2,539 Views)

Hi tbob,

I couldn't open the attached VI, since I'm currently using LabVIEW 7 Express (Your VI is a newer version 7.1.1). Could you attach the snap shot of the front panel and black diagram?

Thanks,

Manson

0 Kudos
Message 12 of 17
(2,531 Views)
Here it is:

Message Edited by tbob on 08-25-2005 01:43 PM

- tbob

Inventor of the WORM Global
Message 13 of 17
(2,530 Views)

Thanks. Anyway to do TDM / TDMA?

Message 14 of 17
(2,523 Views)
That would be too complex.  If I had lots of time, I could probably do it, but I don't.  I suggest you buy the toolkit.
- tbob

Inventor of the WORM Global
Message 15 of 17
(2,517 Views)

I'll have to agree with tbob..

However, coding it would be an interesting challenge..

And a nice suggestion for the next LabView coding challenge!

😄

Message 16 of 17
(2,502 Views)

I also have to agree with tbob and JLV that, unless you are up for a major challenge, your best bet is to buy the toolkit for the more advanced modulations. I was able to find an example for you that simulates an FM signal -- it pretty much uses the same method suggested by tbob. I've linked the example here.

Kind Regards,

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 17 of 17
(2,491 Views)