Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

xbee communacationwith use sbrio

Solved!
Go to solution

Hi.

Thank you and i will try. Another problem i connected ardunio on serial port and i start to read and i always take frame error  .Error code error-1073807253 how to i fixed this problem .?What do you think this problem?

0 Kudos
Message 11 of 18
(3,054 Views)

Hi!

 

As far as the error you are receiving goes, that particular error is a framing error.  Serial data is transferred one byte at a time. Each byte has a specific format with a start bit, data bits, parity, and stop bits. A framing error occurs when a byte of data is received, but it is not in the format expected.

 

This error can occur for a multitude of reasons, and it best outlined in the article that I referred earlier in the thread.  Among various other things, It is possible that the voltage levels being sent to the sbRIO over the serial port do not match up with what the sbRIO is expecting,

 

Thanks!

Tucker
Applications Engineering
National Instruments
0 Kudos
Message 12 of 18
(3,037 Views)

Hi

Thank you for answer.Xbee logic level 3.3 volt.What is the sbrio logic level?Do you know about this?

0 Kudos
Message 13 of 18
(3,024 Views)

Hi!

 

I believe the sbRIO typically operates at 5V.  Have you been able to try the steps outlined in the other forum post yet?

 


Thanks!

Tucker
Applications Engineering
National Instruments
0 Kudos
Message 14 of 18
(3,008 Views)

Hi

 You are right, 5V logic level of sbrio rs 232 port.Thank you for answered. İ foun this example http://www.ni.com/example/27164/en/ and FPGA configurate to rs 232 port .DIO Tx and other DIO Rx .Did you try this example ? and Do you know how to tadopted to sbrio 9636 this example?

0 Kudos
Message 15 of 18
(3,002 Views)
Solution
Accepted by topic author osman87

Hi osman87,

 

For FPGA projects it is important to migrate the VI's from the project, and take into consideration the I/O otherwise you will be referencing it wrong. To migrate a FPGA project must follow this Knowledge Base article:

http://www.ni.com/tutorial/5075/en/

I found extra information about serial communication using sbRIO that may help you:

http://www.ni.com/white-paper/9595/en/

http://digital.ni.com/public.nsf/allkb/490D347C53D120B5862575C2004E6205?OpenDocument

 

regards,

 

jred101

0 Kudos
Message 16 of 18
(2,960 Views)

Thank you for reply and thank you for help.

0 Kudos
Message 17 of 18
(2,953 Views)

I am glad I was able to help

0 Kudos
Message 18 of 18
(2,943 Views)