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