Even with the examples provided by NI I get the error "Compile error. By Ref argument type mismatch" on argument "errordescription of function "flex_get_error_description".
Try it with the "One-Axis Move with Position Monitor.vbp" project. Select an axis that don't exist eg "axis 7" and you get the error in "Public Function nimcDisplayError(ByVal errorCode As Long, ByVal commandID As Integer, ByVal resourceID As Integer) As Integer" of module "NIMCExample.bas".
In VB the variable "errordescription" is declared as string. According to the help file that argument is an array of ASCII characters. So what should it be??
The examples where installed from the "Motion Control Version 6.1.2" CD.
Does someone have a working e
xample of how to retrieve the error description with VB ???