http://www.spincore.com
PulseBlasterESR-PRO-II
unsigned int address
Function
0
Resets the board
1
Triggers execution of the board
4
Resets the memory counter
6
Output one byte to PCI bus
Table 2:
Addresses for pb_outp() function.
int pb_inst_hs8(char* Flags, double length)
This function is intended for 8 channel PulseBlasterESR-PRO-II boards only. The first argument,
char* Flags
is an 8 bit string of ones and zeros (with the highest numbered channel on the left and
decreasing to channel 2, channel 1, and channel 0). The second argument,
double length
, is the
desired instruction length in nanoseconds. This function returns a negative number upon error and
sets spinerr to a description of the error. The number of clock periods used for the instruction is
returned on success.
int pb_inst_hs24(char* Flags, double length)
This function is intended for 24 channel PulseBlasterESR-PRO-II boards only. Similar to
pb_inst_hs8
, but uses a 24-bit string instead of an 8-bit. Other properties of the function are the
same as
pb_inst_hs8
.
Included SpinAPI Programs
Included in the PBESR-PRO-II directory of the SpinAPI package (default installation location: C:\Program
Files\SpinCore\Examples\PulseBlasterESR-PRO-II) are several example programs to test your board, as well
as to create a template for users to customize their own pulse programs. Also included for convenience are
two executable programs called “reset.exe” and “trigger.exe.” These programs can be used for software
triggering and resetting of your pulse program. The source code for these programs are included, so you may
add the code to your custom programs as necessary. Examples 1-3 are for earlier versions of the
PulseBlasterESR-PRO-II board with 8 channels.
example1_8bit
This example program tests the maximum pulse sequence length. This program will test the entire
memory.
NOTE:
It is important to terminate all signals properly (i.e. with a 50 Ohm terminating resistor at the
end of your cable).
example2_8bit
This example program demonstrates the ability to change outputs every clock period.
NOTE:
It is important to terminate all signals properly (i.e. with a 50 Ohm terminating resistor at the
end of your cable).
example3_8bit
An example program further demonstrating the device.
2016/08/17
14