SpinCore Technologies PulseBlasterDDSII Manuel utilisateur

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
Con ratulations and thank you for choosin a desi n from
SpinCore Technolo ies, Inc.
We appreciate your business!
At SpinCore we try to fully support the needs of our customers. If you
are in need of assistance, please contact us and we will strive to provide
the necessary support.
© 2008 SpinCore Technologies, Inc. All rights reserved.
SpinCore Technologies, Inc. reserves the right to make changes to the product(s or information herein without notice.
RadioProcessor™, PulseBlaster™, SpinCore, and the SpinCore Technologies, Inc. logos are trademarks of SpinCore Technologies, Inc.
All other trademarks are the property of their respective owners.
SpinCore Technologies, Inc. makes every effort to verify the correct operation of the equipment. This equipment version is not intended
for use in a system in which the failure of a SpinCore device will threaten the safety of equipment or person(s .
2 2011-04-29
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
Table of Contents
I. Overview ....................................................................................................... 5
II. Installation ................................................................................................... 8
Method 1: Stand-Alone Executables ............................................................................ 8
Method 2: Customizable VIs ......................................................................................... 8
III. General Information ................................................................................... 9
Instruction Description .................................................................................................. 9
Re ister Descriptions .................................................................................................. 11
Path Terminals .............................................................................................................. 13
Error Terminals ............................................................................................................. 14
LabVIEW Pro ram Flow ............................................................................................... 14
IV. VI descriptions ......................................................................................... 15
Main VI ........................................................................................................................... 15
PBLV_DDSII_Interface.vi ........................................................................................ 15
Example VIs .................................................................................................................. 16
PBLV_DDSII_freq_test.vi ........................................................................................ 16
PBLV_DDSII_phase_test.vi .................................................................................... 18
PBLV_DDSII_amp_test.vi ....................................................................................... 20
Basic SubVIs ................................................................................................................. 22
pb_err r_handler.vi ................................................................................................. 22
pb_init.vi .................................................................................................................. 22
pb_set_default.vi ..................................................................................................... 22
pb_c re_cl ck.vi ...................................................................................................... 22
pb_select_dds.vi ...................................................................................................... 23
pb_start_pr gramming.vi ........................................................................................ 23
pb_set_freq.vi .......................................................................................................... 23
pb_set_phase.vi ...................................................................................................... 23
3 2011-04-29
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
pb_set_amp.vi ......................................................................................................... 24
pb_inst_dds2.vi ....................................................................................................... 24
pb_st p_pr gramming.vi ......................................................................................... 24
pb_cl se.vi .............................................................................................................. 24
pb_start.vi ................................................................................................................ 25
pb_st p.vi ................................................................................................................ 25
V. Contact Information ................................................................................. 26
4 2011-04-29
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
I. Overview
The SpinCore PulseBlasterDDS-II LabVIEW Extensions (PBLV-DDS-II provide the
functionality of programming and controlling digital pulse and RF generation in
PulseBlasterDDS-II boards using the simple NI LabVIEW graphical programming interface.
The package contains basic subVIs that can be used to include PulseBlasterDDS-II
interaction from your own LabVIEW programs, as well as some complete example VIs.
Additionally, all of the examples are available as stand-alone applications to control.
The PBLV-DDS-II is an intuitive graphical equivalent of the SpinAPI C functions. The GUI
(known as the front panel has all the inputs needed to access the PulseBlaster including
instruction registers, clock frequency, and buttons for loading, starting, and stopping the
board. The input is then used in the back-end code (known as the block diagram to
access the C functions that control and program the PulseBlasterDDS-II. The LabVIEW
block diagram is a one-to-one equivalent of the corresponding C code, without having to
write code. An example of the front panel and block diagram are shown in Figure 1 and
Figure 2.
Note: For information on using the the Digital Pulse Generation functionality of the board
in LabVIEW, please see the PulseBlaster LabVIEW Extensions documentation.
(http://www.spincore.com/support/PBLV/PBLV_Manual.pdf
All example VIs and subVIs are described in detail below.
5 2011-04-29
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
6 2011-04-29
Figure 1: Example of PulseBlasterDDS-II LabVIEW
Extensions User Interfa e
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
7 2011-04-29
Figure 2: Example of PulseBlaster-DDS-II LabVIEW Extensions Blo k Diagram
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
II. Installation
There are two methods of using the PulseBlasterDDS-II LabVIEW Extensions. The first
method is a set of stand-alone executables which will control the PulseBlasterDDS-II
boards with a simple, intuitive interface with no other necessary knowledge of LabVIEW
programming. The second method is a set of LabVIEW VIs which can be used with the
LabVIEW Development platform to create custom programs using the PBLV interface.
Method 1: Stand-Alone Executables
In order for PBLV-DDS-II stand-alone executables to work, the following must be installed:
●SpinCore Driver Suite - Please see the SpinCore Driver Suite Installation Guide
(http://www.spincore.com/support/spinapi/instructions/ for more information.
●National Instruments LabVIEW Run-Time Engine 2010
(http://www.spincore.com/support/PBLV/LVRTE2010std.exe - Note if you have
LabVIEW 2010 or later installed, this is not needed.
●LabVIEW PulseBlaster Extensions Stand-Alone executables located here.
Method 2: Customizable VIs
In order for PBLV-DDS-II customizable VIs to work, the following must be installed:
●SpinCore Driver Suite - Please see the SpinCore Driver Suite Installation Guide
(http://www.spincore.com/support/spinapi/instructions/ for more information.
●National Instruments LabVIEW 8.6 or later - If you do not have LabVIEW 8.6 or later
installed, you may download a 30-day evaluation
(https://lumen.ni.com/nicif/us/lveval/content.xhtml of the latest LabVIEW
development software.
(NOTE: Customizable VIs for versions of LabVIEW as old as LabVIEW 8.0 are
available. For customizable VIs older than LabVIEW 8.6 please contact SpinCore
Technologies via the web forum.
●LabVIEW PulseBlaster Extensions located here.
(NOTE: Customizable VIs use the C-calling convention. For customizable VIs that
use the WINAPI calling convention please contact SpinCore Technologies via the
web forum.
8 2011-04-29
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
III. General Information
Instruction Description
Throughout the PulseBlasterDDS-II LabVIEW Extension,
the instruction word, corresponding to a given interval in
the pulse sequence, is given as shown to the left. The
instruction on the front panel (Figure 3 is broken up into
15 fields displayed from top to bottom:
●Comment space is an empty text box. This area is
used to annotate your instruction and is not
programmed onto the PulseBlasterDDS-II board.
●Time is the duration that the current instruction is to
be held in microseconds. Range and resolution
varies depending on what board is being used. This
corresponds to “length” in SpinAPI.
●Output Pattern determines the state of each TTL
output bit. If an LED is on then it's corresponding
output bit is high, and if the LED is off then it's
corresponding output bit is low. This corresponds to
“flags” in SpinAPI.
●DDS0 RF Output Enable tells the DDS-II board
whether the RF output for DDS0 should be enabled
during this instruction. This corresponds to “dds_en0”
in SpinAPI.
●DDS0 Phase Reset tells the DDS-II board to reset
the phase of all DDS0 channels to their time=0
phase. They will stay in this state until the value of
this bit returns to 0. This corresponds to
“phase_reset0” in SpinAPI.
●DDS0 Frequency Register Selects determines which
frequency register will be used for the RF output of
DDS0 during this instruction. Refer to your board
manual for the number of frequency registers
available. This corresponds to “freq0” in SpinAPI.
●DDS0 Phase Register Selects determines which
phase register will be used for the RF output of DDS0
9 2011-04-29
Figure 3: PulseBlaster
Instru tion
www.spincore.com

SpinCore
PulseBlasterDDSII
LabVIEW Extensions
during this instruction. Refer to your board manual for the number of phase registers
available. This corresponds to “phase0” in SpinAPI.
●DDS0 Amplitude Register Selects determines which amplitude register will be used
for the RF output of DDS0 during this instruction. Refer to your board manual for the
number of amplitude registers available. This corresponds to “amp0” in SpinAPI.
●DDS1 RF Output Enable tells the DDS-II board whether the RF output for DDS1
should be enabled during this instruction. This corresponds to “dds_en1” in SpinAPI.
●DDS1 Phase Reset tells the DDS-II board to reset the phase of all DDS1 channels to
their time=0 phase. They will stay in this state until the value of this bit returns to 0.
This corresponds to “phase_reset1” in SpinAPI.
●DDS1 Frequency Register Selects determines which frequency register will be used
for the RF output of DDS1 during this instruction. Refer to your board manual for the
number of frequency registers available. This corresponds to “freq1” in SpinAPI.
●DDS1 Phase Register Selects determines which phase register will be used for the
RF output of DDS1 during this instruction. Refer to your board manual for the
number of phase registers available. This corresponds to “phase1” in SpinAPI.
●DDS1 Amplitude Register Selects determines which amplitude register will be used
for the RF output of DDS1 during this instruction. Refer to your board manual for the
number of amplitude registers available. This corresponds to “amp1” in SpinAPI.
●Program Flow determines the flow of program instructions after the bit pattern is
displayed. This corresponds to “inst” in SpinAPI. Available instructions are:
○CONTINUE - Program execution continues to next instruction.
○STOP - Stop execution of program.
○LOOP - Specify beginning of a loop. Execution continues to next instruction.
Instruction data used to specify number of loops.
○END_LOOP Execution returns to beginning of loop and decrements loop
counter. Instruction data used to specify beginning of loop.
○JSR - Program execution jumps to beginning of a subroutine. Instruction data
used to specify address of first subroutine instruction.
○RTS - Program execution returns to instruction after JSR was called.
○BRANCH - Program execution continues at specified instruction. Instruction
data specifies address of next instruction.
○LONG_DELAY - For long interval instructions. Data field specifies a multiplier
of the length field. Execution continues to next instruction.
○WAIT - Program execution stops and waits for software or hardware trigger.
Execution continues to next instruction after receipt of trigger. (Please see
SpinAPI documentation for more information on limits of certain Op Codes
●Instruction Data is the data to be used for certain instructions determined by the Op
Code. This corresponds to “inst_data” in SpinAPI. Note for certain instructions this
field is not used.
10 2011-04-29
www.spincore.com
Ce manuel convient aux modèles suivants
1
Table des matières
Autres manuels SpinCore Technologies Générateur d'impulsions
Manuels Générateur d'impulsions populaires d'autres marques

Hagerman Technology
Hagerman Technology FryBaby Manuel utilisateur

BNC
BNC MOD745T Manuel utilisateur

AVTECH ELECTROSYSTEMS LTD.
AVTECH ELECTROSYSTEMS LTD. AVG-4A-B Manuel utilisateur

Avtech
Avtech AVR-G1-B Manuel utilisateur

Avtech
Avtech AVOZ-D2-B Manuel utilisateur

Tektronix
Tektronix 114 Manuel utilisateur















