Prosoft-technology MVI56E-LDM Bedienungsanleitung Seite 207

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 264
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
}
Seitenansicht 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 263 264

Kommentare zu diesen Handbüchern

Keine Kommentare