No, it will not work at all. You would have to wire the error out to something that is generating an NI error code and you only have it wired to an error in cluster. You could probably build an error cluster from the error code generated by the function fro the non-NI device but the error codes would not make any sense to the default codes that NI uses. It is possible to create your own error codes (Tools>Advanced>Edit Error Codes) so you might want to see what error numbers the function might generate and use those numbers in creating custom errors or re-map their numbers to standard LabVIEW error codes.