Returns the number of vectors (steps) to run.
GX1649, GX1649-1
GxAoDioGetVectorCount (nHandle, pdwVectorSize, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1649 board. |
pdwVectorSize |
PDWORD |
Returns the number of vectors to run (1-8192) |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function returns the number of vectors that will be run during one iteration of a loop. Use the GxAoDioArm to setup the board to generate a loop or a single burst.
The following example gets the number of vectors to execute:
SHORT nStatus;
DWORD dwVectorSize;
GxAoDioGetVectorCount(nHandle, &dwVectorSize, &nStatus);
GxAoDioSetVectorCount, GxAoDioWriteMemory, GxAoGetErrorString