キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

How to read Serial Data from Arduino using labview VISA?

解決済み
解決策を見る

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)

 

すべてをダウンロード
0 件の賞賛
メッセージ121/143
3,142件の閲覧回数

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 件の賞賛
メッセージ122/143
3,139件の閲覧回数

here is the problem i told you before

0 件の賞賛
メッセージ123/143
3,138件の閲覧回数

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

メッセージ124/143
3,135件の閲覧回数

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 件の賞賛
メッセージ125/143
3,132件の閲覧回数

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

 

Right click >> Properties >> Scale

メッセージ126/143
3,128件の閲覧回数

Thank you so much!

0 件の賞賛
メッセージ127/143
3,113件の閲覧回数

it helped me a lot! thank you man!!

0 件の賞賛
メッセージ128/143
2,978件の閲覧回数

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

0 件の賞賛
メッセージ129/143
2,408件の閲覧回数

can i have the arduino source code please

0 件の賞賛
メッセージ130/143
2,406件の閲覧回数