SpinCore Technologies PBLV-DDS-II Manual Download Page 10

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

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: