From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Error/Response Codes from the device

Is there a way to get the error/response codes from the device without using a try-catch and getting the ErrroeCode hidden in the exception?  I am using the C# API version 4.1

0 Kudos
Message 1 of 2
(6,549 Views)

Probably not.

All the error/response codes or exceptions are handled under the namespave of NationalInstruments.FieldBus.ExceptionHandler.FBException which includes a lot of children for different exceptions.

 

Please refer to the namespace of NationalInstruments.FieldBus.ExceptionHandler.

Thanks

Chris

0 Kudos
Message 2 of 2
(6,543 Views)