RadioProcessor-G
Step 4: Specify Parameters of the Pulse Sequence
To program a pulse sequence into the RadioProcessor-G, there is one primary function that must be used:
spmri_mri_inst()
The parameters of this function are defined in Table 3.
2017-09-04
13
www.spincore.com
Table 3:
SPMRI_MRI_INST Parameters.
Parameter
Description
double
dac_amp
specifies the amplitude of the selected DACs on a scale of
1.0 to -1.0, where 1.0 is the highest positive amplitude
and -1.0 is the most negative.
char
dac_addr
selects which DACs will be updated. Multiple DACs can
be selected at one time.
char
write
selects which DACs will have new amplitude data
written. This will not cause a new values to be seen at
the output. Multiple DACs can be selected.
char
update
selects which DACs will have updated outputs. The
outputs will reflect the amplitude data that was last
written. Multiple DACs can be selected.
char
clear
clears the write and update registers of the selected
DACs, causing them to cease outputting data. Multiple
DACs can be selected.
int
freq
selects the frequency register that will be used for the
carrier signal.
int
tx_phase
selects the phase register that will be used for the carrier
signal.
char
tx_en
enables RF output if set to 1. RF output will be disabled
if set to 0.
char
phase_reset
resets the phase to the of the carrier signal to the initial
value.
char
trigger_scan
enables data acquisition when set to 1.
char
envelope_freq
selects the frequency register that will be used for the
envelope signal. If register 7 is used, envelope shaping
will be disabled and the phase will be reset for the
envelope frequency registers.
int
amp
selects the amplitude register that will be used for the
carrier signal.
char
cyclops_phase
not supported on the RadioProcessor-G. Set to 0.
UINT64
flags
specifies the state of the digital outputs, whether high or
low.
DWORD
data
the data field for the PulseBlaster opcode.
char
op
the opcode for the PulseBlaster instruction. See Table 3
for more information.
double
delay_ns
the duration of the PulseBlaster instruction.
The available instructions for the PulseBlaster core are described in detail in the RadioProcessor manual.