From: Dennis Knutson on
First, you really need to determine the make and model of instrument? There are so many variations in serial communication that it's impossible to give step-by-step instructions. There are many existing drivers at the <a href="http://www.ni.com/devzone/idnet/" target="_blank">Instrument Driver Network</a>. If a driver exists, then you can save a tremendous amount of time. Second, what exactly do you mean by '2 computers via RS-232'? Two different computers each with an instrument? Third, you need to have a programming manual for the instrument? This will be required. Does the vendor of the instrument provide a test program for you to verify that the com port is configured correctly and you have the right cable? Doing this type of verification is important to do before you even think about using LabVIEW. If there is no provided program, 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. If not, post back with answers to these questions and the results of the verification.
From: BCL on
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&nbsp;"simulate"&nbsp;that protocol for that particular instrument.
Regards BCL
From: JoeLabView on
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.


I agree with Dennis.&nbsp; You need to be able to communicate with the instrument manually before attempting to automate it.&nbsp;
&nbsp;
You should be able to find the manual over the internet with&nbsp;the make /&nbsp; model of the instrument.&nbsp; Find some basic commands and try them using Hyperterminal.&nbsp; I'm not sure what more you would accomplish by communicating between two PC's other than seeing that the serial ports work.&nbsp; They should be okay.
Try to focus on communicating with the instrument.
What is the instrument (Manufacturere &amp; model), or did I miss that in the previous posts?
First  |  Prev  | 
Pages: 1 2
Prev: array
Next: Using Month Calender of .net in Labview .