cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino-Labview AHRS

alffi8
Member

Arduino-Labview AHRS

Message contains an attachment

hi ,  im doing my final year project and ahve face some issues for the labview. i need to do the AHRS using the ALT-IMU V4 SENSOR. ive test the arduino code with a python and it manage to view the value all successful. but i had to present this in labview. so i have the arduino interface with labivew to show the roll, pitch and yaw indicators. but my floating numbers obtain to not stable as the number keep jumping. so i cant view a stable value. so whats the cause of this problem. i nee d help , ty

i also attached my arduino and labview files for my Final year project.

4 REPLIES 4
JP67
Member

Re: Arduino-Labview AHRS

Hello alffi8,


How do you communicate with your ALT-IMU V4 SENSOR ? in I2C ?

alffi8
Member

Re: Arduino-Labview AHRS

Yes, in I2C

JP67
Member

Re: Arduino-Labview AHRS

Okay, but I don't see anywre the I2C commands and sélection of your sensor in this programm.

Nathan_B.
Active Participant

Re: Arduino-Labview AHRS

Message contains a hyperlink

LIFA won't work with any Arduino sketch.  LIFA only works with it's own sketch (LIFA firmware) which means you either have to port your I2C to LabVIEW via the LIFA I2C function or somehow integrate your code into the LIFA firmware.

If you don't need to send any commands to the Arduino, you can simply create a Serial reader (basically a serial monitor) and then parse the output to extract the values that you want to display.  Take a look at the VISA Serial examples for some basics on how to use the VISA functions.

Also, as an FYI, LIFA is old and unsupported.  LINX is the new version and is supported at http://www.labviewmakerhub.com/linx