AlazarGalvoValidateSequenceMemory¶
Function Syntax¶
-
RETURN_CODE AlazarGalvoValidateSequenceMemory(HANDLE handle)¶
Runs a set of tests on the sequence memory of a given device.
This function is a helper meant to be called after pattern memory and sequence memory have been fully initialized, just before starting the acquisition. This function returns ApiSuccess if all the tests pass. Otherwise, it returns an error, and prints more information in the ATSApi log file.
In what follows, start, B-frame and end indices are noted \(s_i\), \(b_i\) and \(e_i\) respectively.
At the moment, this function tests the following:
all the
ends_in_park
flag are set appropriately.all the
starts_in_park
flag are set appropriately.there is at least one sequence marked
is_last
.every sequence marked
is_last
also hasends_in_park
set.all active sequences (i.e. sequences where \(b_i \in [s_i, e_i]\) and with at least one repetiton) respect \(e_i \geq s_i + 16\).
For all active sequences, \(b_i\) and \(e_i\) are inferior to the sequence’s slot size.
For all active sequences, \(b_i \neq s_i\).
- Parameters:
handle – Target Handle to board