Hello Zamjir,
AI S is absolutely correct. There are several RS232 examples for LabVIEW in the NI Example Finder. In order to open the examples, follow these steps:
1) Select "Help>>Find Examples..." from the menu bar in either the front panel window or block diagram window of a VI to open the NI Example Finder.
2) In the NI Example Finder, select the Search tab and type in "serial" for your keyword.
3) Double-click on "serial" in the box labeled "Double-click keyword(s)".
4) A list of examples should appear.
I recommend that you take a look at "Basic Serial Write and Read.vi" or "Advanced Serial Write and Read.vi".
I hope this helps.
E.Lee
Applications Engineer
National Instruments
Eric
DE For Life!