Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending data from arduino uno to labview

Hello, i have a GY 85 sensor that includes a gyro, accelerometer and compass, i am reading the data on arduino and i want to send it on labview. I am using the vi attached below, i feel like i did something wrong and i dont want to store the data in a file, i want to use the values in the same vi (real time).

i would really appreciate an answer!!!

P.S: should i send the data to labview or Myrio?

0 Kudos
Message 1 of 6
(3,579 Views)

Hi 

I don't see any code addressing the arduino, where is it?

greetings from the Netherlands
0 Kudos
Message 2 of 6
(3,567 Views)

this is the arduino code. Sorry i'm a newbie in serial communication.

0 Kudos
Message 3 of 6
(3,559 Views)

Hi

From the code it looks like the Arduino is indeed sending the data to the serial line.

Also I don't know why you are writing about the MyRIO. Do you have a MyRIO and are you using it in any way? The project is doing nothing at all.

I suspect that the express vi you call is also a MyRIO vi.

But maybe I'm wrong. 

Can you send it also?

greetings from the Netherlands
0 Kudos
Message 4 of 6
(3,557 Views)

This vi is getting the data from the arduino, the buffer indicator shows the acquired data, but in that way i can't use them. Once i'm able to use the data ill copy the code to the original vi ( it won't be helpful here), so in short i want to use the data acquired form the arduino in the code

0 Kudos
Message 5 of 6
(3,556 Views)

where did you find this vi? Can you post it so I can look at it?

greetings from the Netherlands
0 Kudos
Message 6 of 6
(3,517 Views)