LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read HMC 5883 Magnetometer

hi nathan, i use http://www.loveelectronics.co.uk/Tutorials/8/hmc5883l-tutorial-and-arduino-library. how to read the sensor in labview 2012?

Thanks

0 Kudos
Message 11 of 24
(3,266 Views)

Have you tried the libraries that I created and posted above?

0 Kudos
Message 12 of 24
(3,266 Views)

i have tried the libraries, but that show error 5003 (LabVIEW Interface for Arduino.lvlib:I2C Write.viLabVIEW Interface for Arduino.lvlib:I2C Read.vi.  A timeout occurred while trying to read form the Arduino.)


0 Kudos
Message 13 of 24
(3,266 Views)

Does the sensor work with your Arduino and the code provided in the library you posted (without LabVIEW, simply outputing values to the serial monitor)?

0 Kudos
Message 14 of 24
(3,266 Views)

hi Nathan, the sensor work very well if i use the serial monitor from arduino. but when i tried with labview it show error 5003.(use arduino mega 1280)

do you have some tutorial for learning labview interface for arduino?

Thank you

0 Kudos
Message 15 of 24
(3,266 Views)

Are you able to run other LIFA functions with your Arduino?  You could create a simple VI to toggle the value of digital pin 13 to see if the LED turns on and off correctly.  If that doesn't work then it's not just my library.

0 Kudos
Message 16 of 24
(3,266 Views)

Many thanks nathan your lib work's perfect.

0 Kudos
Message 17 of 24
(3,266 Views)

Hello,

is it possible to connect the HMC5883L sparkfun direct with usb cable to computer and then use labview?

i have labview 2014 and i don't want to use arduino card.

I want to connect the "9 Degrees of Freedom - Razor IMU" spark fun (https://www.sparkfun.com/products/10736)

to labview without arduino card.

One person did the work for the "9 Degrees of Freedom - Razor IMU" but only for 3 gyrometers and 3 accelerometers not for the 3 magnetometers in the 9DOF RAZOR CARD. see link below:

https://decibel.ni.com/content/docs/DOC-14911

i have two option use the work done in link above and buy the HMC5883L sparkfun and use your work.

or option 2: make compilation of your work with the work of gt3000 user. but i have no knowledge to do this.

i need help

best regards

0 Kudos
Message 18 of 24
(3,266 Views)

To be able to communicate with this sensor (or any I2C sensor) via USB, you need some sort of USB to I2C device.

0 Kudos
Message 19 of 24
(3,266 Views)

 

Hi  Nathan...thanks.... im used your library and ok but im want conect x, y , z. whit compass indicator from module robotics....im intented but not understand this connection....always im used your diferent libraries publicated and happy for this. Im wait for your help me...thanks ...


0 Kudos
Message 20 of 24
(2,752 Views)