This function returns a structure with information concerning the last error reported by the Pixelink API.


..................................................................................................................................................................................................................................................................................


Controls and Indicators


          hCamera IN is the camera handle. This value is returned by Initialize.vi and is passed between Pixelink VIs as a reference.


            hCamera OUT has the same value as hCamera IN.


            pLVErrorReport OUT is a structure with information about the last error that occured.

    uReturnCode is the hexadecimal return code from the Pixelink API.


    strFunctionName is the name of the Pixelink API function that reported the error.


    strReturnCode is a text interpretation of the error code.


    strReport is a text error report.


Details


When an API call returns an error it will cache the error code and a report on the likely cause of the error. This information is retrieved by a call to GetErrorReport. The information will be overwritten the next time an API call returns an error.


Only call this function after a Pixelink VI reports an error.  The Error IN connector needs to indicate an error before the VI will operate.


Note: See Error Handling for error input and output information and error codes.