03-18-2008 05:14 AM
03-19-2008 01:21 PM
Hi,
Are you planning on generating this signal with any particular hardware or you just wanted to simulate the modulation in Software? We have some examples in the Modulation Toolkit for BPSK. Please take a look at this DevZone Article: Modulation Toolkit Shipping Examples. Something that would for sure help you since you are getting started with LabVIEW are going to be these resources: Getting Started with LabVIEW, Getting Started with LabVIEW Virtual Instruments and How Can I Learn LabVIEW?, the first four classes are free.Regards
03-19-2008 08:11 PM - edited 03-19-2008 08:13 PM
03-21-2008 08:52 AM
Hi,
With the modulation toolkit we do have an example that will do a one shot TX and RX is called: “MT PSK Transceiver (One Shot).vi” another example that might be useful will be MT PSK Transceiver (with FFT Spectrum).vi. Both of these examples you only need to change the M-PSK field to two and the simulated modulation and demodulation for BPSK will be done for you. In the second example additive white Gaussian noise is been added to the message.
Now; from the code you attached I can see you are not using the “Modulation Toolkit” in your code and even though I’m missing some VIs I can tell you are actually receiving a BPSK modulated signal as an array of doubles. Now my suggestion will be since phase by itself does not mean anything if it is not referenced is to generate a signal of the same frequency to be use as a reference. One way to do it will be like they are in this picture: “Electronic Design”. Other mathematical schemes for determining the “phase change” can be use but it will really be up to you to implement them in LabVIEW. I have done some DSP programming in other TI boards not related to NI and if I recall correctly all the math came from the Z domain.
I hope it helps
03-21-2008 09:44 AM
03-21-2008 09:56 AM
03-23-2008 01:54 AM
03-24-2008 04:29 PM
03-24-2008 09:01 PM
03-25-2008 01:44 PM
Hi Mano,
I have seen knowledge bases where other functions from the “math menu” on the functions palette are used, for example: How Can I Be Successful with Arrays in the LabVIEW DSP Module? The function use in the knowledge base is included in the palette, but if a function is not included in the function palette then it is not supported.
Another useful resource would be this knowledge base: Which Numeric Data Types are supported by the LabVIEW DSP Module for Speedy33, DSK6711, or DSK6713?
Since the integration function is not included you might be
able to do it yourself using loops. Numerical integration. If you have question regarding how to do the numerical integration you can post in a LabVIEW discussion forum.