LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem receiving analog input from Arduino

Hi,

 

Im developing a project where i pretend to activate a valve using communications between Arduino and Labview. In this project , after i send a command to arduino , it starts sending an analog signal to Labview . I've tested the signal on arduino serial port  and with and RCOM software , and all works correctly . But, when Labview receives the data it usually jumps a line between data received fragmenting it. Example : REceives 500, 523 , 544, but Posts it as 500, 5 ,23 , 544. Can anyone help me with this? I'll post VI if necessary. Im using Arduino UNO at baud rate 9600, im using a 20 ms delay on arduino sending the data , and am acquring it on labview at a 5 ms rate.

 

Another , totally unrelated issue is that i can't understand how i can,  import a one column data from a .txt file , and graph it on Labview as a time depending signal, i want to be able to control the time difference (dt) between each row .

 

If anyone can help , ill be very thankful.

Cheers,

 

José

0 Kudos
Message 1 of 3
(2,925 Views)

Hi Josep,

 

There is a user group for Arduino and Labview: https://decibel.ni.com/content/groups/labview-interface-for-arduino

 

Posting your question there will probably be the best place to get an answer.

 

-CC 

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"


0 Kudos
Message 2 of 3
(2,921 Views)

You can see an example for analog reading, make a program in LabVIEW to test and verify the correct operation of our program in the Arduino , we will make the reading of data transmitted by the Arduino from the serial port on the card installed , proceed to read the COM port 

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

4.png

Download All
0 Kudos
Message 3 of 3
(2,645 Views)