You can add your own error codes to the existing array of error codes by doing the following:
| 1 | Add a #defined value for the error code in the list of error codes in vv_sys.h. The value of the first error code you add should be VCSERRQ. The second error code you add should have the value of VCSERRQ + 1. VCSERRQ is the number of system error codes in use. This value is different depending on whether you are using the development library or the production library. |
| 2 | Add a message string to the end of the array of error messages in the module vv_errmsg.c. The order of this array must be maintained. |
| 3 | Recompile the module vv_errmsg.c and replace it in the library. |