examples/pts_fsweep.c File Reference

This program is a simple example of using the SpinPTS API to sweep frequencies. To use this function in your own program, simply remove the main function and add this file to your project. Note that you will also need to include the header file spinpts.h and link to the dll spinpts.dll which can both be found in the main directory. More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "spinpts.h"


Detailed Description

This program is a simple example of using the SpinPTS API to sweep frequencies. To use this function in your own program, simply remove the main function and add this file to your project. Note that you will also need to include the header file spinpts.h and link to the dll spinpts.dll which can both be found in the main directory.

This program takes five arguments: pts_fsweep [Start Frequency] [End Frequency] [Increment] [Phase] (Delay) Arguments in square brackets are required. [Start Frequency] [End Frequency] [Inncrement] are in MHz. [Phase] is in degrees. (Delay) is in milliseconds. If you do not specify a delay, a 1 second increment delay will be used by default.

Please visit http://www.spincore.com/CD/USB-PTS/SpinPTS/Installation/ for more installation and use instructions.

*****NOTE******* Currently this program does not function properly with the PTS160.

------------------------------------------------------------------------------

*****Warning***** Do not use clock faster than 50MHz with this board.

Date
2008/02/26 14:53:33

To get the latest version of this code, or to contact us for support, please visit http://www.spincore.com


Generated on Tue Feb 26 10:55:42 2008 for SpinPTS API by  doxygen 1.5.2