GX5961
Programs the probe’s data mode.
GtDio6xProbeSetDataMode (nHandle, nProbeDataMode, 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. |
nProbeDataMode |
SHORT |
Used to specify the probe data mode:0. GTDIO6X_PROBE_DATA_DISABLE: Probe Data Memory is not written. 1. GTDIO6X_PROBE_DATA_ENABLE: Probe Data Memory will be written to at the end of each vector. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
The probe data mode controls the writing of probe results in to the probe data memory.
If disabled, the probe data memory is not written to. If enabled, the probe results are written to the probe data memory at the end of each vector.
The following example enables the probe’s data mode, and returns the settings:
SHORT nProbeMode;
GtDio6xProbeSetDataMode(nHandle, GTDIO6X_PROBE_DATA_ENABLE, &nStatus);
GtDio6xProbeGetDataMode(nHandle, &nProbeMode, &nStatus);
GtDio6xProbeSetDataMode, GtDio6xProbeSetParameters, GtDio6xProbeGetParameters, GtDio6xWriteVectorMemory, GtDio6xReadVectorMemory, GtDio6xGetErrorString