National Instruments NI PCIe-8255R User Manual
National Instruments NI PCIe-8255R User Manual

National Instruments NI PCIe-8255R User Manual

Ieee 1394a and ieee 1394b interface device with reconfigurable i/o
Hide thumbs Also See for NI PCIe-8255R:

Advertisement

Quick Links

NI Vision
NI PCIe-8255R User Manual
IEEE 1394a and IEEE 1394b Interface Device with Reconfigurable I/O
NI PCIe-8255R User Manual
February 2007
371911C-01

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments NI PCIe-8255R

  • Page 1 NI Vision NI PCIe-8255R User Manual IEEE 1394a and IEEE 1394b Interface Device with Reconfigurable I/O NI PCIe-8255R User Manual February 2007 371911C-01...
  • Page 2 Thailand 662 278 6777, Turkey 90 212 279 3031, 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 Warranty The NI PCIe-8255R 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 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 This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames, and extensions. NI 8255R NI 8255R refers to the NI PCIe-8255R interface device.
  • Page 6: Table Of Contents

    Trigger Change Detectors................2-8 Quadrature Encoder..................2-8 Product Selection Port ..................2-9 Using ISO Input 5 as a Latch ............2-9 General-Purpose I/O..................2-10 General-Purpose Inputs..............2-10 General-Purpose Outputs ..............2-10 I/O for Fault Conditions ..................2-11 Shutdown ..................2-11 Watchdog Timer ................2-12 © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 7 IEEE 1394 Camera Cables................3-8 I/O Terminal Block ..................3-8 NI Vision I/O Terminal Block and Prototyping Accessory ......3-8 Power Requirements...................... 3-9 Isolated Outputs Power Connection..............3-9 Appendix A Technical Support and Professional Services Glossary Index NI PCIe-8255R User Manual ni.com...
  • Page 8: Software Overview

    Introduction The NI PCIe-8255R (NI 8255R) is a OHCI compliant IEEE 1394a and IEEE 1394b interface device for PCI Express (PCIe) with reconfigurable I/O (RIO). The NI 8255R device ships with NI Vision Acquisition Software, which contains all of the drivers in the NI Vision product line. With NI Vision Acquisition Software, you can quickly and easily start your applications without having to program the device at the register level.
  • Page 9: Vision Builder For Automated Inspection

    With Vision Assistant, you can prototype vision applications quickly and test how various image processing functions work. Vision Assistant generates a Builder file, which is a text description containing a recipe of the machine vision and image processing functions. NI PCIe-8255R User Manual ni.com...
  • Page 10: Ieee 1394 And The Ni 8255R

    The NI 8255R features a high-speed data path optimized for receiving and formatting video data from IEEE 1394 cameras. Using an IEEE 1394a device with the NI 8255R requires a 1394a-to-1394b cable or adapter. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 11: Start Conditions

    Use this configuration for capturing a single frame or a sequence of frames. • Trigger control—You can start an acquisition by enabling external trigger lines. Each of these inputs can start a video acquisition on a rising or falling edge. NI PCIe-8255R User Manual ni.com...
  • Page 12: Acquisition Window Control

    In many cases, specifying a smaller acquisition window will increase the maximum frame rate of the camera. Valid acquisition windows, and their corresponding frame rates, are defined by the camera. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 13: Hardware Overview

    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 14: Ttl Inputs And Outputs

    TTL inputs and outputs do not require a separate power supply. Caution Do not connect voltage or current sources to TTL outputs. Doing so could damage the NI 8255R. NI PCIe-8255R User Manual ni.com...
  • Page 15: Isolated Inputs And Outputs

    I/O Terminal Block and Prototyping Accessory with the 44-pin to 37-pin NI cable. Note The isolated outputs have current-limiting protection circuitry. If this circuitry is tripped, you can re-enable the outputs by removing the fault and restarting your computer. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 16 * TRIG 0, ISO Input 8, ISO Input 9, and ISO Input 10 can also function as trigger change detectors. † ISO Input 5 can also function as a latch for the product selection port. NI PCIe-8255R User Manual ni.com...
  • Page 17: I/O For Normal Operation

    You can set the delay time in microseconds or in quadrature encoder counts from the start signal—either a hardware trigger or a software command. Width is always configured in microseconds. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 18: Initiating A Timed Pulse

    Figure 2-1. Output pulse when trigger is selected Pulse Modes Each pulse generator has a Start and a Stop mode. Configure the pulse generator when in Stop mode and then set it to Start mode. NI PCIe-8255R User Manual ni.com...
  • Page 19: Pulse Delay

    Figure 2-2 shows the output of a pulse generator configured to look for a rising edge trigger and output a high pulse with a microsecond delay and width. Delay Width Trigger Pulse Figure 2-2. Pulse generator output when configured to detect rising edge trigger © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 20: Trigger Change Detectors

    Each isolated input can change at a maximum rate of 100 kHz, making the maximum encoder rate 400,000 counts/s. The quadrature encoder can also be used as a timebase for the pulse generation delay. NI PCIe-8255R User Manual ni.com...
  • Page 21: Product Selection Port

    If ISO Input 5 is not used as a latch, it can be used as an extra bit of data. Note In Vision Builder AI, ISO Input 5 is always designated as a latch. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 22: General-Purpose I/O

    As a result, timing of general-purpose outputs changes as the inspection algorithm changes, which makes general-purpose outputs less appropriate than timed outputs for camera control, strobe light control, and other applications that require precise timing. NI PCIe-8255R User Manual 2-10 ni.com...
  • Page 23: I/O For Fault Conditions

    When a fault occurs, outputs operate according to user-defined shutdown states. Each TTL output is configurable to drive high, drive low, or tri-state, and each isolated output is on/off configurable. © National Instruments Corporation 2-11 NI PCIe-8255R User Manual...
  • Page 24: Watchdog Timer

    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. NI PCIe-8255R User Manual 2-12 ni.com...
  • Page 25: 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 Getting Started with the NI PCIe-8255R for information about switching thresholds and current requirements.
  • Page 26: 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. Viso Digital Output Load Ciso NI 8255R Figure 2-6. Digital output circuit sourcing current to external loads NI PCIe-8255R User Manual 2-14 ni.com...
  • Page 27: Protecting Inductive Loads

    Figure 2-7 shows an example of using an external flyback diode to protect inductive loads. Viso Digital Output Load Ciso External Flyback NI 8255R Diode for Inductive Loads Figure 2-7. An external flyback diode protecting inductive loads © National Instruments Corporation 2-15 NI PCIe-8255R User Manual...
  • Page 28: Transmission Line Effects

    Transmission Line Effects Transmission line effects can degrade the signals on the I/O cables and cause instability. To minimize transmission line effects, use twisted pair wires with a characteristic impedance of 118 Ω to connect external signals to the 44-pin I/O D-SUB connector. Figure 2-8 shows connections to the 44-pin D-SUB connector that minimize transmission line effects.
  • Page 29: Signal Connections

    I S O 1 IEEE 1394b Bilingual Connector 4 Digital I/O Connector 2 ISO/ATX Power Status LEDs 5 Camera Power ATX Connector 3 IEEE 1394b Bilingual Connector Figure 3-1. NI 8255R Connectors © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 30: Connectors

    ATX connector on the NI 8255R. The green LED on the front panel of the NI 8255R device will illuminate when the ATX connector is connected to the computer power supply and the computer is on. NI PCIe-8255R User Manual ni.com...
  • Page 31: General-Purpose Digital I/O

    LED on the front panel of the NI 8255R illuminates when power for the isolated outputs is present. For easy connection to the digital I/O connector, use the National Instruments digital I/O cable and the NI Vision I/O Terminal Block and Prototyping Accessory.
  • Page 32 — signal of the NI 8255R device main power TTL Output 0 Watchdog timer General-purpose output output TTL Output 1 Pulse generator General-purpose output output Common-mode — signal of the NI 8255R device main power NI PCIe-8255R User Manual ni.com...
  • Page 33 — common-mode signal ISO Input 0 Input port, Data(0) — TTL Input 1 Pulse generator Trigger Change trigger input Detector, General-purpose input Common-mode — signal of the NI 8255R device main power © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 34 TTL Output 9 output output Isolated power — Isolated — common-mode signal ISO Output 2 General-purpose — output ISO Output 3 General-purpose — output Isolated — common-mode signal ISO Input 1 Input port, Data(1) — NI PCIe-8255R User Manual ni.com...
  • Page 35 Phase B input Isolated — common-mode signal ISO Input 8 Pulse generator Trigger Change trigger input Detector, General-purpose input ISO Input 9 General-purpose Trigger Change input Detector, General-purpose input Isolated — common-mode signal © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 36: Cabling

    IEEE 1394b ports. I/O Terminal Block National Instruments provides an I/O terminal block for the NI 8255R, 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 8255R.
  • Page 37: Power Requirements

    Isolated power (5 to 30 VDC) Isolated common-mode signal Note The orange ISO LED on the front panel of the NI 8255R device will illuminate when and C are properly connected to an external power supply. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 38: Technical Support And Professional Services

    Technical Support and Professional Services Visit the following sections of the National Instruments Web site at for technical support and professional services: ni.com • Support—Online technical support resources at ni.com/support include the following: – Self-Help Resources—For answers and solutions, visit the...
  • Page 39 You also can visit the Worldwide Offices section of to access the branch ni.com/niglobal office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events. NI PCIe-8255R User Manual ni.com...
  • Page 40: Glossary

    A slope that is negative to the trigger is specified as the falling edge. FireWire A high-speed serial interface invented by Apple Computer in 1989, also known as IEEE 1394 or iLink. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 41 Working Group, Digital Camera Sub Working Group. isolated A signal which has no electrical connection to the overall system power. NI-IMAQdx Driver software for National Instruments IEEE 1394 and Gigabit Ethernet interface devices. pixel The fundamental picture element in a digital image. The smallest resolvable rectangular area of an image, either on a screen or stored in memory.
  • Page 42 Transistor-transistor logic. A digital circuit composed of bipolar transistors wired in a certain manner. A typical medium-speed digital technology. Nominal TTL logic levels are 0 and 5 V. Volts direct current. voltage The electromotive force. © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 43: Index

    2-3 NI resources, A-1 list of, 2-4 drivers (NI resources), A-1 power connection, 3-9 examples (NI resources), A-1 KnowledgeBase, A-1 FireWire, 1-3 LabVIEW FPGA Module, 2-1 FPGA, 2-1 latch, 2-9 © National Instruments Corporation NI PCIe-8255R User Manual...
  • Page 44 2-5 troubleshooting (NI resources), A-1 TTL inputs, 2-2 TTL inputs, 2-2 TTL outputs, 2-2 TTL outputs, 2-2 NI support and services, A-1 NI Vision Assistant, 1-2 NI Vision Terminal Block and Prototyping Accessory, 3-8 NI PCIe-8255R User Manual ni.com...
  • Page 45 Index Web resources, A-1 wiring isolated input to sourcing output device, 2-13 isolated output to external load, 2-14 © National Instruments Corporation NI PCIe-8255R User Manual...

This manual is also suitable for:

Ni 8255r

Table of Contents