EasyManua.ls Logo

Rockwell Automation Allen-Bradley ControlLogix 1756-MVI - Page 50

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-28 MVI Backplane API
MVIbp_ErrorString
Syntax:
int MVIbp_ErrorString(int errcode, char *buf);
Parameters:
errcode error code returned from an API function
buf pointer to user buffer to receive message
Description:
MVIbp_ErrorString returns a text error message associated with the error
code
errcode
. The null-terminated error message is copied into the
buffer specified by
buf
. The buffer should be at least 80 characters in
length.
Return Value:
MVI_SUCCESS message returned in
buf
MVI_ERR_BADPARAM unknown error code
Example:
char buf[80];
int rc;
/* print error message */
MVIbp_ErrorString(rc, buf);
printf(“Error: %s”, buf);

Table of Contents

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

Related product manuals