GX5296, GX5961, GX5964
Initializes the DIO domain boards.
GtDio6xInitialize (nMasterNum, pnHandle, pnStatus)
Name |
Type |
Comments |
nMasterNum |
SHORT |
Master board number in the system (1-8). |
pnHandle |
PSHORT |
Returned Master handle, 0 for error. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The GtDio6xInitialize can be used to initialize the DIO system configuration (Master and Slave boards) with one command. The required domain members boards are taken from the last configuration from GTDIO6X.INI file as it was set by one of the following:
0. A previous call to GtDio6xSetupInitialization.
1. GtDio6xPanel configure push button.
2. GTDIO6X.INI file.
The function calls GtDio6xSetupInitialization for the Master and its Slaves to initialize each member of the DIO domain.
The pnHandle should be used in all subsequent calls to the driver library for Domain Wide calls.
This function automatically calls GtDio6xCalibrateDomainTimingDeskew after initializing the domain.
SHORT nMasterHandle;
SHORT nStatus;
GtDio6xInitialize (1, &nMasterHandle, &nStatus);