On the ENA / ENA-L, what is the meaning of "1.#QNB" or "1.#QNAN"?
(SUPPORTED MODELS IN BOLD: E5071C E5070B/71B E5070A/71A E5061A/62A E5061B E5072A)
The "1.#QNB" or "1.#QNAN" measurement results are an indication that the associated data cannot be calculated correctly. For example, division by zero (0) may have occurred.
When writing VBA applications it is recommended that these results be 'handled' to avoid program errors due to type mismatch. See the example below:
Dim Trace_data as Variant ' Declare Trace_data
Trace_data = SCPI.CALCulate(1).SELected.DATA.FDATa ' Get the formatted trace data values
For NOP = 1 to 201 ' NOP is equal to Number of trace Points If Trace_data( NOP * 2 ) = "1.#QNAN" Then ' If a trace data point is invalid then 'handle' the error Trace_data( NOP * 2 ) = 9.9E99 END IF
NEXT NOP
