LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

interfacing labview with arduino

Solved!
Go to solution

no arduino is not receive the data and in labview i am not getting any error 

0 Kudos
Message 11 of 20
(1,615 Views)

thanks Gerdw KNIGHT OF IN

now  my task is almost  working but still one problem is there my labview is not reciving data from arduino it take some default value that 0th index value it increament and sending to labview 

0 Kudos
Message 12 of 20
(1,604 Views)

Ni nidhi,

 

do you remember message #2 and #3?

It's still valid! (I guess for the next year…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 20
(1,598 Views)

sorry,i am not getting you i guess u want  old vesrsion vi? 

so i attatched  old version vi

0 Kudos
Message 14 of 20
(1,594 Views)

Hi nidhi,

 

re-read message #2. Don't forget to read my signature line…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 20
(1,589 Views)

Hi nidhi,

 

my labview is not reciving data from arduino

Is there an error after VISARead?

What have you set as "byte count" to read?

 

When VISARead is not outputting any data then you should get

- an error because there was nothing received by the serial port within the timeout

- a warning because you wired a zero to the byte count input

 

it take some default value

Who is "it"?

Which default value is taken?

Where do you see that "default value"?

 

that 0th index value it increament

Because of that "Increment Array Element" mallable VI in your loop!?

 

and sending to labview

So "LabVIEW" (aka "your VI") is receiving some data?

Do you have problems with your VI - or with your Arduino code?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 20
(1,587 Views)

no any error is there only labview is not able to recieving the data from arduino 

0 Kudos
Message 17 of 20
(1,575 Views)
Solution
Accepted by nidhi11

Hi nidhi,

 

no any error is there only labview is not able to recieving the data from arduino

When LabVIEW is not able to receive any data you will get an error!

 

So again: any error after VISARead? Did you use a probe or an additional error indicator after VISARead?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 20
(1,571 Views)

sorry but not error comming ok is there on visa error termination and array is taking and array is automatically taking any number like garbage i am not providing that one this is the big problem labview is send the but it is not reciving

0 Kudos
Message 19 of 20
(1,563 Views)

Please use punctuation and capitalization in your messages.  That message is just one run-on sentence that I can't understand what you just said.

0 Kudos
Message 20 of 20
(1,558 Views)