08-09-2011 04:12 AM
08-09-2011 11:16 PM
Hi,
I would reccommend you to first refer the link given. It would help you get acquainted with NI-VISA, a package of softwrae libraries and interactive utilities, in LabVIEW using which you can easily establish a serial port communication with an external hardware like 8051 microcontroller. In addition to that there are several examples that you can find in NI Example Finder that covers the basics of interfacing with serial ports.
Apart from these resources I'm also attaching a link that would guide you to an Example code developed by a LabVIEW user which seems to be in line with what you are trying to do.
http://zone.ni.com/devzone/cda/epd/p/id/4483 - tutorial on VISA and Serial Communication.
http://zone.ni.com/devzone/cda/epd/p/id/4554 - example code for microcontroller interface with LabVIEW.
Trust these resources helps you develop a successful VI in LabVIEW.
Regards,
Sagar G Yadav | Application Engineer | National Instruments
08-12-2011 02:09 AM