Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Atmega32 and Labview data read and write

$
0
0

Hallo all


In my internship program I have to write a program to communicate Atmega32 with labview. In UART 5 byte is comming,

First byte is address byte
2 & 3 bytes are current values and 
4 & 5 bytes are temperature values. 

I wanted to display the current and temperature graphs and readings in labview. I updated basic serial read and write program and attached in this mail. Appart from this I made a communication RAW protocol using this link http://www.ni.com/white-paper/4478/en/ .

 My problems are 

 

I getting some random values from microcontroller. How can I read data from correct memory address? 
Is there any specific command to read memory address? 

 

Thank you in advanced


Viewing all articles
Browse latest Browse all 5565

Trending Articles