GX5296, File
Resets all the timing sets settings back to default.
GtDio6xTimingSetEdgeReset (nHandle, pnStatus)
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. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
Reset the Timing Set Edge Shift to be equally spaced at of the programmed period as well as updates the Timing Set Memory accordingly.
The following example sets all 10 timing sets edges, returns their values and reset all back to default:
SHORT nStatus, nMode;
LONG anEdgeList[10];
DOUBLE adEdge[10];
DOUBLE adEdgeReadback[10];
LONG i;
for (i=0; i<10; i++)
{ adEdge[i]=i*0.25; // increments of 0.25nSec
anEdgeList[i]=i;
}
GtDio6xTimingSetEdgeSet(nHandle, 10, anEdgeList, adEdge, &nStatus);
GtDio6xTimingSetEdgeGet(nHandle, 10, anEdgeList, adEdgeReadback, &nStatus);
GtDio6xTimingSetEdgeReset(nHandle, &nStatus);
GtDio6xStepSetPauseResumeTrigger, GtDio6xSequencerRun, GtDio6xSequencerRunEx, GtDio6xSequencerStop, GtDio6xSequencerHalt, GtDio6xGetErrorString