GtDio6xSequencerSetBurstCount

Applies To

GX5296, GX5961, GX5964, File

Purpose

Sets the sequence burst count.

Syntax

GtDio6xSequencerSetBurstCount (nHandle, lBurstCount, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Session identifier:

     Board handle is used when communicating with the hardware. The Board handle session identifier is returned by calling GtDio6xInitialize or GtDio6xSetupInitialization.

     File handle is used when communicating with a file. The File handle session identifier is  returned by calling GtDio6xFileOpen.

lBurstCount
LONG
GX5961/GX5964: Used to set the burst count value, 0 for continuous loop, or 1 to 1048576.
GX5296: Used to set the burst count value, 1 to 1048576.
pnStatus
PSHORT
Returned status: 0 on success, negative value on failure.

Comments

The burst count determines how many times the sequencer will loop. The burst count can be set from 0 (continuous burst) to 1048576. Setting the count to 0 causes the sequencer to run continuously.

Example

The following example sets the current burst count to 5, and return the settings:

 

SHORT nHandle;

LONG lBurstCount;

 

GtDio6xSequencerSetBurstCount(nHandle, 5, &nStatus);

GtDio6xSequencerGetBurstCount(nHandle, &lBurstCount, &nStatus);

 

See Also

GtDio6xSequencerArm, GtDio6xSequencerArmIdleStep, GtDio6xSequencerHalt, GtDio6xSequencerReset, GtDio6xSequencerResume, GtDio6xSequencerRun, GtDio6xSequencerRunEx, GtDio6xSequencerRunIdleStep, GtDio6xSequencerSetChannelsCompareTrigger, GtDio6xSequencerSetRunCompletionMode, GtDio6xSequencerSetFreqSynth, GtDio6xSequencerSetHaltMode, GtDio6xSequencerSetIdleStep, GtDio6xSequencerSetLoopCounterMode,   GtDio6xSequencerSetMasterClockSource, GtDio6xSequencerSetRecordOffset, GtDio6xSequencerSetRecordParameters, GtDio6xSequencerSetStopMode, GtDio6xSequencerSetSyncPulseSource, GtDio6xSequencerSetSyncPulseParameters, GtDio6xSequencerSetSystemClockExternal, GtDio6xSequencerSetSystemClockSource, GtDio6xSequencerStop, GtDio6xGetErrorString