08-19-2011 04:00 AM
Hello,
I would like to know if anyone has got a sample code to showcase phase modulation in LabVIEW. I have installed modulation toolkit but that has examples only for demodulation. If you have an example VI of phase modulation with simulated signal, I kindly request you to share the same.
Thank you.
Herok
08-22-2011 12:28 AM
Hi Herok,
The following example implements phase modulation of a signal obtained from a PXI RF device. You may refer to the code to understand or simulate the device on your computer to test it.
http://zone.ni.com/devzone/cda/epd/p/id/5179
Hope this helps.
Regards,
Nikhil
Applications Engineer | NI India
08-24-2011 12:06 AM
Hey Nikhil,
I have seen the link and it is related to the hardware example and I do not want to use the RF hardware. To basically demonstrate PM, LabVIEW should be enough since the modulation process happens in software. RF hardwares cannot be simulated in MAX also.
I would like to do the same in LabVIEW only ( maximum I can use is Modulation Toolkit ).
Herok
08-25-2011 01:32 AM
Hi Herok,
Below is a sample VI to generate a phase-modulated signal using a NI-FGEN waveform generator. This program is a shipping example VI included with the Modulation Toolkit-
http://zone.ni.com/devzone/cda/epd/p/id/5601
The example about will need to be modified for simulating the device. The NI-FGEN driver allows you to simulate a device so that you can run your application without the hardware present. Details of how to simulate this are available on -
http://digital.ni.com/public.nsf/allkb/07A1DC2A64B4F0A38625729A00065771
To demodulate PM with simulated data , you can use the following example VI and build upon it for your application.
http://zone.ni.com/devzone/cda/epd/p/id/5648
As you said that you do not have hardware, you cab simulate the device using the NI FGEN Driver. The steps for this are given on the second link.
Please revert for further clarifications.
08-25-2011 01:39 AM
sin(w*t + <YourPhaseFormular(t)>) into the 'formular waveform.vi' ??