From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Continuous Measurements in I2C (USB8452)

Greetings,

I am a newbie on LabVIEW, therefore I would like to apologize for any obvious question or mistake that you may found in the vi. I am trying to commuinicate with a hall effect magnetic sensor (AK8963) by I2C using the USB 8452. I am able to cummunicate and wirte in all the registers, however, I am unable to measure continous data from the sensor. I have to press continous measurements, then stop, then play in order to get different values at diferent times. Hence, I would like to ask for any help in order to measure and write on the registers in a continous manner. 

 

I would to thanks in advance.

Download All
0 Kudos
Message 1 of 2
(1,919 Views)

You could use a While Loop for continuous measurements: Tutorial: For Loops and While Loops

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