EasyManua.ls Logo

Rockwell Automation Allen-Bradley ControlLogix 1756-MVI - Miscellaneous Functions

Rockwell Automation Allen-Bradley ControlLogix 1756-MVI
145 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1756-RM004B-EN-P - October 2000
3-20 MVI 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; /* MVI driver series */
WORD BPDDRevision; /* MVI driver revision */
} MVIBPVERSIONINFO;
Return Value:
MVI_SUCCESS 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);

Table of Contents

Other manuals for Rockwell Automation Allen-Bradley ControlLogix 1756-MVI

Related product manuals