Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB-5132 Visual Studio 2012

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

 

0 Kudos
Message 1 of 2
(2,955 Views)

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.

Josh B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,932 Views)