Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping 488.2 errors to NI iberr

Is there a mapping between iberr and 488.2 standard ESR bits (Command Error, Exec Error, Query Error and Device Err)?

How does one relate to another?

Does the NI driver set iberr based on the values in ESR? If so, what is done with a 488.1 device which does not have an ESR at all.

Thanks
Raj
0 Kudos
Message 1 of 2
(3,530 Views)
The ESR is an added function of the 488.2 standard. Its use is primarily from an application standpoint. That is, how the ESR is handled depends on your application and not the driver. The Ni-488.2 is a backward compatible driver that will support both standards. As such, its error codes are generated by a marriage of driver level and hardware level queries. The ESR is not involved with the IBERR generation.
0 Kudos
Message 2 of 2
(3,530 Views)