Prosoft-technology MVI56E-LDM Manual do Utilizador Página 207

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 206
ControlLogix Platform "C" Programmable CIP API Functions
Linux Application Development Module Developer's Manual
ProSoft Technology, Inc. Page 201 of 264
March 12, 2014
OCXcip_Sleep
Syntax
int OCXcip_Sleep (OCXHANDLE apihandle,
WORD msdelay);
Parameters
apihandle
handle returned by previous call to OCXcip_Open
msdelay
Time delay is milliseconds
Description
OCXcip_Sleep delays for msdelay milliseconds.
Return Value
OCX_SUCCESS
The jumper information was read successfully
OCX_ERR_NOACCESS
apihandle does not have access
Example
OCXHANDLE apiHandle;
int timeout = 200;
/* Simple timeout loop */
while (timeout --)
{
//Poll for data and so on
//Break if condition is met (no timeout)
//Else sleep a bit and try again
OCXcip_Sleep (apiHandle, 10);
}
Vista de página 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 263 264

Comentários a estes Manuais

Sem comentários