Example Code

Modulation Toolkit 2-FSK to Baseband Example Using DAQmx

Code and Documents

Attachment

Functional Discription

This example is designed to use the Modulation Toolkit to
make a 2-FSK signal and modulate this to a baseband
frequency (1 to -1 volt signal). The example makes 1 second worth of data
and outputs this continuously until the stop button is
pressed or an error occurs.

Steps to Use

1. Choose your DAQmx device name and AO channel

2. Set the minimum ouput range

3. Set the maximum output range

4. Set the symbol rate (Hz) of 2-FSK signal

5. Set samples per symbol rate

7. Set FSK deviation from center frequency (Hz)

8. Set the carrier frequency (Hz)

Images

Front Panel

Front Panel.jpg

Block Diagram

Block Diagram.jpg

Additional Notes

The max carrier frequency that can be achieved using this example will depend on the max sampling rate of the DAQmx device being used.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors