Prosoft-technology MVI56E-LDM Manual de usuario Pagina 188

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 187
CIP API Functions ControlLogix Platform "C" Programmable
Developer's Manual Linux Application Development Module
Page 182 of 264 ProSoft Technology, Inc.
March 12, 2014
OCXcip_GetModuleStatus
Syntax
int OCXcip_GetModuleStatus (OCXHANDLE apihandle, int * status);
Parameters
apihandle
handle returned by previous call to OCXcip_Open
status
Pointer to variable to receive module status
Description
OCXcip_GetModuleStatus allows and application to read the current status of the
module status indicator.
apihandle must be a valid handle returned from OCXcip_Open.
status must be a pointer to a integer variable. On successful return, this variable
contains the current status of the module status indicator LED.
Return Value
OCX_SUCCESS
The module status was read successfully
OCX_ERR_NOACCESS
apihandle does not have access
Example
OCXHANDLE apiHandle;
int status;
/* Read the Status Indicator LED */
OCXcip_GetModuleStatus (apiHandle, &status);
Vista de pagina 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 263 264

Comentarios a estos manuales

Sin comentarios