Hi Unclebump,
Thanks alot for the files you sent me.
I have made some changes in my code attached (6.1 version again). Today, i will try to have the interface between the PC (LabVIEW) and the microcontroller. The commands are simply again;
After i press the run button in LabVIEW;
s for the DC to start running,
r to get the data out of microcontroller
b to run the DC in reverse direction
The problem is; i write the commands in the string windows on the front panel in the code display mode, although i save the code, the next time i open the front panel, my commands are gone. Do i have to write the commands every time?
I have attached the microcontroller's data sheet. Chapter 11 is all about the serial communication. But since i am the one who programs the microcontroller, i think i can send any specified command (like s, r, b in my case) to the microcontroller?
I'll look at your codes in detail today. I'll get back, if i have questions.
Thanks alot again,
Lizzy