ArgumentException thrown with VISA ErrorInterfaceNumberNotConfigured embeded. I know this exception will be thrown on occassion and want to check for it and other possible excpetions. I can write a regular expression to extract the VISA error code from the message but this seems a bit sloppy. Casting the exception as a VISAException also does not work because the ArgumentException is missing details found in the VISAException class.
Regards,
Peter