LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read Serial Data from Arduino using labview VISA?

Solved!
Go to solution

hey, I DID IT 

 

I can read the informations inside labview.

 

I'm having just one problem with my 'gas gauge' because Its no showing the right information. Do you know what is the problem? maybe some kind of convertion.

 

PS: I changed the whole code (i know i was told about the bytes at port... but it did work this way)

 

Download All
0 Kudos
Message 121 of 143
(2,370 Views)

Why do you have the control marked PPM wired into the VISA Read number of bytes to read.  That doesn't make any sense!  You need to have a constant wired in there.  Pick 100.  As long as you don't have a message that will be longer than 100 bytes, it would work.

 

Also, you aren't doing anything with the output of the VISA read.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 122 of 143
(2,367 Views)

here is the problem i told you before

0 Kudos
Message 123 of 143
(2,366 Views)

If you follow the instructions given in previous messages, your VI will be a whole lot simpler, work, and look like this.

Message 124 of 143
(2,363 Views)

thanks a lot for the instructions.

 

i will see those videos.

 

last question, about the gas gauge...

 

It continuos to showing me the maximum number (it looks like it is at 100%)

 

Do you know why?

 

Really, THANKS A LOT!

 

 

0 Kudos
Message 125 of 143
(2,360 Views)

Because that is what you have set for the limits of the gauge. 

 

Right click >> Properties >> Scale

Message 126 of 143
(2,356 Views)

Thank you so much!

0 Kudos
Message 127 of 143
(2,341 Views)

it helped me a lot! thank you man!!

0 Kudos
Message 128 of 143
(2,206 Views)

Can i have the arduino file (.ino) please ?

0 Kudos
Message 129 of 143
(1,636 Views)

can i have the arduino source code please

0 Kudos
Message 130 of 143
(1,634 Views)