07-01-2003 06:11 PM
07-02-2003
10:47 AM
- last edited on
11-26-2025
03:42 PM
by
Content Cleaner
Hi,
I assume the coil uses a serial port to receive to communicate.
The first thing you need to determine is cabling. Do you need a null modem or a straight-thru cable?. There are two COM port pinouts (DTE and DCE). The PC is DTE. If the device is also DTE, you need a null modem. This cable simply swaps the Tx and Rx terminals from one end to the other. If you use a straight-thru cable to connect to DTE you'll be connecting Tx with Tx and Rx to Rx. Most of the times you'll use a Null modem.
Next you need to detemine the serial port settings:
-Baud Rate
-Number of data bits
-Number of stop bits
-parity
-handshaking (flow control).
There are different setting for each parameter. These settings need to be the same between the devices.
The PC can use any value, so you need to check the documentation for the instrument to determine what settings it requires.
DiegoF
National Instruments.
07-02-2003 01:50 PM
07-02-2003 02:08 PM