National Instruments NI PCI-8254R User Manual
National Instruments NI PCI-8254R User Manual

National Instruments NI PCI-8254R User Manual

1394a image acquisition device with reconfigurable i/o
Hide thumbs Also See for NI PCI-8254R:

Advertisement

Quick Links

NI Vision
NI PCI-8254R User Manual
1394a Image Acquisition Device with Reconfigurable I/O
NI PCI-8254R User Manual
September 2006
371578C-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NI PCI-8254R and is the answer not in the manual?

Questions and answers

Summary of Contents for National Instruments NI PCI-8254R

  • Page 1 NI Vision NI PCI-8254R User Manual 1394a Image Acquisition Device with Reconfigurable I/O NI PCI-8254R User Manual September 2006 371578C-01...
  • Page 2 Thailand 662 278 6777, United Kingdom 44 0 1635 523545 For further support information, refer to the Technical Support and Professional Services appendix. To comment on National Instruments documentation, refer to the National Instruments Web site at and enter ni.com/info the info code feedback ©...
  • Page 3: Important Information

    Warranty The NI PCI-8254R is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period.
  • Page 4: Compliance With Eu Directives

    These classes are known as Class A (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). All National Instruments (NI) products are FCC Class A products. 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 interference in much the same way.) Digital...
  • Page 5 Conventions The following conventions are used in this manual: » The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog box.
  • Page 6: Table Of Contents

    Watchdog Timer ...2-11 Considerations When Connecting the Digital I/O ...2-12 Wiring an Isolated Input to a Sourcing Output Device ...2-12 Wiring an Isolated Output to an External Load...2-13 Protecting Inductive Loads...2-14 Transmission Line Effects...2-15 © National Instruments Corporation NI PCI-8254R User Manual...
  • Page 7 IEEE 1394 Camera Cables... 3-8 I/O Terminal Block ... 3-9 NI Vision I/O Terminal Block and Prototyping Accessory ... 3-9 Power Requirements... 3-9 Isolated Outputs Power Connector ... 3-9 Appendix A Technical Support and Professional Services Glossary Index NI PCI-8254R User Manual viii ni.com...
  • Page 8: Software Overview

    Introduction The National Instruments PCI-8254R is an IEEE 1394a interface device for PCI with reconfigurable I/O (RIO). The NI 8254R is OHCI compliant and should be used with IEEE 1394a devices that run natively in Windows 2000/XP. The NI 8254R device ships with documentation and NI Vision Acquisition Software, which contains all of the drivers in the NI Vision product line.
  • Page 9: Vision Builder For Automated Inspection

    Chapter 1 Introduction National Instruments also offers the following application software packages for analyzing and processing your acquired images. For detailed information about individual software packages, refer to the documentation specific to each package. Vision Builder for Automated Inspection NI Vision Builder for Automated Inspection (Vision Builder AI) is configurable machine vision software that you can use to prototype, benchmark, and deploy applications.
  • Page 10: Ieee 1394 And Ni 8254R

    IEEE 1394 cameras. The following block diagram illustrates the key functional components of the NI 8254R. © National Instruments Corporation ™ ™ /CVI or Visual Basic, using the ® (IEEE 1394) technology, compatible with Chapter 1 Introduction NI PCI-8254R User Manual...
  • Page 11: Start Conditions

    The NI 8254R can start acquisitions in the following ways: • • Acquisition Window Control You can configure the following parameter on the NI 8254R to control the video acquisition window: • NI PCI-8254R User Manual V2 FPGA Dust CPLD MITE Config ROM 1394...
  • Page 12: Digital I/O

    NI 8254R device to add triggering, pulse-width modulation signals, or custom communications protocols to your machine vision application. Using National Instruments RIO hardware and the LabVIEW FPGA Module, you can define your hardware without in-depth knowledge of hardware design tools or hardware description languages (HDL). When the signal requirements change, the LabVIEW code can be modified and downloaded to the FPGA to change the I/O mix or type.
  • Page 13: Ttl Inputs And Outputs

    Function Output Available Trigger Input Timed Output Pulse NI PCI-8254R User Manual Table 2-1. NI 8254R TTL Inputs and Outputs Signal Names TTL Input 0, General Purpose TTL Input 1, General Purpose TTL Output 1, Pulse 1 TTL Output 2, Pulse 2...
  • Page 14: Isolated Inputs And Outputs

    TTL Output 0 TTL Output 5 TTL Output 6 TTL Output 7 is referred to as C on the 2-position isolated outputs Chapter 2 Digital I/O 44-Pin D-SUB on 37-Pin NI 8255R Terminal Device Pin Block Number Number NI PCI-8254R User Manual...
  • Page 15: I/O For Normal Operation

    ISO Input 5 can also function as a latch for the product selection port. I/O for Normal Operation The following sections describe I/O functions that are available on the NI 8254R during normal operation. NI PCI-8254R User Manual Number Signal Available...
  • Page 16: Trigger Inputs

    Start in LabVIEW or imaqIOPulseStart in C and Visual Basic. © National Instruments Corporation Chapter 2 Digital I/O NI PCI-8254R User Manual...
  • Page 17: Pulse Modes

    1 µs and 4,294,967,295 µs, which is 4,294 seconds, or approximately 71 minutes. If the delay is configured for quadrature encoder counts, the range of choices is 0 counts to 4,294,967,295 counts. NI PCI-8254R User Manual Trigger Input Output Pulse ni.com...
  • Page 18: Pulse Width

    The following figure shows how to create a high and low pulse train with a microsecond delay and width. © National Instruments Corporation Delay Trigger Pulse High Pulse Train Delay Low Pulse Train Software Start Chapter 2 Width Width Delay Width NI PCI-8254R User Manual Digital I/O...
  • Page 19: Trigger Change Detectors

    NI 8254R to switch between up to 32 (2 sequences for different parts on an assembly line. Based on the input to the product selection port, you can configure the application software to run the appropriate inspection sequence. For NI PCI-8254R User Manual Trigger Low Pulse Delay...
  • Page 20: Using Iso Input 5 As A Latch

    © National Instruments Corporation Table 2-3. NI 8254R Product Selection Ports Chapter 2 Digital I/O External Connection ISO Input 5 ISO Input 4 ISO Input 3 ISO Input 2 ISO Input 1 ISO Input 0 NI PCI-8254R User Manual...
  • Page 21: General-Purpose Outputs

    NI 8254R in the event of a fault condition. Fault Condition External Shutdown Watchdog The following sections describe each fault condition. NI PCI-8254R User Manual External shutdown, when Shutdown mode is enabled Watchdog timer expiration Table 2-4. Fault Condition Behavior Shutdown Enabled...
  • Page 22: Shutdown

    If the watchdog timer has expired, the expiration signal continues to assert until the watchdog timer is disarmed. Shutdown—If Shutdown mode is enabled, the outputs go to the user-defined shutdown states. 2-11 Chapter 2 Digital I/O NI PCI-8254R User Manual...
  • Page 23: Considerations When Connecting The Digital I/O

    Wiring an Isolated Input to a Sourcing Output Device You can wire an isolated input to a sourcing output device, as shown in the following figure. Refer to the NI PCI-8254R Quick Start Guide for switching thresholds and current requirements.
  • Page 24: Wiring An Isolated Output To An External Load

    Do not draw more than 100 mA from 24 V or 30 V isolated outputs. Do not draw more than 50 mA from 5 V isolated outputs. © National Instruments Corporation NI 8254R 2-13 Chapter 2 Digital I/O Digital Output Load NI PCI-8254R User Manual...
  • Page 25: Protecting Inductive Loads

    NI 8254R to an inductive load. The following figure shows an example of using an external flyback diode to protect inductive loads. NI PCI-8254R User Manual NI 8254R 2-14 Digital...
  • Page 26: Transmission Line Effects

    © National Instruments Corporation 118 Ω TTL OUT(0) +5 V 62 kΩ TTL IN(0) NI 8254R equal to 118 Ω, as shown in the figure above. 2-15 Chapter 2 44-Pin DSUB Receiving Equipment Transmitting Equipment NI PCI-8254R User Manual Digital I/O...
  • Page 27: Signal Connections

    The following diagram shows the connectors on the NI 8254R device. 1 IEEE 1394a Connector 2 IEEE 1394a Connector © National Instruments Corporation NI PCI-8254R IEEE-1394 5–30V 3 2-Position Isolated Outputs Power Connector 4 Digital I/O Connector NI PCI-8254R User Manual...
  • Page 28: Connectors

    (5 to 30 VDC) for the NI 8254R device. The C terminal provides the common-mode signal for the NI 8254R device. Figure 3-1 illustrates the isolated outputs power connector on the NI 8254R device. NI PCI-8254R User Manual Table 3-1. NI 8254R Connector Functions Connector 2-position isolated outputs...
  • Page 29: Ieee 1394A Connector

    NI PCI-8254R Quick Start Guide. Note Isolated inputs are compatible with 5 V logic if the external circuit meets the voltage and current requirements listed in the Specifications section of the NI PCI-8254R Quick Start Guide. © National Instruments Corporation Table 3-2.
  • Page 30 50 mA from 5 V isolated outputs. 44-Pin D-SUB on NI 8255R Device Pin 37-Pin Terminal Number Block Number NI PCI-8254R User Manual Figure 3-2. NI 8254R 44-Pin D-SUB Connector Table 3-3. Signal Connections Primary Signal Name Function TTL Input 0...
  • Page 31 NI 8255R device main power Pulse generator General-purpose output output Isolated power — Pulse generator Trigger Change trigger input Detector, General-purpose input General-purpose — output General-purpose — output Isolated — common-mode signal Input port, — Data(0) NI PCI-8254R User Manual...
  • Page 32 Signal Connections 44-Pin D-SUB on NI 8255R Device Pin 37-Pin Terminal Number Block Number NI PCI-8254R User Manual Table 3-3. Signal Connections (Continued) Signal Name TTL Input 1 TTL Output 4 TTL Output 5 TTL Output 6 TTL Output 7...
  • Page 33 Isolated — common-mode signal Input port, — Data(4) Input port latch, Pulse generator Data(5) trigger input Isolated — common-mode signal Quadrature General-purpose encoder Phase A input Quadrature General-purpose encoder Phase B input Isolated — common-mode signal NI PCI-8254R User Manual...
  • Page 34: Cabling

    You can connect cameras to the NI 8254R using standard IEEE 1394 cables. IEEE 1394 cables provide both a data path and power to your camera. NI PCI-8254R User Manual Table 3-3. Signal Connections (Continued) Signal Name ISO Input 8...
  • Page 35: I/O Terminal Block

    I/O Terminal Block National Instruments provides an I/O terminal block with the NI 8254R, which can be mounted either horizontally or vertically. The I/O terminal block breaks the signals out into easy-to-use screw terminals and comes with a cable that connects directly to the 44-pin D-SUB connector on the NI 8254R.
  • Page 36 The V terminal provides the isolated output circuitry (5 to 30 VDC) for the NI 8254R device. The C terminal provides the common-mode signal for the NI 8254R device. NI PCI-8254R User Manual Table 3-4. Power Connector Terminals Terminal...
  • Page 37: Technical Support And Professional Services

    Technical Support and Professional Services Visit the following sections of the National Instruments Web site at ni.com • • • • © National Instruments Corporation for technical support and professional services: Support—Online technical support resources at include the following: –...
  • Page 38 Worldwide Offices section of office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events. NI PCI-8254R User Manual Calibration Certificate—If your product supports calibration, you can obtain the calibration certificate for your product at ni.com/calibration...
  • Page 39 ADE in the form of an executable. development machine Machine used to develop an application. A development machine usually has and ADE installed on it. exposure The amount of time that light reaches the image sensor. © National Instruments Corporation NI PCI-8254R User Manual...
  • Page 40 IEEE 1394 Trade Association Instrumentation and Industrial Control Working Group, Digital Camera Sub Working Group. isolated A signal which has no electrical connection to the overall system power. NI-IMAQ Driver software for National Instruments image acquisition (IMAQ) hardware. NI PCI-8254R User Manual ni.com...
  • Page 41 A twisted pair cable has two insulated copper wires that are twisted around each other, to reduce crosstalk or electromagnetic induction between the pairs of wires. Each connection on twisted pair requires both wires. © National Instruments Corporation Glossary NI PCI-8254R User Manual...
  • Page 42 Glossary Volts direct current. voltage The electromotive force. NI PCI-8254R User Manual ni.com...
  • Page 43 IEEE 1394a, connector, 3-3 instrument drivers (NI resources), A-1 isolated inputs, 2-3 list of, 2-4 isolated outputs, 2-3 list of, 2-4 power connector, 3-9 KnowledgeBase, A-1 LabVIEW FPGA Module, 2-1 LabVIEW, Vision Builder AI, 1-2 latch, 2-9 NI PCI-8254R User Manual...
  • Page 44 TTL inputs, 2-2 TTL outputs, 2-2 NI 8255R NI Vision Terminal Block and Prototyping Accessory, 3-9 NI PCI-8254R User Manual NI support and services, A-1 NI Vision Assistant, 1-2 NI Vision Terminal Block and Prototyping Accessory, 3-9 power connector terminals, 3-10...
  • Page 45 TTL inputs, 2-2 list of, 2-2 TTL outputs, 2-2 list of, 2-2 © National Instruments Corporation watchdog timer, 2-11 Web resources, A-1 wiring isolated input to sourcing output device, 2-12 isolated output to external load, 2-12 Index NI PCI-8254R User Manual...

Table of Contents