Question about Serial communication (RS422 standard) and conversion

Click For Summary
SUMMARY

The discussion centers on the RS422 standard for serial communication, specifically regarding the use of RS422 with a LIDAR device that transmits data via a 9-pin serial port. The user seeks to understand the limitations of using RS422 to RS232 converters and the impact on baud rates. Recommendations include using an RS-422 PCI card or a USB to RS-422 interface card, such as the USB-COMi, which utilizes FTDI's USB-serial conversion chips. The user is also advised that if LabView supports RS-422, it may handle the necessary conversions without requiring extensive code modifications.

PREREQUISITES
  • Understanding of RS422 and RS232 serial communication standards
  • Familiarity with baud rate concepts and limitations
  • Knowledge of LabView programming and device driver development
  • Experience with USB to serial converters and their specifications
NEXT STEPS
  • Research RS-422 PCI cards and their specifications for optimal performance
  • Investigate USB to RS-422 interface cards, focusing on FTDI chipsets
  • Explore LabView configuration options for RS-422 device integration
  • Learn about differential signaling and its advantages in serial communication
USEFUL FOR

Aerospace engineers, hardware developers, and anyone involved in high-speed serial communication and device integration using RS422 and LabView.

BigSteve
Messages
18
Reaction score
0
This is my first post.
I am an aerospace engineer so these very technical computer questions still elude me.

My question is mostly about RS422 standard.
I have a piece of equipment (LIDAR) that is able to transmit data via a 9 pin serial port. If you put a jumper across two of the pins it knows to transmit as RS422, otherwise it transmits RS232. I make all the cables myself, so that is no problem.
The reason that RS422 is better for my application is that is transmits at a much higher data rate than i can get from 232. I don't care about cable length because my cables are only a few feet long.
My computer has a 9 pin serial port that can send and receive data as RS232. I have multiple USB2 ports as well as a PC Card slot.
I have been researching RS422 converters, and this is where my question comes in. If I use a 422 to 232 converter, am I still limited in the BAUD rate of the 232 port on my computer?
Which RS422 converter types would provide me with the fastest BAUD rate possible? Which would impede the data rate the least? 232, USB, or PC card.

One other question that is a little more obscure. I have programmed a device driver in LabView that uses the LIDAR as one of its devices. Will I have to completely re-code the Tx and Rx parts of the code if I use a 232 to 422 converter, or will the converter take care of that for me?

Thanks
 
Computer science news on Phys.org
Welcome to PhysicsForums, BigSteve!

You may be able to chop up this knot by buying an RS-422 PCI card, or at least a RS-422 to USB interface card, thus avoiding the need to go back to RS-232. When I was with a robotics project, we used the USB-COMi from these guys:
http://www.easysync.co.uk/

It was built around FTDI's USB-serial conversion chips (one of them plus probably a MAX485), so you may be able to find one that doesn't have to ship in from England (though to be fair, it worked really well--at least under Linux, and with the really good CS guys we had working on it). After a little bit of Googling, these guys seem to sell the exact same thing:
http://www.byterunner.com/byterunne...+RS-422,+RS-485+Serial+Adapters+(Single+Port)

One of the big differences between RS-422 and RS-232 is that in RS-422, there's differential signaling (half the signal on one pin, half on the other), giving it better noise rejection, and making it much more suitable for long-haul transmission (few hundred feet, if I recall correctly) at much faster data rates.

If LabView has the SICK built-in (I assume it's the SICK), then it should have something to handle the RS-422 side of things (probably a configuration option somewhere). Which actually should give you the fastest possible BAUD rate (I seem to recall that, at least in Windows XP, the serial port was restricted to about 125 kbps)
 
Thanks man.
I wanted to use USB but I thought it might bottle neck the higher data rate.
So,I'll definitely look into the product you suggested.
 
I am having a hell of a time finding a good all-in-one inkjet printer. I must have gone through 5 Canon, 2 HP, one Brother, one Epson and two 4 X 6 photo printers in the last 7 yrs. all have all sort of problems. I don't even know where to start anymore. my price range is $180-$400, not exactly the cheapest ones. Mainly it's for my wife which is not exactly good in tech. most of the problem is the printers kept changing the way it operate. Must be from auto update. I cannot turn off the...

Similar threads

Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
4K
Replies
1
Views
10K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 7 ·
Replies
7
Views
25K
  • · Replies 2 ·
Replies
2
Views
15K