Applies To
GX5150, File.
Purpose
Sets the specified register jump address.
Syntax
DioSetJumpAddress (nMasterHandle, nRegister, dwStep, pnStatus)
Parameters
Name |
Type |
Comments |
nMasterHandle |
SHORT |
Master or File board handle. |
nRegister |
SHORT |
Register values are: 0 Register A. 1 Register B. |
dwStep |
DWORD |
Step number jump target when the trigger condition is met. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Comments
The jump address can be any step in the physical memory range.
The board must be in either HALT or PAUSE mode.
Example
The following example sets the register A jump address to 123:
SHORT nStatus;
DioGetJumpAddress(nMasterHandle, 0, 123, &nStatus);
See Also
DioGetJumpAddress, DioGetErrorString