03-13-2013 02:14 PM
Hello,
I have just moved working C++ code from Visual C++ 6.0 on a Windows XP box to Visual Studio 2012 running on windows 7. I am able to initialize communication with a NI USB-5132, but when I try to read different attributes, I get the error that the calibration constants are invalid. I have tried the C++ code on two different scopes and get the same error. The calibration date on the newer unit is valid until the end of 2014. I am using the most current drivers. I want to know what else I can do to troubleshoot this problem. I am calling the following command:
ni_scope_GetAttributeViInt32 and the attributes I am looking at include: NISCOPE_ATTR_VERTICAL_COUPLING, NISCOPE_ATTR_TRIGGER_COUPLING, and NISCOPE_ATTR_TRIGGER_SLOPE.
Error BFFA4035 at niscope_GetAttributeViInt32
Status code -200437
Possible Reasons: External calibration constants are invalid. Perform an external calibration.
Driver Versions
NI-Scope run-Time 4.0
NI-Scope 4.0
NI-Visa Server 5.1.0
NI-Visa Runtime 5.1.2
03-14-2013 02:19 PM
Hi softautoman,
I would recommend trying one of the shipping examples that come with NI-Scope to see if you still get this error. These examples can be found by navigating to Start >> All Programs >> National Instruments >> NI-SCOPE >> Examples >> C.