National Instruments ENET-232 Series User Manual

National Instruments ENET-232 Series User Manual

Serial, for windows 2000/nt 4.0 and linux x86/solaris 2.x
Hide thumbs Also See for ENET-232 Series:
Table of Contents

Advertisement

Quick Links

Serial
ENET-232 Series and
ENET-485 Series
User Manual for
Windows 2000/NT 4.0 and
Linux x86/Solaris 2.x
ENET-232 and ENET-485 Series User Manual
November 2001 Edition
Part Number 370323B-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENET-232 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Instruments ENET-232 Series

  • Page 1 Serial ENET-232 Series and ENET-485 Series User Manual for Windows 2000/NT 4.0 and Linux x86/Solaris 2.x ENET-232 and ENET-485 Series User Manual November 2001 Edition Part Number 370323B-01...
  • Page 2 Sweden 08 587 895 00, Switzerland 056 200 51 51, Taiwan 02 2528 7227, United Kingdom 01635 523545 For further support information, see the Technical Support Resources appendix. To comment on the documentation, send e-mail to techpubs@ni.com. © 2000, 2001 National Instruments Corporation. All rights reserved.
  • Page 3 The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
  • Page 4 Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the equipment under the FCC Rules.
  • Page 5 Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives Readers in the European Union (EU) must refer to the Manufacturer’s Declaration of Conformity (DoC) for information** pertaining to the CE Mark compliance scheme.
  • Page 6: Table Of Contents

    Default Hostname ..................2-2 Step 3. Connect the Cables................2-3 Step 4. Switch on Your Serial Device Server..........2-4 Chapter 3 Ethernet Configuration Entering Network Configuration Mode .................3-1 Using NI Ethernet Device Configuration ..............3-2 © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 7 Contents Configuring the Network Settings ..............3-4 Static IP Parameters ..................3-6 Choosing a Static IP Address................3-6 For a Network Administered by a Network Administrator ....3-6 For a Network without a Network Administrator ......3-6 Verifying the Hostname .................. 3-7 Chapter 4 Serial Port Configuration Adding a New Serial Interface ..................
  • Page 8 PWR/RDY LED Signaling Appendix C Troubleshooting and Common Questions Appendix D Serial Port Information Appendix E Specifications Appendix F VISA and Serial APIs on UNIX Appendix G Technical Support Resources Glossary Index © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 9: About This Manual

    About This Manual This manual contains instructions to help you install and configure the National Instruments serial device server and the serial server software for Windows 2000/NT 4.0 (Service Pack 4 or higher) or Linux x86/Solaris 2.x. This manual includes information about the ENET-232 and ENET-485 serial device servers.
  • Page 10: Related Documentation

    About This Manual Italic text in this font denotes text that is a placeholder for a word or value monospace italic that you must supply. serial device server Serial device server refers to all versions of the ENET-232 and ENET-485 hardware.
  • Page 11: Introduction

    Configure the Serial Port Chapter 4 Verify the Installation Passes? Troubleshooting Chapter 5 Connect Serial Devices to Serial Ports Review Programming Requirements Chapter 6 Learn About Transceiver Control Modes Write Application Program © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 12: What You Need To Get Started

    Linux x86 – Solaris 2.x ❑ TCP/IP protocol installed on your computer ❑ One of the following National Instruments (NI) serial device servers: – ENET-232 Series (two or four port) – ENET-485 Series (two or four port) ❑ Universal power supply and the appropriate cable for your area, supplied by NI ❑...
  • Page 13: Serial Device Server Overview

    That is, although the serial device server supports network connections from multiple hosts, each serial port is associated with only one host at a time. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 14: Led Overview

    Chapter 1 Introduction Dynamic Host Configuration Protocol (DHCP) is available on many networks to configure network parameters automatically. DHCP simplifies the installation and configuration process for the serial device server. For more information about DHCP, refer to the section, Using DHCP, in Chapter 6, Using Your Serial Device...
  • Page 15: Serial Server Software Overview

    The serial server software includes the following components: • Device driver • Serial Configuration utility (NI Ports) • NI Ethernet Device Configuration utility • Serial Device Server Diagnostics utility • NI Ethernet Device Firmware Update utility © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 16: Linux X86/Solaris 2.X

    On Linux x86/Solaris 2.x, you can use the NI-VISA Application Programming Interface (API) to control the serial ports on the serial device server. NI-VISA is the National Instruments implementation of the industry-standard Virtual Instrument System Architecture (VISA) specification. Appendix F,...
  • Page 17 If you already have one or more of these applications and want to use them with your serial device server, refer to your product documentation for information about serial I/O functions. For ordering information, contact National Instruments. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 18 Introduction Linux x86/Solaris 2.x You can develop NI-VISA applications using any ANSI C compiler. For Solaris, National Instruments offers LabWindows/CVI, which is an interactive ANSI C programming environment for building virtual instrument applications. LabWindows/CVI includes a drag-and-drop editor for building user interfaces, a complete ANSI C environment for building...
  • Page 19: Linux X86/Solaris 2.X

    The default installation path is /usr/local/vxipnp/ Follow any onscreen prompts. Solaris 2.x Complete the following steps to install the serial server software on Solaris 2.x: Log in as (superuser with administrative privileges). root © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 20: Installing The Serial Device Server

    Chapter 2 Installation Insert the NI-Serial Device Server Software for Linux x86/Solaris 2.x CD. Run the installation script from the subdirectory INSTALL VISA of the appropriate directory. The default installation path is /opt/vxipnp/ Follow any onscreen prompts. Installing the Serial Device Server Complete the following steps to install your serial device server.
  • Page 21: Step 3. Connect The Cables

    4 Serial Ports 1 and 2 2 Power Connection 5 Serial Ports 3 and 4 (on 4-Port Models Only) 3 Ethernet Connection Figure 2-2. Rear Panel of a Four-Port Serial Device Server © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 22: Step 4. Switch On Your Serial Device Server

    Plug the wall-mount power supply into an AC outlet of the correct voltage. National Instruments does not recommend connecting serial devices to your serial Note ports until you configure the serial server software as described in Chapter 4,...
  • Page 23 If the PWR/RDY LED blinks a slow red/yellow pattern, the serial device server did not pass its self tests. Refer to Appendix B, PWR/RDY LED Signaling, to interpret the flash pattern before calling National Instruments Technical Support. You can skip Chapter 3, Ethernet Configuration, if your serial device server can use DHCP.
  • Page 24: Ethernet Configuration

    Using NI Ethernet Device Configuration, and examine the properties for any National Instruments Ethernet device on your subnet. However, any changes you attempt to make to the network parameters while in normal operating mode will not take effect.
  • Page 25: Using Ni Ethernet Device Configuration

    Chapter 3 Ethernet Configuration Using NI Ethernet Device Configuration If your network administrator tells you to assign the IP address manually, complete the following steps to configure the IP address settings. (Windows 2000/NT 4.0 only) Select Start»Programs»National Instruments Serial Server»Ethernet Device Configuration. , which is in the (Linux x86/Solaris 2.x only) visaconf...
  • Page 26 Click Exit (or Cancel) if you are using DHCP and you do not need to change the hostname of the serial device server, or if you are finished using NI Ethernet device configuration. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 27: Configuring The Network Settings

    Chapter 3 Ethernet Configuration Configuring the Network Settings Your serial device server must be in network configuration mode if you want to change its network settings. Any changes you make while in normal operating mode will not take effect. When you select Properties... from the NI Ethernet Device Configuration window, the utility displays the properties for your serial device server, similar to the following example.
  • Page 28 Figure 3-3. Specifying IP Settings Note The IP settings in Figure 3-3 are shown only as a format example. You can enter an optional comment to help you identify the device. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 29: Static Ip Parameters

    Chapter 3 Ethernet Configuration Click OK to configure the device, or Cancel to exit without saving the configuration changes. Click Exit (or Cancel) to close the NI Ethernet Device Configuration window. The device automatically reboots with the new configuration in effect. Static IP Parameters If DHCP is not available, you must provide the serial device server with several important network parameters.
  • Page 30: Verifying The Hostname

    This verification process automatically occurs when you either run the utility or click Refresh. The utility alerts you as shown below if it detects a problem with the network settings. Figure 3-4. Hostname Verification Error Detected © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 31 Chapter 3 Ethernet Configuration To correct the problem with the hostname, complete the following steps: Locate the device that has a problem. This is indicated by an (!) on the device icon, as shown previously in Figure 3-1. Select Properties..A dialog box similar to the following appears. Figure 3-5.
  • Page 32 Confirm that the device is in network configuration mode and click OK. The device reboots with the new settings in effect. After the device reboots, click Refresh to verify that the hostname is now valid. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 33: Serial Port Configuration

    Select Start»Settings»Control Panel»NI Ports to launch the Serial Configuration utility. Select a new interface from the Add a New Serial Interface pull-down listbox and click Add. Figure 4-1. Adding a New Serial Interface © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 34 You must reboot your system at this time for your serial server software configuration to take effect. Select Start»Shut Down» Restart. National Instruments recommends you verify the installation as described in Chapter 5, Verify the Installation. You then can connect serial devices to the serial ports on the serial device server.
  • Page 35: Linux X86/Solaris 2.X

    Exit VISA Configuration. If you see the question D o you wish to , answer Yes. commit all your changes to VISA? National Instruments recommends you verify the installation as described in Chapter 5, Verify the Installation. Viewing or Changing Communication Port Settings Windows 2000/NT 4.0...
  • Page 36 Chapter 4 Serial Port Configuration Figure 4-4. NI Ports Serial Configuration Utility Select the port you want to configure and refer to the following instructions: • To remove hardware information about the port from Windows 2000/NT, click Delete. • To view or change the port settings, click Settings. A screen similar to the following appears.
  • Page 37: Com Port Number

    Use the Transceiver Mode list box to change the transceiver mode. This mode applies only to ENET-485 serial device servers. For more information about transceiver modes, refer to Chapter 6, Using Your Serial Device Server. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 38: Linux X86/Solaris 2.X

    Chapter 4 Serial Port Configuration Linux x86/Solaris 2.x This section describes how to use VISA Configuration to view or change the configuration of your serial ports. , which is in the subdirectory of your visaconf NIvisa installation. A list of installed ports/devices appears. Select the port you want to configure and refer to the following instructions: •...
  • Page 39: Verify The Installation

    To verify the hardware and software installation, run the Serial Device Server Diagnostics utility. Verify that no serial cables are attached to the unit and then select Start»Programs»National Instruments Serial Server»Diagnostics. The following screen appears. The status window is empty until you press Start.
  • Page 40: Linux X86/Solaris 2.X

    Chapter 5 Verify the Installation When you click Start, the diagnostics utility verifies the following: • The serial server software is installed properly. • The configuration of your hardware does not conflict with anything else in your computer. • The serial server software can communicate with your serial device server correctly.
  • Page 41: Connecting Serial Devices

    2 Serial Ports 3 and 4 (on four-port models only) Figure 5-3. Location of Serial Ports on a Four-Port Serial Device Server Refer to Appendix D, Serial Port Information, for more information about cabling specifications. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 42: Using Your Serial Device Server

    NI-VISA is the National Instruments implementation of the industry-standard VISA specification. You can develop NI-VISA applications using any ANSI C compiler. The subdirectory of your installation contains more information about NIvisa NI-VISA. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 43: Using Dhcp

    NI-VISA also has a graphical API as part of LabVIEW, a National Instruments graphical programming environment. For Solaris, National Instruments offers LabWindows/CVI, which provides an interactive ANSI C programming environment for building virtual instrument applications. The National Instruments Web site, , includes ni.com more information about these environments.
  • Page 44: Using The Cfg Reset Switch

    IP address 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 implement and maintain. In this system, you can safely use the numerical form of the IP address to communicate with your product because the address is unlikely to change.
  • Page 45: Using The Cfg Reset Switch At Power-On

    Chapter 6 Using Your Serial Device Server Close all connections, 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 device server continues to operate normally.
  • Page 46: Updating The Firmware

    Close any open connections before you attempt a firmware update. Hosts cannot connect to the serial device server while it is updating the firmware. Complete the following steps to run the NI Ethernet Device Firmware Update utility. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 47: Windows 2000/Nt 4.0

    Chapter 6 Using Your Serial Device Server Windows 2000/NT 4.0 Select Start»Programs»National Instruments Serial Server»Firmware Update. Figure 6-1. NI Ethernet Device Firmware Update Utility Enter the IP address or the hostname of the serial device server in the IP address or hostname edit box. An example of an IP address .
  • Page 48: Linux X86/Solaris 2.X

    DTR with echo DTR asserted Two-wire mode: Enabled with Enabled with DTR controlled DTR asserted DTR unasserted Two-wire mode: Enabled when Enabled when not Auto Control transmitting data transmitting data © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 49: Four-Wire Mode

    Note When you are communicating with a two-wire device, National Instruments recommends that you use the two-wire Auto Control mode. Because this mode handles the transmitter/receiver enabling for a two-wire connection in your hardware, it reduces the software overhead required to perform this operation in your application program.
  • Page 50: Setting The Transceiver Control Mode

    Two-wire mode: DTR with echo Two-wire mode: DTR controlled Two-wire mode: Auto Control For example, to set two-wire Auto Control mode, use the following code: ULONG TranceiverMode = 131; ULONG dummy; DeviceIoControl(hDevice, IOCTL_SERIAL_SET_TRANSCEIVER_MODE,(PVOID) &TransceiverMode,sizeof(ULONG),NULL,0,&dummy,NULL); © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 51: Linux X86/Solaris 2.X

    VI_ASRL_WIRE_485_2_DTR_ECHO VI_ASRL_WIRE_485_2_DTR_CTRL VI_ASRL_WIRE_485_2_AUTO (–1) VI_STATE_UNKNOWN Description This attribute is valid only with the RS-485 serial drivers developed by National Instruments, and sets the transceiver mode. Table 6-3. VI_ATTR_ASRL_WIRE_MODE Attribute States Transceiver Mode Attribute States VI_ATTR_ASRL_WIRE_MODE Four-wire mode VI_ASRL_WIRE_485_4 Two-wire mode: DTR with echo...
  • Page 52: Changing The Bias Resistors On The Enet-485

    The connections are made as follows: • RXD+ and CTS– are pulled up to VCC • RXD– and CTS+ are pulled down to GND © National Instruments Corporation 6-11 ENET-232 and ENET-485 Series User Manual...
  • Page 53: Changing Bias Resistors

    Chapter 6 Using Your Serial Device Server Rather than using two 620 Ω resistors at one node, you can increase the value of the resistors and put them at every node. For example, if there are eight nodes in a system, you can use 4.7 kΩ resistors at each node to effectively achieve the same result.
  • Page 54 Remove the bias resistors by gently lifting them out of the sockets. Install new resistors that are trimmed to fit in the sockets. Slide the top cover backwards over the baseplate and reinstall the four screws. © National Instruments Corporation 6-13 ENET-232 and ENET-485 Series User Manual...
  • Page 55: Uninstalling The Software

    See Figure A-1 if you are using Windows 2000 or Figure A-2 if you are using Windows NT. Figure A-1. Add/Remove Programs Dialog Box for Windows 2000 © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 56 Appendix A Uninstalling the Software Figure A-2. Add/Remove Programs Dialog Box for Windows NT ENET-232 and ENET-485 Series User Manual ni.com...
  • Page 57 If you added anything to a directory that the setup wizard created, the uninstallation program does not delete that directory. You must remove any remaining components yourself. To reinstall the hardware and software, refer to Chapter 2, Installation. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 58 Appendix A Uninstalling the Software Linux x86 If you have install, use it to uninstall the package. Otherwise, delete the installation directory, which defaults to /usr/local/vxipnp Solaris 2.x to uninstall the package. pkgrm ENET-232 and ENET-485 Series User Manual ni.com...
  • Page 59 PWR/RDY LED blinks slowly in a recognizable pattern to alert you of internal errors. Use this appendix to interpret and record the pattern that the PWR/RDY LED flashes, and then contact National Instruments. Note By recording the PWR/RDY LED error messages before calling National Instruments, you can save yourself time, and customer support can answer your questions more accurately and efficiently.
  • Page 60 Step 3. Record 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 National Instruments. ENET-232 and ENET-485 Series User Manual ni.com...
  • Page 61 Use NI Ethernet device configuration to confirm that your device is set to use DHCP. • Have your network administrator confirm that your network’s DHCP server is functional and that there are available IP addresses. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 62 Appendix C Troubleshooting and Common Questions Cannot Change Network Settings • Verify there are no open network connections. All port LEDs should be off. • Confirm the device is in network update mode. If the PWR/RDY LED is not alternating rapidly between red and yellow, press and hold the CFG RESET switch for three seconds to enter network update mode.
  • Page 63 Verify that the external power supply is securely fastened to the device and the power supply is plugged into an outlet of proper voltage and the power switch is in the ON position. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 64 Verify that the CFG RESET button is not pressed or stuck. If the LED remains red, the device encountered an unrecoverable error. Contact National Instruments. Ethernet LEDS (LINK, TX, and RX) Are Blinking in Unison An internal network configuration error has occurred. Contact National Instruments.
  • Page 65 Network Interface Card (NIC) properly installed in your computer. Next, complete the following steps to verify that the TCP/IP protocol is properly configured on your computer. Follow the procedure specific to either Windows 2000 or Windows NT. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 66 Appendix C Troubleshooting and Common Questions Complete the following steps: Windows 2000 Select Start»Settings»Control Panel»Network and Dial-up connections»Local Area Connection. Click Properties. Double-click Internet Protocol (TCP/IP) in the components list. If Internet Protocol is missing from the list, click Install, select Protocol, and then Note click Add.
  • Page 67 This error message occurs in response to an error with the serial device server. Reboot the serial device server and run the diagnostics program again. If this problem persists, contact National Instruments. Could not locally access the serial port This error message occurs in response to an error with the Windows 2000/NT driver.
  • Page 68 To display a list of all installed communication ports, select Start»Settings»Control Panel»Ports. To display a list of installed National Instruments serial ports, select Start»Settings»Control Panel» NI Ports. How can I determine which version of the serial server software I have...
  • Page 69 Select Start»Settings»Control Panel»NI Ports. A list of installed National Instruments ports with their logical COMx names appears. If the COM ports associated with a particular serial device server are missing from this list, refer to the...
  • Page 70 Appendix C Troubleshooting and Common Questions How can I name National Instruments serial ports COM1, COM2, COM3, or COM4? Complete the following steps: (Windows 2000) Right-click My Computer and select Properties. Under the Hardware tab, select Device Manager. Verify that no local ports are already assigned to the COM number(s) you want to use.
  • Page 71 For example, when \\.\ using the C programming language to open COM12, use the following string for the port name: “\\\\.\\COM12” © National Instruments Corporation C-11 ENET-232 and ENET-485 Series User Manual...
  • Page 72 Appendix C Troubleshooting and Common Questions What is the maximum baud rate supported and how can I set it? The maximum baud rate supported is 460.8 kbits/s for RS-485 and 230.4 kbits/s for RS-232. To set the baud rate, use the SetCommState Win32 function and pass the actual value of the baud rate in the BaudRate field of the DCB structure.
  • Page 73 I powered off my serial device server before recording the flashing PWD/RDY LED pattern. What should I do? Try to duplicate the error before calling National Instruments for assistance. Recording the PWR/RDY LED pattern is not critical to the operation of your serial device server, but it saves you time and helps National Instruments to diagnose the problem quickly and accurately.
  • Page 74 Appendix C Troubleshooting and Common Questions I just added a serial device server to the network, but it does not show up in NI Ethernet device configuration. What is the problem? Allow at least 15 seconds for the serial device server to complete its power-on self tests before launching device configuration or clicking Refresh.
  • Page 75 Refer to the documentation that came from the instrument manufacturer. The command sequences you use are dependent on the specific instrument. The documentation for each instrument should include the serial commands you need to communicate with it. © National Instruments Corporation C-15 ENET-232 and ENET-485 Series User Manual...
  • Page 76 I powered off my serial device server before recording the flashing PWD/RDY LED pattern. What should I do? Try to duplicate the error before calling National Instruments for assistance. Recording the PWR/RDY LED pattern is not critical to the operation of your serial device server, but it saves you time and helps National Instruments to diagnose the problem quickly and accurately.
  • Page 77 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. RS-232 was designed for serial communication up to © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 78 Appendix D Serial Port Information distances of 50 ft. and with data rates up to 20 kbits/s. However, because of improvements in line drivers and cabling, you can usually increase the actual performance of the bus past the limitations on speed and distance recommended in the specification.
  • Page 79 In a typical full-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. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 80 Appendix D Serial Port Information Figure D-1 shows a typical full-duplex system. Slave 1 Slave 2 Slave n Figure D-1. Typical Full-Duplex System Half Duplex A typical half-duplex multidrop bus architecture also involves a master-slave protocol. However, in a half-duplex system, all transmitters and receivers are connected to the same transmission line.
  • Page 81 (typically 100 to 120 Ω). You can order an optional DB-9 RS-485 termination connector that contains embedded terminating resistors for easy termination from National Instruments. For ordering information, contact National Instruments. Figure D-3 shows a multidrop network using terminating resistors.
  • Page 82 Appendix D Serial Port Information DTE vs. DCE In the RS-232 specification, DTE (Data Terminal Equipment) and DCE (Data Communications Equipment) 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.
  • Page 83 PIN 1 Figure D-6. DB-9 Connector Pin Locations Table D-2. DB-9 Pin Descriptions DB-9 Pin 232 Signal 485 Signal CTS+ (HSI+) RTS+ (HSO+) RXD+ RXD– CTS– (HSI–) RTS– (HSO–) TXD+ TXD– © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 84 Appendix D Serial Port Information DB-25 Connector Figure D-7 and Table D-3 give the pin locations and descriptions of the DB-25 connector, which is on the optional DB-9 to DB-25 converter. PIN 13 PIN 25 PIN 14 PIN 1 Figure D-7. DB-25 Connector Pin Locations Table D-3.
  • Page 85 TXD– and RXD– signals (pins 9 and 5 on a DB-9 connector, pins 22 and 7 on a DB-25 connector) to the second wire. For information about setting the transceiver mode for two-wire communication, refer to Chapter 6, Using Your Serial Device Server. © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 86 Relative humidity, operating....10% to 90% noncondensing conditions Storage temperature ....... –55° to 85° C Relative humidity, storage ..... 5% to 90% noncondensing conditions EMI ............FCC Class A Verified © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 87 Appendix E Specifications Physical Characteristics Overall case size (dimensions) ....21.0 by 12.4 by 3.7 cm (8.25 by 4.89 by 1.44 in.) Case material ..........Hard plastic with metal baseplate Weight ............394 g (0.87 lb) Software Characteristics Space required for NI-Serial server software ..........2 MB Electrostatic Discharge Protection Non-isolated devices.......1.5 kV...
  • Page 88 UNIX serial API. For example, in the UNIX API you must manipulate complex bits in the termios structure. However, to make identical operations in VISA, you just make a simple call to © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 89 Appendix F VISA and Serial APIs on UNIX . VISA attributes are robust and cover many types of viSetAttribute information and configuration functions, including port settings and modem lines. VISA is extensible to other hardware interfaces and is supported on various platforms.
  • Page 90 /* VI_ATTR_ASRL_END_IN for more details). */ status = viRead(instr, buf, numAvailBytes, &retCount); /* Close the session to the port. */ viClose(instr); /* Close the resource manager session. */ viClose(defaultRM); return 0; © National Instruments Corporation ENET-232 and ENET-485 Series User Manual...
  • Page 91 Appendix F VISA and Serial APIs on UNIX Summary VISA is the only mechanism available in UNIX systems such as Solaris and Linux to access the ENET-Serial serial ports. Due to the similarity between UNIX system calls for serial access and VISA operations, the transition to the VISA architecture should be relatively painless.
  • Page 92 Technical Support Resources Web Support National Instruments Web support is your first stop for help in solving installation, configuration, and application problems and questions. Online problem-solving and diagnostic resources include frequently asked questions, knowledge bases, product-specific troubleshooting wizards, manuals, drivers, software updates, and more. Web support is available through the Technical Support section of ni.com...
  • Page 93 Appendix G Technical Support Resources Worldwide Support National Instruments has offices located around the world to help address your support needs. You can access our branch office Web sites from the Worldwide Offices section of . Branch office Web sites provide ni.com...
  • Page 94 Celsius Computer Output Microform; used in reference to a communication port Clear To Send DB-xx subminiature D connector, where xx is the number of pins © National Instruments Corporation Glossary-1 ENET-232 and ENET-485 Series User Manual...
  • Page 95 Glossary Data Carrier Detect Data Communications Equipment or Data Circuit-Terminating Equipment DHCP Dynamic Host Configuration Protocol Data Set Ready domain name server Data Terminal Equipment Data Terminal Ready—the overscore denotes that the signal is active low duplex the means of bandwidth usage in a serial system Electronic Industries Association EEPROM electrically erasable programmable read-only memory...
  • Page 96 Transmit Data—the overscore denotes that the signal is active low UART Universal Asynchronous Receiver/Transmitter volts volts alternating current volts direct current Win16 describes a 16-bit Windows application Win32 describes a 32-bit Windows application © National Instruments Corporation Glossary-3 ENET-232 and ENET-485 Series User Manual...
  • Page 97 C-14, C-16 cables comparison to VISA API, F-1 connecting, 2-3 Configuration Reset switch. See CFG RESET verifying proper Ethernet cable switch type, C-6, C-8 caution using firmware update utility, 6-7 © National Instruments Corporation Index-1 ENET-232 and ENET-485 Series User Manual...
  • Page 98 DeviceIoControl cables, 2-3, 5-3 setting transceiver mode with, 6-9 serial devices, 2-4, 5-3 DeviceIoControl(), 6-9 two-wire devices, D-9 input values (table), 6-9 contacting National Instruments, F-2 DHCP conventions, xi benefits and purpose, 6-2 cover configuring network settings automatically, 2-4 removing (figure), 6-12...
  • Page 99 DTR controlled, 6-8 two-wire mode: DTR with Echo, 6-8 gateway settings changing bias resistors, 6-11 assigning, 3-6 configuring transceiver modes, 6-7 confirming proper settings, C-3 connecting two- or four-wire devices, D-9 © National Instruments Corporation Index-3 ENET-232 and ENET-485 Series User Manual...
  • Page 100 Index general port settings COM port number, 4-5 installation FIFO settings, 4-5 getting started, 1-2 transceiver mode, 4-5 verification, 5-1 general programming requirements, 6-1 Linux x86/Solaris 2.x, 5-2 getting started, 1-2 Windows 2000/NT 4.0, 5-1 installing bias resistors on ENET-485, 6-12 serial device server, 2-2 half duplex, D-4 serial server software, 2-1...
  • Page 101 F-1 busy device, 3-2, C-13, C-16 Web support, F-1 if serial device server is not worldwide offices, F-2 listed, C-14, C-16 National Instruments application software network configuration mode, 3-1 LabVIEW, 1-6 possible device states, 3-2 Lookout, 1-6 Properties menu, 3-3...
  • Page 102 Index NI Ethernet Device Firmware Update utility before using, 6-5 physical characteristics, E-2 example (figure), 6-6 pin descriptions important warning, 6-7 DB-25 running, 6-5 connector pin descriptions when to use, 6-5 (table), D-8 NI Ports utility connector pin locations figure, 4-4 (figure), D-8 adding a new serial interface DB-9...
  • Page 103 RS-422 standard Windows 2000/NT 4.0, 5-1 features (table), D-1 starting (figure), 5-1 overview, D-2 test results (figure), 5-2 RS-485 standard serial devices features (table), D-1 connecting, 5-3 overview, D-2 © National Instruments Corporation Index-7 ENET-232 and ENET-485 Series User Manual...
  • Page 104 Index serial number specifications location, 2-2 electrical characteristics, E-1 serial ports environmental characteristics, E-1 assigning names, C-10 network specifications, E-2 configuring, 4-1 physical characteristics, E-2 connecting devices, 5-3 serial specifications, E-2 determining associated physical software characteristics, E-2 ports, C-9 static IP address displaying list of installed NI serial when easier than using DNS, 6-3 ports, C-8...
  • Page 105 2-2 operations (table), F-1 UNIX serial API, F-1 updating the firmware, 6-5 Linux x86/Solaris 2.x, 6-7 Web support from National Instruments, F-1 Windows 2000/NT 4.0, 6-6 Win16 applications using using with serial device server, C-13 CFG RESET switch, 6-3...

This manual is also suitable for:

Enet-485 series

Table of Contents