Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2178

COM-port terminal on Labview

$
0
0

Hello everyone!

I'm trying to connect my controller (atmega2560) with Labview via Com-port. 

The task is to send the commant to the controller and receive the answer. Command and answer should be hexadecimal type. 

For my task, I use standart example "Serial Write and read on two Ports". The only one changing is selecting of hexadecimal display style to the "Read string" and "Write string".

 

Well, I send to my controller this one:

0x01 00 00 01

 

For this message, controller have to anser: 

0x 0d 00 00 0d

 

But I have: 

0x 00 02 00 02 - this is the message of error, what means that controller does not get the command right (0x01000001).

 

As I can understand, changing the display style for "Write string" is not enough.

What I also have to do, to send the hexadecimal constant to my controller?

 

Sorry for my English:)

 

 


Viewing all articles
Browse latest Browse all 2178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>