examples/spinpts250.c File Reference

This program offers a simple example of how to use the spinpts250 function. The spinpts250 function is designed to control PTS250 frequency synthesizers when used in conjunction with a SpinCore Technologies USB-PTS device. 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 <ctype.h>
#include "spinpts.h"


Detailed Description

This program offers a simple example of how to use the spinpts250 function. The spinpts250 function is designed to control PTS250 frequency synthesizers when used in conjunction with a SpinCore Technologies USB-PTS device. 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.

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

The frequency value passed to this function should be a double with a value between 1 and 249.999 999 9, corresponding to 1MHz and 249.999 999 9MHz respectively. Digits beyond the 7th decimal place will be ignored.

*****NOTE******* Actual resolution of output signal for the PTS250 is 0.1 Hz to 100 KHz, optional. Please verify resolution of your particular device. If your device has a 100 kHz resolution, the USB-PTS device will output signals for lower resolution but they will be ignored by the PTS250.

------------------------------------------------------------------------------ NOTE: This version only supports control of the PTS250 frequency synthesizer.

If you have a different PTS model, please visit http://www.spincore.com to check if a newer version of this code exists that will support your particular PTS model. If your model is not supported please contact SpinCore for support developement. ------------------------------------------------------------------------------

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

Date
2008/02/26 14:54:04

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