background image

PCI Hardware Installation

Note

  If you are installing a PCI RS-485 interface, you might need

to adjust the value of the bias resistors, depending on your
application. Bias resistors are not available on eight-port PCI
hardware. For more information, refer to 

Bias Resistors

.

Caution

  Before you remove your board from the package, touch

the antistatic plastic package to a metal part of your system
chassis to discharge electrostatic energy, which can damage
several components on your serial board.

Before installing your hardware, follow the 

NI-Serial Software Installation

instructions.

To install your PCI serial board, complete the following steps:

1.  Turn off your computer. Keep the computer plugged in so that it

remains grounded while you install the PCI serial board.

2.  Remove the top or side cover of the computer.
3.  Find an unused PCI expansion slot in your computer.
4.  Remove the corresponding expansion slot cover on the back

panel of the computer.

5.  Touch a metal part on your chassis to discharge any static

electricity.

6.  Insert the PCI serial board into the slot with the serial connectors

toward the opening on the back panel. Make sure that you insert
the board all the way into the slot. The board might seem to click
firmly into place, even though it is only part of the way in. The
following figure shows how to install the PCI serial board into an
expansion slot.

Содержание PCI-8430

Страница 1: ......

Страница 2: ...a Windows XP x64 Server 2003 x64 Vista 64 and LabVIEW Real Time For more information about this help file refer to the following topics Using Help Related Documentation Glossary Important Information...

Страница 3: ...rt and PCI 485 isolated two and four port PXI 8430 two four eight and 16 port PXI 8431 two four and eight port PXI 8432 two and four port and PXI 8433 two and four port PXI 8420 two four eight and 16...

Страница 4: ...uit Terminating Equipment Employing Serial Binary Data Interchange EIA RS 422 A Standard Electrical Characteristics of Balanced Voltage Digital Interface Circuits EIA 485 Standard Standard for Electri...

Страница 5: ...Using Help Conventions Navigating Help Searching Help Printing Help File Topics...

Страница 6: ...you must select or click in the software such as menu items and dialog box options Bold text also denotes parameter names dark red Text in this color denotes a caution ExpressCard serial boards Expres...

Страница 7: ...PCI serial boards PCI serial boards refers to all versions of the PCI serial boards PCMCIA serial boards PCMCIA serial boards refers to all versions of the PCMCIA serial boards PXI serial boards PXI...

Страница 8: ...ons located above the tabs Hide Hides the navigation pane from view Locate Locates the currently displayed topic in the Contents tab allowing you to view related topics Back Displays the previously vi...

Страница 9: ...le If you want to search for words in a certain order such as related documentation add quotation marks around the search words as shown in the example Searching for terms on the Search tab allows you...

Страница 10: ...topics that contain a certain string For example a search for prog lists topics that contain the words program programmatically progress and so on Use the question mark wildcard as a substitute for a...

Страница 11: ...e searches to further refine a search You can use Boolean expressions and wildcards in a nested expression For example example AND program OR VI lists topics that contain example program or example VI...

Страница 12: ...turns topics that contain both search terms You do not need to specify this operator unless you are using nested expressions OR Returns topics that contain either the first or second term NOT Returns...

Страница 13: ...urned too many topics You must remove the checkmark from this checkbox to search all topics Match similar words Broadens a search to return topics that contain words similar to the search terms For ex...

Страница 14: ...ts tab 1 Right click the book 2 Select Print from the shortcut menu to display the Print Topics dialog box 3 Select the Print the selected heading and all subtopics option Note Select Print the select...

Страница 15: ...Printing PDF Documents This help file may contain links to PDF documents To print PDF documents click the print button located on the Adobe Acrobat Viewer toolbar...

Страница 16: ...ional equipment you can order and briefly describe the NI serial hardware and software How to Use this Help File What You Need to Get Started Optional Equipment Serial Hardware Overview PCI Kits PXI K...

Страница 17: ...How to Use this Help File To use this help file refer to the following flow chart and the appropriate topics...

Страница 18: ...I 485 two four or eight port PCI 232 isolated two or four port PCI 485 isolated two or four port PXI Kits PXI 8430 two four eight or 16 port PXI 8431 two four or eight port PXI 8432 two or four port P...

Страница 19: ...PCMCIA Kits PCMCIA 232 one two or four port PCMCIA 485 one or two port The following CD NI Serial Software which is included in your kit...

Страница 20: ...pin to DB 9 adapter cable PCI and PXI eight port and PCI PXI 8430 16 boards only RS 232 9 pin to 9 pin null modem cable RS 232 9 pin to 9 pin straight through cable RS 232 9 pin to 25 pin null modem c...

Страница 21: ...Serial Hardware Overview PCI Kits PXI Kits USB Kits ENET Kits ExpressCard Kits PCMCIA Kits...

Страница 22: ...to 16 DB 9 connectors The PCI 232 16 uses a breakout box to convert the 100 pin connector on the board to 16 DB 9 connectors Throughout this help file PCI serial boards refers to all versions of the...

Страница 23: ...or more information about the serial hardware specifications and operating conditions refer to the NI Serial Hardware Guide The following table lists the PCI serial board numbers and corresponding boa...

Страница 24: ...PCI 485I RS 485 two port isolated RS 485 four port isolated...

Страница 25: ...the board to 16 DB 9 connectors The PXI 8420 16 uses a breakout box to convert the 100 pin connector on the board to 16 DB 9 connectors Throughout this help file PXI serial boards refers to all versi...

Страница 26: ...r more information about the serial hardware specifications and operating conditions refer to the NI Serial Hardware Guide The following table lists the PXI serial board numbers and corresponding boar...

Страница 27: ...PXI 8423 RS 485 two port isolated RS 485 four port isolated...

Страница 28: ...rmation about transceiver control modes refer to USB 232 Transceiver Modes The RS 485 hardware supports four hardware transceiver control modes for reliable communication with two and four wire device...

Страница 29: ...tain FIFO First In First Out buffers to reduce susceptibility to interrupt latency for faster transmission rates Also serial ENET interfaces contain additional onboard buffers to reduce susceptibility...

Страница 30: ...If your network does not support DHCP use the NI Ethernet Device Configuration utility as described in Serial ENET Configuration to configure network parameters for the serial ENET interface...

Страница 31: ...a serial connection In general DTE and DCE refer to computer equipment and modems respectively For more information about cabling a RS 232 port to other devices refer to RS 232 DTE vs DCE The RS 485 p...

Страница 32: ...E and Data Communications Equipment DCE refer to the types of equipment on either end of a serial connection In general DTE and DCE refer to computer equipment and modems respectively For more informa...

Страница 33: ...NET X X2 X X2 X2 ExpressCard X X PCMCIA X X X Windows Vista Windows 2000 XP Server 2003 Windows XP x64 Server 2003 x64 and LabVIEW Real Time allow a maximum of 256 COM ports If you require additional...

Страница 34: ...ng user interfaces a complete ANSI C environment for building your test program logic and a collection of automated code generation tools as well as utilities for building automated test systems monit...

Страница 35: ...object oriented API that will easily adapt to new instrumentation interfaces as they evolve making application migration to the new interfaces easy VISA is the industry standard for developing instrum...

Страница 36: ...rial software on your Windows system follow these steps 1 Log on as Administrator or as a user with administrator privileges 2 Insert the NI Serial Software CD 3 Click Install Software and follow the...

Страница 37: ...clicking the next to it 3 Find your remote system in the list and expand it 4 Right click Software and select Add Remove Software 5 In the Add Remove Software window click NI Serial and select Instal...

Страница 38: ...Install the Hardware PCI Hardware Installation PXI Hardware Installation USB Hardware Installation ENET Hardware Installation ExpressCard Installation PCMCIA Hardware Installation...

Страница 39: ...install your PCI serial board complete the following steps 1 Turn off your computer Keep the computer plugged in so that it remains grounded while you install the PCI serial board 2 Remove the top or...

Страница 40: ...he PCI serial board mounting bracket to the back panel mounting rail of the computer 8 Replace the cover 9 Turn on your computer 10 The operating system will automatically detect your hardware The ser...

Страница 41: ...serial board Before installing your hardware follow the NI Serial Software Installation instructions To install your PXI serial board complete the following steps 1 Turn off your PXI or CompactPCI ch...

Страница 42: ...he PXI Serial Board 6 Screw the PXI serial board front panel to the front panel mounting rail of the PXI or CompactPCI chassis 7 Turn on your PXI or CompactPCI chassis 8 The operating system will auto...

Страница 43: ...Serial Software Installation instructions To install your USB serial hardware complete the following steps 1 If you are installing a USB 485 4 connect the external power supply 2 Connect the USB cabl...

Страница 44: ...serial ENET Plug the other end of the power cord into an AC outlet Caution If you do not use the power supply included in your kit ensure that you do not operate your serial ENET interface at any vol...

Страница 45: ...col DHCP to perform the configuration automatically Turn on the front panel power switch The PWR RDY LED alternates rapidly between red and yellow while the unit completes its power on self tests and...

Страница 46: ...PWR RDY LED is steady red the serial ENET has an unrecoverable error Contact National Instruments Technical Support If the PWR RDY LED blinks a slow red yellow pattern the serial ENET did not pass its...

Страница 47: ...l the ExpressCard serial board in your computer insert the card into a free ExpressCard socket The card has no jumpers or switches to set and you do not need to shut down the system before you insert...

Страница 48: ...CIA socket The card has no jumpers or switches to set and you do not need to shut down the system before you insert it The following figure shows how to insert a PCMCIA serial card and how to connect...

Страница 49: ...ftware Version Monitor Record and Display NI VISA API Calls System Report Generation View or Change Serial Port Settings Port Settings Advanced Settings Save Pending Changes Discard Pending Changes Re...

Страница 50: ...NI Serial Troubleshooting Wizard to verify installation and troubleshoot serial problems Windows only Launch NI Spy to monitor NI VISA API calls to serial interfaces Windows only View information abo...

Страница 51: ...to serial port settings you must launch MAX with administrative privileges To launch MAX with administrative privileges right click the MAX icon on the desktop or the Start menu and select Run as adm...

Страница 52: ...and select Create New 3 In the Create New dialog window select Serial ENET Interface and click Finish 4 Follow the prompts in the Add Serial ENET Hardware Wizard to add your serial ENET interface If...

Страница 53: ...zard 1 Launch MAX 2 Select Help Troubleshooting NI Serial Troubleshooting Wizard The Troubleshooting Wizard tests your serial interface and displays the results as shown below NI Serial Troubleshootin...

Страница 54: ...rop down menu that appears 4 When prompted click the Yes button to confirm the removal of your interface 5 MAX automatically updates the list of installed serial interfaces You can also select View Re...

Страница 55: ...MAX displays the NI Serial software version number in the right pane To view the NI Serial software version installed on a LabVIEW RT controller follow these steps 1 Launch MAX 2 Expand Remote System...

Страница 56: ...by clicking the next to the folder 3 Right click on your serial interface and select NI Spy from the drop down menu that appears 4 On the NI Spy toolbar click the blue arrow button to start a capture...

Страница 57: ...installed on your system To create a report follow these steps 1 Launch MAX 2 Click File Create Report 3 Follow the dialog prompts to select the report type and the system and components you want to i...

Страница 58: ...e folder 3 Select your serial interface to display hardware information in the right pane 4 Right click on the serial port you want to modify and select Goto COM where is the serial COM number assigne...

Страница 59: ...nd plug in boards are displayed To change the settings of a port on a plug in serial board select it from the list and expand it to see the ports 7 Select a port to change its settings To see chassis...

Страница 60: ...as resistors on the USB 485 click the Advanced tab For more information about these settings refer to Advanced Settings Note Transceiver modes apply to RS 485 and USB 232 two and four port interfaces...

Страница 61: ...ange any setting by clicking the arrow button to the right of a field When you click the arrow button a list of valid values for that field appears and you can select the desired setting from the list...

Страница 62: ...ngs click the Advanced tab shown in the following figure The available settings may change depending on what serial interface you are configuring Click Show Help in the upper right corner of the MAX w...

Страница 63: ...Save Pending Changes To save your changes to this item click Save...

Страница 64: ...ges To discard your changes to this item click Revert Revert is available only if you have made at least one change to this item It undoes any changes you have made and restores the item to the most r...

Страница 65: ...Restore Defaults To reset the fields to their default values at any time click the Defaults button...

Страница 66: ...ethod to back up and restore your port settings or deploy them to other systems To export your port settings to a file select File Export Be sure to pick the correct LabVIEW Real Time system from whic...

Страница 67: ...unicator 1 Launch MAX 2 Expand the Devices and Interfaces directory by clicking the next to the folder 3 Select your serial interface and expand it to see its ports by clicking the next to its name 4...

Страница 68: ...ues to mark the COM numbers associated with that hardware as in use This allows you to reinsert the hardware and have those ports keep their original COM numbers To free up the COM number assignments...

Страница 69: ...ional Help and Resources To access additional help and resources for the NI Serial software and your serial hardware refer to the following topics NI Serial Online Help National Instruments Serial Web...

Страница 70: ...elp The NI Serial Help addresses questions you might have about NI Serial and includes troubleshooting information Follow these steps to access the NI Serial online help 1 Launch MAX 2 Select Help Hel...

Страница 71: ...National Instruments Serial Web Site Follow these steps to access the National Instruments Web site for serial 1 Launch MAX 2 Select Help National Instruments on the Web NI Serial...

Страница 72: ...Serial ENET Configuration Viewing Network Settings Configuring Network Settings Using the CFG RESET Switch Verifying the Hostname Using DHCP Using Static IP Parameters Updating Firmware...

Страница 73: ...s as indicated in the IP address hostname column A hostname indicates DHCP has successfully configured the device A numerical IP address indicates the device has successfully been configured with a st...

Страница 74: ...e network settings Hostname Verification Error Detected 5 To view or change the settings for a particular serial ENET interface select it in the list and click Properties Refer to Configuring Network...

Страница 75: ...formation about using this switch While in network configuration mode the PWR RDY LED alternates rapidly between red and yellow and normal operation is halted Note If you only want to view the network...

Страница 76: ...if the numerical IP address changes However some DHCP servers do not implement hostname registration The serial ENET interface requires domain name server DNS registration when using DHCP If your DHC...

Страница 77: ...Static IP Parameters for more information Specifying IP Settings Note The IP settings shown above are shown only as a format example 4 You can enter an optional comment to help you identify the device...

Страница 78: ...is a recessed switch beside the Ethernet ENET connector on the rear panel Refer to Rear Panel of a Four Port Serial ENET Interface for an illustration of its location This switch performs two function...

Страница 79: ...nnections then press and hold the CFG RESET switch and wait approximately three seconds until the PWR RDY LED becomes solid red If you release the switch prior to three seconds the serial ENET interfa...

Страница 80: ...RDY LED becomes solid red If you release the switch prior to three seconds no change occurs to the network configuration and the serial ENET interface continues to boot normally The PWR RDY LED goes t...

Страница 81: ...lick OK Change the device s hostname to match the DNS entry Use this option if you want to accept the hostname the DHCP server assigns or if you cannot contact the network administrator to change the...

Страница 82: ...our network administrator to change the DNS entry 4 Review the network parameter settings in the Properties window 5 Confirm that the device is in network configuration mode and click OK The device re...

Страница 83: ...gistration typically requires active management by a corporate MIS department or equivalent because of several risks for failure One possible failure can occur if the pool of available addresses conta...

Страница 84: ...dress changes with successive reboots If you are setting up a small network for your instrumentation system National Instruments recommends using static IP addresses because they are easier to impleme...

Страница 85: ...mple 130 164 54 20 Refer to Choosing a Static IP Address Subnet mask A code that helps the network device determine whether another device is on the same network or a different network Gateway IP The...

Страница 86: ...nes the IP address format You should use the same subnet mask as the computer you are using to configure your serial ENET interface If your subnet mask is 255 255 255 0 the first three numbers in ever...

Страница 87: ...this information you can obtain it by Viewing Network Settings Note The NI Ethernet Device Firmware Update utility cannot update the firmware while any network connections are active Close any open co...

Страница 88: ...mware in the unit A dialog box reports that the update utility is searching for the Ethernet device 7 The utility prompts you to confirm the change you are about to perform Click OK to continue As the...

Страница 89: ...ing the RS 485 Transceiver Control Mode in Windows Setting the RS 485 Transceiver Control Mode in LabVIEW RT Bias Resistors USB 485 Programmatically Controlled Bias Resistors Setting the USB 485 Progr...

Страница 90: ...emember that you must use the standard Windows serial communication functions or any API that uses the standard Windows serial communication functions such as NI VISA For more information about NI VIS...

Страница 91: ...s standard baud rates In addition the PCI PXI 843x family of hardware supports any baud rate between 2 bit s and the maximum supported baud rate for that interface National Instruments considers the f...

Страница 92: ...1The two wire auto control mode for the RS 485 transceiver has a maximum baud rate of 2000 kbit s 2The PCMCIA 232 4 has a maximum baud rate of 115 2 kbit s...

Страница 93: ...of overflowing the RX FIFO buffer Secondary interrupt handling is a setting at the system wide level and is enabled by default To enable or disable this feature complete the following steps 1 Copy to...

Страница 94: ...iver state RS 232 DTE DCE transceiver control To determine which features your product supports refer to the following table Serial Hardware Features Hardware Adjustable FIFO Settings Get Interface Ty...

Страница 95: ...PXI 8423 USB 232 one port X USB 232 two and four port X USB 485 one port X X X USB 485 two and four port X X X X ENET 232 ENET 485 X X ExpressCard 8420 X ExpressCard 8421 X X X PCMCIA 232 X X PCMCIA 4...

Страница 96: ...serial boards have configurable FIFO settings Use the Advanced tab in MAX to configure your FIFO settings When you configure FIFO settings consider the following points You can select larger FIFO buf...

Страница 97: ...g lines to your source code include winioctl h include NiSerial h Note The header file NiSerial h is included on your NI Serial software CD You also can find it in the NI Serial folder where you insta...

Страница 98: ...0 LPVOID l_SerialInterface sizeof l_SerialInterface LPDWORD l_ByteCount NULL...

Страница 99: ...ng table lists the status of the transmitters and receivers under each transceiver control mode RS 485 Transceiver Control Modes Mode Transmitter Receiver Four wire mode Always enabled Always enabled...

Страница 100: ...Four Wire Mode Use the four wire mode for most full duplex systems In this mode the transmitter and receiver are always enabled This mode is the default...

Страница 101: ...of the UART Universal Asynchronous Receiver Transmitter is unasserted To transmit your application first must enable the transmitter by asserting DTR After the data is fully transmitted your applicat...

Страница 102: ...re DTR with echo mode Although this mode uses the same method as the DTR with echo mode to control the transmitter the hardware automatically disables the receiver whenever the transmitter is enabled...

Страница 103: ...henever the transmitter is enabled so you do not receive the packets sent from your transmitter Note When you are communicating with a two wire device National Instruments recommends that you use the...

Страница 104: ...Setting the RS 485 Transceiver Control Mode in Windows Setting the Default Mode of Operation To set the default mode of operation Use the Advanced tab in Measurement Automation Explorer MAX...

Страница 105: ...eIoControl Windows function on PCI PXI USB ExpressCard and PCMCIA RS 485 hardware complete the following steps 1 Add the following lines to your source code include winioctl h include NiSerial h Note...

Страница 106: ...Count NULL 4 To retrieve the current RS 485 transceiver control mode you can use NISERIAL_GET_RS485_MODE and DeviceIoControl with the following code TRANSCEIVER_MODE l_TransceiverMode DWORD l_ByteCoun...

Страница 107: ...ine IOCTL_SERIAL_SET_TRANSCEIVER_MODE CTL_CODE FILE_DEVICE_SERIAL_PORT 37 METHOD_BUFFERED F 2 To set the RS 485 transceiver control mode use IOCTL_SERIAL_SET_TRANSCEIVER_MODE and DeviceIoControl For e...

Страница 108: ...Note Without modification the default mode is set to four wire 1 Using an FTP client download the ni rt system niserial dbs file from the LabVIEW Real Time target 2 Locate the entry in the niserial d...

Страница 109: ...he LabVIEW Real Time target replacing the original file Reboot your LabVIEW Real Time target for your changes to take effect For example to configure COM4 to use two wire Auto Control mode the followi...

Страница 110: ...ceiver Control Mode Programmatically To modify the transceiver control mode programmatically In LabVIEW Real Time you must use the VISA wire mode attribute to change the RS 485 transceiver control mod...

Страница 111: ...stors On the PCI RS 485 two and four port serial cards PXI RS 485 two and four port serial cards and ENET RS 485 two and four port serial cards there are four user configurable bias resistors in front...

Страница 112: ...transmission line using bias resistors USB 485 Transmission Line Using Bias Resistors The values of the programmatically controlled bias resistors have been calculated such that there is a voltage of...

Страница 113: ...d disabled during USB suspend There are two ways to control these resistors Use the Advanced tab in MAX If the Enable Dynamic Bias Resistors box is checked the resistors are enabled automatically when...

Страница 114: ...r NI Serial software CD You also can find it in the NI Serial folder where you installed your National Instruments software typically C Program Files National Instruments NI Serial 2 The SERIAL_RS485_...

Страница 115: ...e you can use NISERIAL_GET_RS485_BIAS and DeviceIoControl with the following code SERIAL_RS485_BIAS l_SerialRs485Bias DWORD l_ByteCount DeviceIoControl PortHandle NISERIAL_GET_RS485_BIAS LPVOID NULL 0...

Страница 116: ...re uses programmatic control codes and the DeviceIoControl Windows function to retrieve the RS 232 transceiver state and transceiver mode To retrieve the RS 232 transceiver state using the DeviceIoCon...

Страница 117: ...2 transceiver state use NISERIAL_GET_RS232_STATE and DeviceIoControl with the following code SERIAL_RS232_STATE l_SerialRs232State DWORD l_ByteCount DeviceIoControl PortHandle NISERIAL_GET_RS232_STATE...

Страница 118: ...ced into DTE mode Force DCE The transceiver is forced into DCE mode Auto 232 The transceiver automatically switches between DTE and DCE modes about four times a second until a valid RS 232 signal is d...

Страница 119: ...following lines to your source code include winioctl h include NiSerial h Note The header file NiSerial h is included on your NI Serial software CD You also can find it in the NI Serial folder where y...

Страница 120: ...4 To retrieve the current RS 232 transceiver mode you can use NISERIAL_GET_RS232_MODE and DeviceIoControl with the following code TRANSCEIVER_MODE l_TransceiverMode DWORD l_ByteCount DeviceIoControl...

Страница 121: ...nction complete the following steps 1 Add the following lines to your source code include winioctl h include NiSerial h Note The header file NiSerial h is included on your NI Serial software CD You al...

Страница 122: ...OID NULL 0 LPVOID NULL 0 LPDWORD l_ByteCount NULL 5 To retrieve the current state of the RS 232 signal RI when the transceiver is in DCE mode use the following code SERIAL_RI_OUT l_SerialRiOut DWORD l...

Страница 123: ...CD LPVOID NULL 0 LPVOID NULL 0 LPDWORD l_ByteCount NULL 8 To clear the RS 232 signal DCD when the transceiver is in DCE mode use the following code DWORD l_ByteCount DeviceIoControl PortHandle NISERIA...

Страница 124: ...SERIAL_DCD_OUT l_SerialDcdOut DWORD l_ByteCount DeviceIoControl PortHandle NISERIAL_GET_DCD LPVOID NULL 0 LPVOID l_SerialDcdOut sizeof l_SerialDcdOut LPDWORD l_ByteCount NULL...

Страница 125: ...LEDs The ENET serial and USB serial two and four port hardware uses bicolor light emitting diodes LEDs to indicate device and port status USB LED Descriptions ENET LED Descriptions ENET PWR RDY LED Si...

Страница 126: ...4 only Red Powered and connected to USB but not fully configured Yellow Device is ready normal operation Blinking Red or Red Yellow Device error Contact NI Port x Solid Red Port is open but no valid s...

Страница 127: ...2 PORT LEDs USB Serial Hardware LEDs...

Страница 128: ...Slow flashing pattern indicates an error occurred LINK 10 100 Indicates the serial ENET interface detected a twisted pair 10Base T or 100Base TX link The color indicates the connection speed If yellow...

Страница 129: ...uration mode At other times the PWR RDY LED blinks slowly in a recognizable pattern to alert you of internal errors Use the following steps to interpret and record the pattern that the PWR RDY LED fla...

Страница 130: ...gins with a series of long one second flashes that is one second red one second yellow These long flashes represent the digit in the tens column There can be one to nine long flashes which represent d...

Страница 131: ...resent the digits 1 through 9 For example one short flash represents the digit 1 in the ones column and nine short flashes represent the digit 9 in the ones column Using this method the PWR RDY LED fl...

Страница 132: ...Your Error Message Number When you have computed your error message number write it down and also note the ON OFF state of the LINK TX and RX LEDs Have this information available when calling Nationa...

Страница 133: ...or Descriptions The following topics describe serial hardware connectors Connecting Cables Connecting Two Wire Devices DB 9 Connector Modular Jack Connector DB 25 Connector 68 Pin Connector 100 Pin Co...

Страница 134: ...ith the four port serial boards by ordering the 10 position modular jack to DB 25 converter cable from National Instruments The eight port serial boards include a pig tail cable adapter providing eigh...

Страница 135: ...o a port on your board using half duplex communication you need a single twisted pair of wires At the board connect the TXD and RXD signals pins 8 and 4 on a DB 9 connector pins 5 and 20 on a DB 25 co...

Страница 136: ...for the eight port board and the DB 9 connectors to the 16 port breakout box DB 9 Connector Pin Locations DB 9 Pin Descriptions DB 9 Pin 232 Signal DTE 485 Signal 1 DCD GND 2 RXD CTS HSI 3 TXD RTS HSO...

Страница 137: ...jack 10 Position Modular Jack Pin Locations 10 Position Modular Jack Pin Descriptions 10 Position Modular Jack Pin 232 Signal 485 Signal 10 DCD GND 9 RXD CTS HSI 8 TXD RTS HSO 7 DTR RXD 6 GND RXD 5 DS...

Страница 138: ...nnector Pin Locations DB 25 Pin Descriptions DB 25 Pin 232 Signal 485 Signal 2 TXD RTS HSO 3 RXD CTS HSI 4 RTS RTS HSO 5 CTS TXD 6 DSR CTS HSI 7 GND RXD 8 DCD GND 20 DTR RXD 22 RI TXD Pins not listed...

Страница 139: ...Connecting the Cables to a Four Port PXI Serial Board...

Страница 140: ...Pin Connector Port 1 2 3 4 5 6 7 8 485 Signal 485 D Sub 9 Connector 232 Signal 232 D Sub 9 Connector 66 57 49 40 32 23 15 6 RXD 5 DCD 1 68 59 51 42 34 25 17 8 CTS 2 RXD 2 65 56 48 39 31 22 14 5 RTS 3...

Страница 141: ...67 58 50 41 33 24 16 7 TXD 9 RI 9...

Страница 142: ...6 7 8 9 10 11 12 13 14 15 16 232 Signal 232 D Sub 9 Connector 2 46 6 42 10 38 14 34 DCD 1 3 47 7 43 11 39 15 35 18 32 20 30 22 28 24 26 RXD 2 4 48 8 44 12 40 16 36 19 33 21 31 23 29 25 27 TXD 3 5 49 9...

Страница 143: ...55 99 59 95 63 91 67 87 RI 9 These signals are not supported on ports 9 16 of the PCI 232 16 and PXI 8420 16 serial boards...

Страница 144: ...s RS 232 DTE versus DCE The following table lists the features of the RS 232 RS 422 and RS 485 standards RS 232 RS 422 and RS 485 Features Feature RS 232 RS 422 RS 485 Type of transmission lines Singl...

Страница 145: ...32 standard to interface peripherals to personal computers RS 232 uses transmission lines in which the state of each signal is represented by referencing the voltage level of a single line to ground R...

Страница 146: ...ground as in RS 232 but rather by the relative voltage of the two lines to each other For example the TX signal is carried on two wires wire A and wire B A logical 1 is represented by the voltage on...

Страница 147: ...of devices you can use from 10 to 32 and by working with half duplex bus architectures Unlike the RS 422 standard RS 485 addresses the issue of using multiple transmitters on the same line RS 485 defi...

Страница 148: ...ics explain some serial communication issues including duplex architectures termination methods bias resistors and types of connecting equipment Duplex Architectures Full Duplex Half Duplex RS 485 Ter...

Страница 149: ...ng both devices switch the connections from their transmitter to their receiver or vice versa The device that was receiving data can then transmit over the line In full duplex communication the device...

Страница 150: ...ull duplex system one transmission line connects the bus master transmitter to all of the slave receivers A second transmission line connects all of the slave transmitters to the bus master receiver B...

Страница 151: ...master slave protocol However in a half duplex system all transmitters and receivers are connected to the same transmission line A half duplex system is often referred to as a two wire system The fol...

Страница 152: ...nd last instruments The terminating resistor should match the characteristic impedance of the transmission line typically 100 to 120 You can order an optional DB 9 RS 485 termination connector that co...

Страница 153: ...ble To prevent a line from receiving these data bits the transmission line can be forced into a known state by installing two bias resistors at one node on the transmission line Doing so creates a vol...

Страница 154: ...d method to connect a modem to your PC However because many applications use serial communication to connect two or more DTEs without modems the cabling becomes more complicated If two DTEs are wired...

Страница 155: ...232 ports are DTE serial ports USB 232 two and four port only can be configured to DTE or DCE Refer to USB 232 Transceiver Control for more information...

Страница 156: ...rdware and Software The following topics describe how to uninstall your serial hardware and the NI Serial software Delete a Serial Interface Uninstall Software from Your LabVIEW RT Target Uninstall th...

Страница 157: ...rop down menu that appears 4 When prompted click the Yes button to confirm the removal of your interface 5 MAX automatically updates the list of installed serial interfaces You can also select View Re...

Страница 158: ...Launch MAX 2 Expand Remote Systems by clicking the next to it 3 Find your remote system in the list and expand it 4 Right click Software and select Add Remove Software 5 In the Add Remove Software wi...

Страница 159: ...er 2003 or the Uninstall Change button on Windows Vista 4 Select the software components you want to remove and click the Remove button The uninstallation program removes all folders utilites and regi...

Страница 160: ...ting and Frequently Asked Questions The following topics describe how to troubleshoot problems and answer some common questions Verify Installation and Troubleshoot NI Serial Problems Frequently Asked...

Страница 161: ...zard 1 Launch MAX 2 Select Help Troubleshooting NI Serial Troubleshooting Wizard The Troubleshooting Wizard tests your serial interface and displays the results as shown below NI Serial Troubleshootin...

Страница 162: ...OMx How can I change the COM numbers of my National Instruments serial ports Why can t I make changes to my settings in MAX on Windows Vista Why does my hardware keep reappearing after I delete it on...

Страница 163: ...interface What is the relationship between bits per second throughput and bus utilization What happens to data sent to a closed serial port Why do loopback tests of large data transfers sometimes have...

Страница 164: ...e System icon 2 Select the Hardware tab and click the Device Manager button 3 Double click the Multifunction Adapters icon 4 From the Multifunction adapters list right click the National Instruments i...

Страница 165: ...7 Click the Scan for Hardware Changes icon at the top of the Device Manager window 8 Windows should automatically detect your hardware...

Страница 166: ...communication ports are displayed without exclamation marks If any USB serial port has an exclamation mark right click the port and select Uninstall 4 Double click the Universal Serial Bus Controllers...

Страница 167: ......

Страница 168: ...below 3 Double click the Ports COM LPT icon Verify that all ExpressCard serial communication ports are displayed without exclamation marks If any ExpressCard serial port has an exclamation mark right...

Страница 169: ......

Страница 170: ...your installed serial hardware under Devices and Interfaces as shown in the following figure To view the serial hardware installed on your LabVIEW Real Time controller complete the following steps 1 L...

Страница 171: ......

Страница 172: ...in the device manager and MAX may not change This happens because Windows cannot distinguish the old hardware from the new To fix this problem delete the interface from the system and either scan for...

Страница 173: ...How can I determine which version of the NI Serial software I have installed You can use MAX to view your NI Serial software version...

Страница 174: ...How do I troubleshoot problems Use the NI Serial Troubleshooting Wizard This wizard verifies that your serial hardware and the NI Serial software are installed correctly and working properly...

Страница 175: ...e whether my hardware and software are installed properly Use the NI Serial Troubleshooting Wizard This wizard verifies that your serial hardware and the NI Serial software are installed correctly and...

Страница 176: ...the list and click the Change Remove button on Windows 2000 XP Server 2003 or the Uninstall Change button on Windows Vista 4 Select the software components you want to repair and click the Repair but...

Страница 177: ...ps 1 Launch MAX 2 Expand the Devices and Interfaces directory by clicking on the next to the folder MAX lists your installed serial hardware under Devices and Interfaces 3 Click your serial interface...

Страница 178: ...How can I change the COM numbers of my National Instruments serial ports Select a new COM number from the COM Port Number control of the Advanced MAX tab and click Save...

Страница 179: ...strative privileges 1 If MAX is open close it 2 Find the MAX icon on the desktop or by going to Start Programs National Instruments Measurement Automation 3 Right click on the MAX icon and select Run...

Страница 180: ...hen you delete a piece of hardware Windows Vista automatically rescans for new hardware If you delete more than one piece of hardware at the same time the first piece is added back to the system when...

Страница 181: ...How many serial ports can I have on my machine You can have up to 256 serial ports...

Страница 182: ...many interrupts are required for my serial interface If you have a shared IRQ board or an isolated board you need one interrupt per board Serial ENET and serial USB interfaces do not require interrup...

Страница 183: ...nough power to support the USB serial hardware and a system dialog box informs you that there is not enough power for the device reconnect the hardware to an externally powered hub The USB 485 4 is a...

Страница 184: ...y existing full speed 12 Mbit s and low speed 1 5 Mbit s modes of operation Because USB 2 0 expands on the features of USB 1 1 while preserving backward device compatibility you can use most full spee...

Страница 185: ...oltages on receive lines for both modes even though the device itself is only DTE or DCE Thus these devices may not operate correctly when using Auto232 mode Some applications immediately start commun...

Страница 186: ...be reduced when multiple USB 232 and USB 485 devices are installed This can cause slow screen updating mouse and window movements and reduced task switching performance This problem is addressed in W...

Страница 187: ...device is first powered Because the firmware images for operation under Windows 2000 and Windows XP are different and the USB bus power may not be cycled during a reboot it is possible to run the inco...

Страница 188: ...ce responds to the ping requests repeat this procedure but this time using the hostname ping hostname If your device fails to respond when using the hostname the DNS entry for the device is incorrect...

Страница 189: ...nslookup hostname If you still cannot communicate with your device contact National Instruments...

Страница 190: ...settings of the device are set properly To do this run the NI Ethernet Device Configuration utility on a computer on the same subnet as the device Confirm that the gateway settings of the host machin...

Страница 191: ...s to retrieve network parameters from a DHCP server During this time BUSY appears in the utility display If this status does not change there are several reasons why DHCP may fail to respond One of th...

Страница 192: ...utility and the serial device server is not guaranteed Though unlikely it is possible that the communication gets lost in the network Click Refresh more than once before concluding that the device is...

Страница 193: ...s dependent on network conditions for timely communications An unpredictable delay is associated with using the remote serial ports Applications may require longer serial timeouts to compensate for th...

Страница 194: ...us utilization is the percentage of time that the serial bus is actively transmitting data Because a wide range of factors such as flow control processor latency and device architecture can affect ser...

Страница 195: ...Because serial communication ports are active only when the port is open for example by using CreateFile data may be received and made available only when the port is open Assume that any data receiv...

Страница 196: ...ata transfer using a single write followed by a single read and thus rely on driver software and serial hardware buffering to hold the data between the two function calls However these buffers are of...

Страница 197: ...as SDLC and ModBus Because the serial hardware uses UARTs for communication protocols such as SDLC and ModBus are not supported in hardware However these protocols or their derivatives can be support...

Страница 198: ...se the parity function to create a ninth data bit depending on your application To create and control a ninth data bit enable parity and set parity mark or parity space for a ninth bit of either a 1 o...

Страница 199: ...NI Serial Hardware Operating System Support Bus Windows Vista 32 Windows Vista 64 Windows 2000 XP Server 2003 Windows XP x64 Server 2003 x64 Linux x86 Solaris 2 x LabVIEW PCI 843x X X X X PCI 232 485...

Страница 200: ...and plug in serial hardware in the same computer at the same time As long as your operating system supports all your NI serial hardware you can mix different types of serial interfaces in your comput...

Страница 201: ...Glossary Prefixes Symbols A B C D E F G H I K L M P R S T U V...

Страница 202: ...Prefixes Symbol Prefix Value p pico 10 12 n nano 10 9 micro 10 6 m milli 10 3 k kilo 10 3 M mega 10 6 G giga 10 9 T tera 10 12...

Страница 203: ...Symbols degrees ohms percent...

Страница 204: ...A A amperes ANSI American National Standards Institute...

Страница 205: ...B b bits B bytes baud bits per second bps bits per second...

Страница 206: ...C C Celsius COM Computer Output Microform used in reference to a communication port CTS clear to send...

Страница 207: ...ta communications equipment or data circuit terminating equipment DLL dynamic link library DMA direct memory access DSR data set ready DTE data terminal equipment DTR data terminal ready the overscore...

Страница 208: ...E EIA Electronic Industries Association EMI electromagnetic interference ENET Ethernet...

Страница 209: ...F FCC Federal Communications Commission FIFO First In First Out ft feet...

Страница 210: ...G G ground...

Страница 211: ...H HSI handshake input HSO handshake output Hz Hertz...

Страница 212: ...I I O input output IEEE Institute of Electrical and Electronic Engineers in inches IRQ interrupt request ISA Industry Standard Architecture...

Страница 213: ...K Kbaud kilobits per second...

Страница 214: ...L LED light emitting diode...

Страница 215: ...M m meters MB megabyte...

Страница 216: ...P PC personal computer PCI Peripheral Components Interconnect...

Страница 217: ...R RAM random access memory RI ring indicator RTS request to send RX receive RXD receive data the overscore denotes that the signal is active low...

Страница 218: ...S s seconds SCSI Small Computer Systems Interface...

Страница 219: ...T TX transmit TXD transmit data the overscore denotes that the signal is active low TXRDY transmit ready the overscore denotes that the signal is active low...

Страница 220: ...U UART Universal Asynchronous Receiver Transmitter...

Страница 221: ...V V volts VDC volts direct current VXI VME eXtensions for Instrumentation...

Страница 222: ...Important Information Warranty Copyright Trademarks Patents Warning Regarding Use of NI Products Compliance...

Страница 223: ...ctory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which ar...

Страница 224: ...after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages...

Страница 225: ...sent of National Instruments Corporation National Instruments respects the intellectual property of others and we ask our users to do the same NI software is protected by copyright and other intellect...

Страница 226: ...mulink Stateflow and xPC TargetBox are registered trademarks and TargetBox and Target Language Compiler are trademarks of The MathWorks Inc Tektronix and Tek are registered trademarks of Tektronix Inc...

Страница 227: ...Patents For patents covering National Instruments products refer to the appropriate location Help Patents in your software the patents txt file on your CD or ni com patents...

Страница 228: ...F ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER AD...

Страница 229: ...ING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESI...

Страница 230: ...oducts Depending on where it is operated this Class A product could be subject to restrictions in the FCC rules In Canada the Department of Communications DOC of Industry Canada regulates wireless int...

Страница 231: ...the CE marking Declaration of Conformity may cause interference to radio and television reception Classification requirements are the same for the Federal Communications Commission FCC and the Canadia...

Страница 232: ...ncy energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to...

Страница 233: ...on of Conformity DoC for this product for any additional regulatory compliance information To obtain the DoC for this product visit ni com hardref nsf search by model number or product line and click...

Страница 234: ...about other technical support options in your area visit ni com services or contact your local office at ni com contact Training and Certification Visit ni com training for self paced training eLearni...

Страница 235: ...you need contact your local office or NI corporate headquarters You also can visit the Worldwide Offices section of ni com niglobal to access the branch office Web sites which provide up to date cont...

Страница 236: ...385 0 9 725 72511 France 33 0 1 57 66 24 24 Germany 49 89 7413130 India 91 80 41190000 Israel 972 0 3 6393737 Italy 39 02 413091 Japan 81 3 5472 2970 Korea 82 02 3451 3400 Lebanon 961 0 1 33 28 28 Ma...

Страница 237: ...805 8197 Spain 34 91 640 0085 Sweden 46 0 8 587 895 00 Switzerland 41 56 2005151 Taiwan 886 02 2377 2222 Thailand 662 278 6777 Turkey 90 212 279 3031 United Kingdom 44 0 1635 523545 United States Cor...

Отзывы: