![SpinCore Technologies PulseBlaster DDS-III Скачать руководство пользователя страница 19](http://html.mh-extra.com/html/spincore-technologies/pulseblaster-dds-iii/pulseblaster-dds-iii_owners-manual_1347664019.webp)
PulseBlasterDDS
This SMA connector is used as an external clock input. Before attaching the external clock,
the internal clock must be removed from its socket. The internal clock’s orientation should be noted (if
the internal clock is reconnected, it must be inserted in the same orientation or board damage may
occur). Also, the external clock must be a 3.3 V TTL signal. Another requirement is that a 50 ohm
resistor be soldered directly on the board on R401 pads or use a T connector with a 50 ohm terminator
connected directly to SMA400. Failure to follow the above requirements could result in damaging the
board.
Appendix I: Sample C program
Example Program
// Example2.cpp
//
// SpinCore Technologies, Inc.
// May 2004
// http://www.spincore.com
//
// The following program code uses C Functions from 'pbdfuncts' to
// generate and execute a pulse sequence on the PulseBlasterDDS board.
// Be sure to include the DLL (pbd03pc.dll), the library file
// (pbd03pc.lib), the header files (pbd03pc.h and pbdfuncs.h), and source
// file (pbdfuncs.cpp) in the working directory of your C compiler .
#include "pbdfuncs.h"
#include "pbdfuncs.cpp"
#include "PBD03PC.h"
#include <stdio.h>
void main(void)
{
if (pb_init() != 0)
printf("--- Error Initializing PulseBlasterDDS ---\n");
// Check for proper initialization of PulseBlasterDDS
// Set clock frequency
set_clock(100);
// Start programming the frequency registers
start_programming(FREQ_REGS);
// Program the registers in order from 0 to 15
// Valid units are MHz, kHz, and Hz - default is MHz
9/20/200519
www.spincore.com