01-28-2013 12:00 AM
Hi everyone! My name is kanu and I want to give some commands to the controller using LABVIEW. I can't figure out how to send a macro serially to the controller?
01-28-2013 02:15 AM
Hi kanu,
first of all you need to check in what format of serial data your controller will receive ?
I mean to say baud rate, parity, start bit, timeout, stop bit etc.
Let me know afterwards
Thanks
01-28-2013 02:49 AM
hi ranjeet!
the controller which i am using supports the baud rate format.
thanks in advance! 🙂
01-28-2013 07:40 AM
You obviously do not understand. There is no such thing as a buad rate format.
There are several settings for the hardware level of the serial port. Buad Rate, number of parity bits, stop bit, start bit, and types of handshaking are some of these hardware settings. Check out the wiki artical on serial ports for more information on these settings:http://en.wikipedia.org/wiki/Serial_port
You controller should have a list of instructions. These instructions should be written out of the serial port. If the controller is sending information back, this information can be read. But it all depends on the instructions defined by the controller. Check out the Example Finder in LabVIEW and search for "Serial Read Write" for an example of communication code.
01-28-2013 10:45 PM
Hi buddy,
What i mean to say is when you are communicating from controller, inside controller there is a UART for serial communication. This devide will work on some settings like baud rate, data bit,stop bit, start bit etc.
First you need to figure it out then accordingly you can send or receive data.
After you complete this let us know.
here is tutorial