background image

SpinCore PulseBlasterDDSII 

LabVIEW Extensions

call pb_stop_programming.vi.  The given phase value may be rounded to fit the precision 
of the board.  All functionality will be bypassed if an error is passed into the VI.

pb_set_amp.vi

Corresponds to the SpinAPI function int pb_set_amp(float amp, int addr)

This VI will write the given amplitude to the given amplitude register on DDS enabled 
boards and then check for errors. The VIs pb_start_programming.vi and 
pb_stop_programming.vi are not needed to set the amplitude.  The given amplitude value 
may be rounded to fit the precision of the board.  All functionality will be bypassed if an 
error is passed into the VI.

pb_inst_dds2.vi

Corresponds to the SpinAPI function int pb_inst_dds2 (int freq0, int phase0, int amp0, int 
dds_en0, int phase_reset0, int freq1, int phase1, int amp1, int dds_en1, int phase_reset1,  
int flags, int inst, int inst_data, double length)

This VI sends one instruction of the DDS-II pulse program to the board.  The instruction 
contains the 4 bit frequency register for both DDS cores, 4 bit phase register for both DDS 
cores, 1 bit tx_enable for both DDS cores, 1 bit phase reset for both DDS cores, 9 bit 
digital output, Op Code (which instruction to be executed), instruction data and length that 
the instruction should be carried out    It then checks for an error using the 
pb_error_handler.  All functionality will be bypassed if an error is passed into the VI.

pb_stop_programming.vi

Corresponds to the SpinAPI function int pb_stop_programming()

This VI tells the board that programming the is complete. It calls the pb_stop_programming 
function from SpinAPI using the Call Library Function Node.  It then checks for an error 
using the pb_error_handler.  All functionality will be bypassed if an error is passed into the 
VI.

pb_close.vi

Corresponds to the SpinAPI function int pb_close()

This VI releases SpinCore board.  It calls the pb_close function from SpinAPI using the 
Call Library Function Node.  It then checks for an error using the pb_error_handler.  All 
functionality will be bypassed if a previous error is passed into the VI.

27

2011-04-29

www.spincore.com

Summary of Contents for PBLV-DDS-II

Page 1: ...SpinCore PulseBlasterDDS II LabVIEW Extensions User s Manual SpinCore Technologies Inc http www spincore com...

Page 2: ...pinCore 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 trade...

Page 3: ...s 11 Path Terminals 13 Error Terminals 14 LabVIEW Program 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...

Page 4: ...nCore PulseBlasterDDSII LabVIEW Extensions pb_set_amp vi 24 pb_inst_dds2 vi 24 pb_stop_programming vi 24 pb_close vi 24 pb_start vi 25 pb_stop vi 25 V Contact Information 26 4 2011 04 29 www spincore...

Page 5: ...he 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 i...

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

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

Page 8: ...td 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 custo...

Page 9: ...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 boa...

Page 10: ...e 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...

Page 11: ...s available The specific frequency registers must be set in the register bank in order to be used in an instruction as described above If the register box is white then it will be programmed to the bo...

Page 12: ...egisters in Figure 5 Similarly the DDS1 Phase Register Selects instruction corresponds to the phase registers under the heading DDS1 Registers Amplitudes are specified as a percentage of full power an...

Page 13: ...s may be changed depending on the installation All subVIs should have the path in connected For ease of programming the path terminals can be daisy chained since all subVIs point to the same dll See F...

Page 14: ...of the subVIs corresponds to the order in which the functions will be called LabVIEW Program Flow The LabVIEW Block diagram is set up to independently control the four major functions start restart s...

Page 15: ...equency phase and amplitude registers for each DDS core to the values you want When the instructions and registers are set up correctly you must first load the board by clicking the LOAD BOARD button...

Page 16: ...d the RF output is disabled for both DDS cores The next four instructions enable output for 2 s and frequency register 0 1 2 and 3 respectively for DDS0 and frequency register 3 2 1 and 0 respectively...

Page 17: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 17 2011 04 29 www spincore com...

Page 18: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 18 2011 04 29 Figure 9 LabVIEW PulseBlasterDDSII Extension Frequency Test www spincore com...

Page 19: ...is disabled for both DDS cores The next four instructions enable output for 2 s and use phase register 0 1 2 and 3 respectively for DDS0 and phase register 3 2 1 and 0 respectively for DDS1 All instr...

Page 20: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 20 2011 04 29 www spincore com...

Page 21: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 21 2011 04 29 Figure 10 LabVIEW PulseBlasterDDSII Extension Phase Test www spincore com...

Page 22: ...board with 6 instructions The first instruction resets the phase and the RF output is disabled for both DDS cores The next four instructions enable output for 2 s and use amplitude register 0 1 2 and...

Page 23: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 23 2011 04 29 www spincore com...

Page 24: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 24 2011 04 29 Figure 11 LabVIEW PulseBlasterDDSII Extension Amplitude Test www spincore com...

Page 25: ...y Function Node It then checks for an error using the pb_error_handler If there was an error at this stage the VI determines if the board was not previously closed if so the VI clears the error closes...

Page 26: ...nctionality will be bypassed if an error is passed into the VI pb_set_freq vi Corresponds to the SpinAPI function int pb_set_freq double freq This VI will write the given frequency in MHz to a frequen...

Page 27: ...to the board The instruction contains the 4 bit frequency register for both DDS cores 4 bit phase register for both DDS cores 1 bit tx_enable for both DDS cores 1 bit phase reset for both DDS cores 9...

Page 28: ...ction Node It then checks for an error using the pb_error_handler All functionality will be bypassed if an error is passed into the VI pb_stop vi Corresponds to the SpinAPI function int pb_stop This V...

Page 29: ...tact Information SpinCore Technologies Inc 4631 NW 53rd Avenue SUITE 103 Gainesville FL 32653 USA Telephone USA 352 271 7383 Fax USA 352 371 8679 Website http www spincore com Web Form http www spinco...

Reviews: