Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 295

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 294
MVI-ADM 'C' Programmable CIP Messaging Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 295 of 342
February 20, 2013
MVIcip_SetModuleStatus
Syntax
int MVIcip_SetModuleStatus(MVIHANDLE handle, int status);
Parameters
handle
handle returned by previous call to MVIcip_Open
status
module status, OK or Faulted
Description
MVIcip_SetModuleStatus allows an application set the status of the module to
OK or Faulted.
handle must be a valid handle returned from MVIcip_Open.
status must be set to MVI_MODULE_STATUS_OK or
MVI_MODULE_STATUS_FAULTED. If the status is OK, the module status LED
indicator will be set to Green. If the status is Faulted, the status indicator will be
set to Red.
Return Value
MVI_SUCCESS
the input scan has occurred.
MVI_ERR_NOACCESS
handle does not have access
MVI_ERR_BADPARAM
lednum or ledstate is invalid.
Example
MVIHANDLE Handle;
/* Set the Status indicator to Red */
MVIcip_SetModuleStatus(Handle, MVI_MODULE_STATUS_FAULTED);
Seitenansicht 294
1 2 ... 290 291 292 293 294 295 296 297 298 299 300 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare