background image

SpinCore PulseBlasterDDSII 

LabVIEW Extensions

Error Terminals

All of the SubVIs have error input and output terminals.  When a VI is built, the “error 

out” terminal of a subVI should be connected to the “error in” terminal of the following 
subVI.  These terminals are used to help facilitate sequential execution of the functions, as 
well as provide debugging information to the user if an error occurs in the VI.  See Figure 6 
and Figure 7 for an example of these terminals.  When chaining, the order 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, stop/reset, load, change) using four while loops running in parallel. 
Within each loop is another loop that continuously waits for the specified button to be 
pressed.  Once the button is pressed, the inner loop will exit and program flow will be 
passed to the chain of subVIs.  After the chain of functions complete, program flow will 
return to the inner loop to wait for the button again.  An example of this is shown in Figure
8.

14

2011-04-29

Figure 8: LabVIEW Program Flow Example

www.spincore.com

Содержание PBLV-DDS-II

Страница 1: ...SpinCore PulseBlasterDDS II LabVIEW Extensions User s Manual SpinCore Technologies Inc http www spincore com...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 6: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 6 2011 04 29 Figure 1 Example of PulseBlasterDDS II LabVIEW Extensions User Interface www spincore com...

Страница 7: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 7 2011 04 29 Figure 2 Example of PulseBlaster DDS II LabVIEW Extensions Block Diagram www spincore com...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 17: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 17 2011 04 29 www spincore com...

Страница 18: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 18 2011 04 29 Figure 9 LabVIEW PulseBlasterDDSII Extension Frequency Test www spincore com...

Страница 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...

Страница 20: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 20 2011 04 29 www spincore com...

Страница 21: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 21 2011 04 29 Figure 10 LabVIEW PulseBlasterDDSII Extension Phase Test www spincore com...

Страница 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...

Страница 23: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 23 2011 04 29 www spincore com...

Страница 24: ...SpinCore PulseBlasterDDSII LabVIEW Extensions 24 2011 04 29 Figure 11 LabVIEW PulseBlasterDDSII Extension Amplitude Test www spincore com...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: