Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 293

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 292
MVI-ADM 'C' Programmable CIP Messaging Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 293 of 342
February 20, 2013
MVIcip_GetVersionInfo
Syntax
int MVIcip_GetVersionInfo(MVIHANDLE handle, VICIPVERSIONINFO *verinfo);
Parameters
handle handle
returned by previous call to MVIcip_Open
verinfo
pointer to structure of type MVICIPVERSIONINFO
Description
MVIcip_GetVersionInfo retrieves the current version of the API library and the
backplane device driver. The information is returned in the structure verinfo.
handle must be a valid handle returned from MVIcip_Open.
The MVICIPVERSIONINFO structure is defined as follows:
typedef struct tagMVICIPVERSIONINFO
{
WORD APISeries; /*API series */
WORD APIRevision; /* API revision */
WORD BPDDSeries; /* Backplane device driver series */
WORD BPDDRevision; /* Backplane device driver revision */
} MVICIPVERSIONINFO;
Return Value
MVI_SUCCESS
version information was read successfully
MVI_ERR_NOACCESS
handle does not have access
Example
MVIHANDLE Handle;
MVICIPVERSIONINFO verinfo;
/* print version of API library */
MVIcip_GetVersionInfo(Handle,&verinfo);
printf("Library Series %d, Rev %d\n", verinfo.APISeries, verinfo.APIRevision);
printf("Driver Series %d, Rev %d\n", verinfo.BPDDSeries,
verinfo.BPDDRevision);
Seitenansicht 292
1 2 ... 288 289 290 291 292 293 294 295 296 297 298 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare