LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture data from Arduino UNO


@BArtzon wrote:

No I am not.

Bytes at port was removed. 

Everything works somewhat fine... but sometimes when I stop the program and run it again the values does not change when I move the IMU. Can you think of any reason? 

Arduino IDE work fine like expected. 


When you stop the LabVIEW program without closing the serial port properly, the resource can get locked and you won't be able to read data without restarting LabVIEW. Check if you are doing the cleanup after execution properly when exiting the program.

0 Kudos
Message 11 of 15
(1,479 Views)

How would I do the clean up?

0 Kudos
Message 12 of 15
(1,471 Views)

@BArtzon wrote:

How would I do the clean up?


Are you closing the port VISA reference at the end of your program?

 

Posting your code would go a long ways here, otherwise we are just guessing.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 13 of 15
(1,465 Views)

Yes. I am closing my the port at the end. 

0 Kudos
Message 14 of 15
(1,457 Views)

Why is it that sometimes when I run LabVIEW it gets stuck with some data and when I try to move the IMU, the data does not change. Is it because my computer is slow or something?

 

0 Kudos
Message 15 of 15
(1,454 Views)