GX5296, GX5961, GX5964, File
Sets the record memory offset parameters.
GtDio6xSequencerSetRecordOffset (nHandle, dOffset, dExpectDataOffset, 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. |
dOffset |
DOUBLE |
Used to compensate for round-trip driver/receiver delay and also cabling delay to the UUT. Can also be used to allow windows to effectively close at the end of the T0Cycle. Resolution: 1 master clock Range: 0-63 master clocks. |
dExpectDataOffset |
DOUBLE |
GX5960: Not used, pass as 0. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
The record offset allows the user to shift the record signals (vector code expect data and window strobes) to accommodate system and UUT delay. The record offset resolution is the master clock period.
The following example sets the record offset to 20 master clock periods, and returns the settings:
SHORT nStatus;
DOUBLE dOffset, dExpectDataOffset ;
GtDio6xSequencerSetRecordOffset (nHandle, 20, 0, &nStatus);
GtDio6xSequencerGetRecordOffset (nHandle, &dOffset, &dExpectDataOffset, &nStatus);
GtDio6xSequencerGetRecordOffset, GtDio6xSequencerGetRecordParameters, GtDio6xStepSetRecordMode, GtDio6xReadRecordMemory, GtDio6xReadVectorMemory, GtDio6xWriteVectorMemory, GtDio6xGetErrorString