From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino not showing expected value in Labview

Hello,

 

I have a Arduino UNO board. Also Arduino firmware(1.0.1).

I want to use Accelerometer MMA 7361 and the code for that is as follows

 ************************* attached CODE.txt file***********************************************

This code gives values of X Y and Z axes as shown in Image A (attachment)

Also i have made a code in Labview to Read three Axes data using three parameters in Arduino functions Intialize ,read Analog Port and close Ref.

But it is reading values which are more complex than the real ones.

I have make some changes in Read analog Port VI of arduino (attached in Image 3). And removed the part which is not showing the result (I don't understand why).

 Also i have attached VI for arduino Read port.

 

Thanks

 

-Mangesh

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