114
•
Appendix: X-I/O Module Option
X64 Xcelera-CL PX4 User's Manual
status
=
m_pGio[iDevice]->GetCapability(CORGIO_CAP_DIR_INPUT,&capInput);
[ . . . ]
// Constructor used for I/O Output module dialog.
if
(capOutput)
{
m_pDlgOutput[iDevice] = new CGioOutputDlg(this, iDevice, m_pGio[iDevice]);
}
[ . . . ]
// Constructor used for I/O Input module dialog.
if (capInput)
{
m_pDlgInput[iDevice] = new CGioInputDlg(this, iDevice, m_pGio[iDevice]);
}
}
//end for
}
// end if
[ . . . ]
}
Function CreateObjects()
BOOL CreateObjects()
{
CWaitCursor wait;
// Loop for all I/O resources
for (UINT32 iDevice = 0; (iDevice < MAX_GIO_DEVICE) && (iDevice < m_gioCount);
+)
{
// The SapLocation object specifying the server where the I/O resource is located
SapLocation location(m_ServerIndex, iDevice);
// The SapGio constructor is called for each resource found.
m_pGio[iDevice] = new SapGio(location);
// Creates all the low-level Sapera resources needed by the I/O object
if (m_pGio[iDevice] && !*m_pGio[iDevice] && !m_pGio[iDevice]->Create())
{
DestroyObjects();
return
FALSE;
}
}
return TRUE;
}
Summary of Contents for X64 Xcelera-CL PX4
Page 32: ...30 Installing X64 Xcelera CL PX4 X64 Xcelera CL PX4 User s Manual ...
Page 42: ...40 CamExpert Quick Start X64 Xcelera CL PX4 User s Manual ...
Page 104: ...102 Camera Link Interface X64 Xcelera CL PX4 User s Manual ...
Page 124: ...122 Glossary of Terms X64 Xcelera CL PX4 User s Manual ...