ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

tktds1k2k_ConfigureMathChannel

Hello. I´m using a Tektronix TDS2001C and i´m trying to use the Math function (tktds1k2k_ConfigureMathChannel) in CVI but every time I try to use the function it give me a NON-FATAL RUN-TIME ERROR.

This is my basic initialization for the Instrument:

if (iErr == 0) iErr = tktds1k2k_ConfigureChannel (ScopeHandler, "CH1", 500.0, 0.0, TKTDS1K2K_VAL_AC, 10.0, VI_TRUE);

if (iErr == 0) iErr = tktds1k2k_ConfigureChannel (ScopeHandler, "CH2", 500.0, 0.0, TKTDS1K2K_VAL_AC, 10.0, VI_TRUE);

if (iErr == 0) iErr = tktds1k2k_ConfigureMathChannel (ScopeHandler, TKTDS1K2K_VAL_MATH_CH1_MINUS_CH2);

 

Does anyone can give a suggestion or clues about it?

0 Kudos
Message 1 of 2
(3,125 Views)

Did you try following the example that is included in the IVI driver?  Since the problem seems to be after setting the attribute for Configure Math Channel by checking the soure it includes a note about using ConfigureMathChannelFFT

0 Kudos
Message 2 of 2
(3,088 Views)