AlazarGalvoSequenceWrite¶
Function Syntax¶
-
RETURN_CODE AlazarGalvoSequenceWrite(HANDLE handle, int32_t seq_idx, GALVO_PATTERN_SLOT slot, int32_t repetitions, int32_t start_idx, int32_t bframe_idx, int32_t end_idx, int32_t record_length, bool is_last, bool starts_in_park, bool ends_in_park)¶
Writes a sequence to sequency memory.
Note
The following must hold for the sequence to be valid:
start_idx <= bframe_idx <= end_idx
.- Parameters:
handle – Handle to board
seq_idx – 0-based index of the sequence to write
slot – Pattern memory slot that this sequence should play
repetitions – Number of times that the sequence should repeat the slot. Set to zero for infinite repetitions.
start_idx – First index to play from the slot.
bframe_idx – Index of the start of B-Frame.
end_idx – Last index to play from the slot.
record_length – The record length to use at this sequence index.
is_last – Set to true if this sequence is the last in the list of sequences to play.
starts_in_park – Set to
true
if this sequence’s pattern starts at the park positionends_in_park – Set to
true
if this sequence’s pattern ends at the park position
- Returns:
A RETURN_CODE return code indicating success or failure.