Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 220

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 219
Backplane API Functions MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 220 of 342 ProSoft Technology, Inc.
February 20, 2013
8.6 Backplane API Miscellaneous Functions
MVIbp_GetVersionInfo
Syntax
int MVIbp_GetVersionInfo(MVIHANDLE handle, MVIBPVERSIONINFO *verinfo);
Parameters
handle
Handle returned by previous call to MVIbp_Open
verinfo
Pointer to structure of type MVIBPVERSIONINFO
Description
MVIbp_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 MVIbp_Open.
The MVIBPVERSIONINFO structure is defined as follows:
typedef struct tagMVIBPVERSIONINFO
{
WORD APISeries; /* API series */
WORD APIRevision; /* API revision */
WORD BPDDSeries;/* Backplane device driver series */
WORD BPDDRevision; /* Backplane device driver revision */
BYTE Reserved[8]; /* Reserved */ (MVI94 Only)
} MVIBPVERSIONINFO;
Return Value
MVI_SUCCESS
The version information was read successfully.
MVI_ERR_NOACCESS
handle does not have access
Example
MVIHANDLE Handle;
MVIBPVERSIONINFO verinfo;
/* print version of API library */
MVIbp_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 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare