4-10 | ni.comChapter 4 Connecting Lighting and External DevicesConnecting to Serial DevicesUse the RS232_RXD and RS232_TXD signals on the POWER-I/O connector for serialcommunication. Connect the RS232_RXD signal on the NI Smart Camera to the Tx signal onyour serial device. Connect the RS232_TXD signal on the smart camera to the Rx signal on yourserial device. Connect COM on the smart camera to the ground of your serial device.When the CONSOLE DIP switch is in the OFF position, you can use the NI-Serial driver forserial communication. You must install the NI-Serial software on the smart camera; it is notinstalled by default. Refer to the Serial Hardware and Software Help for information aboutinstalling the NI-Serial software on LabVIEW Real-Time targets, such as the smart camera.To open this document, navigate to Start»All Programs» National Instruments»NI-Serial»NI-Serial Help.Communicating with the ConsoleWhen the CONSOLE DIP switch is in the ON position, you can read device information fromthe NI Smart Camera during startup, such as the IP address and firmware version, through aserial port terminal program. Ensure that the serial port terminal program is configured to thefollowing settings:• 9,600 bits per second• Eight data bits• No parity• One stop bit• No flow controlConnecting to a Quadrature EncoderThis section applies only to the following NI Smart Cameras:• NI 1732• NI 1752• NI 1754Connect RS-422 compatible differential quadrature encoders to the NI 17xx Smart Camera toprovide positional information. A quadrature encoder uses two output channels, Phase A andPhase B, to track the position of a rotary shaft. Generally, the shaft is coupled to a motor drivethat controls the movement of an object. By providing Phase A and Phase B signals to the smartcamera, you can obtain a precise measurement of the object position. Using a quadrature encodergives you the ability to specify your trigger delay in terms of positional units—such as inches orcentimeters, after applying the resolution information of your encoder—rather than time.