Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino MyRIO UART Issue

Solved!
Go to solution

Hello

 

I am doing the Arduino to MyRIO communication via UART

The transmitter is the arduino which keep sending 0x68  and the MyRIO is the receiver

The baude rate and data frame are set the same to both side.

 

The receiver can read out the length of the message showing 1  (on number sent only, therefore the length is also 1)

 

The problem is the character is not displayed (it is always 0)

 

 

I attached the code of arduino and the myRIO vi. 

 

Is there anybody giving some solution for that?

Download All
0 Kudos
Message 1 of 3
(5,098 Views)
Solution
Accepted by topic author SergioMa

@SergioMa wrote:

Hello

 

I am doing the Arduino to MyRIO communication via UART

The transmitter is the arduino which keep sending 0x68  and the MyRIO is the receiver

The baude rate and data frame are set the same to both side.

 

The receiver can read out the length of the message showing 1  (on number sent only, therefore the length is also 1)

 

The problem is the character is not displayed (it is always 0)

 

 

I attached the code of arduino and the myRIO vi. 

 

Is there anybody giving some solution for that?


3 questions all about the same thing????

 

We can see them. They are all still there for people to see.

 

There is no need to keep asking the same thing over and over and over again.

 

And you even wrote that you got it working.

 

 

0 Kudos
Message 2 of 3
(5,069 Views)

I was wrong.Actually the number is not correctly received. I thought it was working since the string length indicator showed that the string length is 1. But the number is not displayed.

0 Kudos
Message 3 of 3
(5,014 Views)