04-22-2008 04:07 AM
04-22-2008 04:17 AM
Hi Simmy.
Try searching the Examples of LabView. There should be some good ones for RS232 also......
Best Regards BCL
04-22-2008 04:19 AM
Hi Simmy,
if you use your example finder and search for "RS-232" you will find the "Basic Serial Write and Read.vi" and the "Advanced Serial Write and Read.vi" and some others. I think this should help you to start.
Mike
04-22-2008 07:24 AM
Thread 1: Configuring the serial port:
http://forums.ni.com/ni/board/message?board.id=170&message.id=99660&query.id=0#M99660
Thread 2: Getting MAX to recognize the COM port..
This one required a modification to an ini file..
http://forums.ni.com/ni/board/message?board.id=170&message.id=19045&query.id=0#M19045
You may also want to look at the Knowledge Based information:
search:
info:
http://digital.ni.com/public.nsf/allkb/57C21F04AC7FFFCA86256877007996E3
04-22-2008 07:26 AM - edited 04-22-2008 07:30 AM
Additional info:
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_descending&message.id=145157#M145157
04-22-2008 08:28 PM
04-22-2008 09:01 PM
04-23-2008 01:49 AM
Hi Simmy.
Another approach could be using a RS232 crossover cable (RX/TX crossed) plugging this into COM1 and COM2 on the same computer.
Using Labview to Send Charecters from COM1 and using Hyperterminal on COM2 to recieve the charecters.
That way You can confirm the settings for your system.
About the instrument: Dennis is absolutely right. You defenitely need at least the manual for the instrument to know what commands You are going to send. Some instruments use their own "protocol" so You might have to "simulate" that protocol for that particular instrument.
Regards BCL
04-23-2008 01:54 AM
Hi again.
Sorry i've seem to have lost it......What i ment was of course using Hyperterminal to SEND and LabView to RECEIVE Characters.......(After all it was what You asked for)
Regards BCL
04-23-2008 06:51 AM
Dennis Knutson wrote:
you should use the windows program Hyperterminal before doing any programming. Once you've verified communication works, then maybe some of the links will make more sense.