National Instruments PCI-232/8 - Manual
National Instruments PCI-232/8 – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.
Table of Contents:
- Page 2 – Related Documentation; Contributions; Gather What You Need to Get Started
- Page 4 – Quick Start
- Page 5 – Create Devices; MAKEDEV Example
- Page 6 – Assign Serial Driver; setserial Example
- Page 7 – Assign Serial Drivers Using PCI-485; Enable PCI Interrupt
- Page 8 – Configuration; View Your Hardware Resources
- Page 9 – FIFO Example; Transmit FIFO Trigger Level
- Page 10 – Transceiver Mode
- Page 11 – Test the Setup
- Page 12 – Error Codes
- Page 13 – Common Questions; What do I do if; does not work immediately or causes a
- Page 15 – How can I use; Assign Driver
natinst.com
™
,
National Instruments
™
,
and
NI-Serial
™
are trademarks of National Instruments Corporation. Product and company names
mentioned herein are trademarks or trade names of their respective companies.
322539A-01
©
Copyright 1999 National Instruments Corp. All rights reserved. August 1999
NOTE TO USERS
U
SING
PCI S
ERIAL
WITH
L
INUX
This document contains instructions to help you install and configure the
National Instruments serial hardware for Linux. This document includes
information about the PCI-232/2, PCI-232/4, PCI-232/8, PCI-485/2,
PCI-485/4, PCI-485/8, PCI-232/2 Isolated, PCI-232/4 Isolated, PCI-485/2
Isolated, and PCI-485/4 Isolated interfaces.
This document assumes that you are already familiar with Linux.
Contents
Related Documentation ........................................................................... 2
Contributions ................................................................................... 2
Gather What You Need to Get Started.................................................... 2
Quick Start .............................................................................................. 4
Setup........................................................................................................ 5
Create Devices ................................................................................. 5
MAKEDEV Example ............................................................... 5
Find Interface Information ............................................................... 5
Assign Serial Driver......................................................................... 6
setserial Example ...................................................................... 7
Assign Serial Drivers Using PCI-485 ....................................... 7
Assign Serial Drivers Using PCI Eight-Port Interfaces............ 7
Enable PCI Interrupt ........................................................................ 7
FIFO Example .......................................................................... 9
Configure struct termios .................................................................. 9
Select Transceiver Mode ................................................................. 10
rs485 Example .......................................................................... 10
Lower Baud Rate Selection ............................................................. 10
"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.
Summary
Using PCI Serial with Linux 2 www.natinst.com Troubleshooting and Common Questions ...............................................12 Error Codes.......................................................................................12Common Questions .....................................................
Using PCI Serial with Linux 4 www.natinst.com Quick Start This section is for experienced Linux users who are familiar with the lspci and setserial tools. If you are not familiar with either of these tools or if you require a detailed explanation of the steps, skip to the next section, Setup . 1. If...
© National Instruments Corporation 5 Using PCI Serial with Linux Setup After you install the serial hardware (as shown in your PCI serial getting started manual), follow these steps to set up the interface. Create Devices Create a device for each port on your multiport interface. You only need to do...