Page 3 - Important Information
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 defec...
Page 4 - Compliance; Determining FCC Class; Class A; Compliance with EU Directives
Compliance Compliance with FCC/Canada Radio Frequency Interference Regulations Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless communications from interference. The FCC places digital electronics into two classes. These classes are known as Class A (fo...
Page 5 - Conventions
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...
Page 6 - Contents
© National Instruments Corporation vii NI PCI-8254R User Manual Contents Chapter 1Introduction Software Overview ........................................................................................................ 1-1 Vision Builder for Automated Inspection .........................................
Page 7 - Glossary
Contents NI PCI-8254R User Manual viii ni.com Considerations When Connecting the Digital I/O ......................................................... 2-12 Wiring an Isolated Input to a Sourcing Output Device ................................... 2-12Wiring an Isolated Output to an External Load ........
Page 8 - Introduction; Software Overview
© National Instruments Corporation 1-1 NI PCI-8254R User Manual 1 Introduction The NI PCI-8254R is a OHCI compliant IEEE 1394a interface device with reconfigurable I/O (RIO). The NI 8254R device ships with NI Vision Acquisition Software, which contains all of the drivers in the NI Vision product lin...
Page 9 - Vision Builder for Automated Inspection
Chapter 1 Introduction NI PCI-8254R User Manual 1-2 ni.com 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. Vision Builder AI does not requ...
Page 10 - Functional Overview
Chapter 1 Introduction © National Instruments Corporation 1-3 NI PCI-8254R User Manual LabVIEW VI creation wizard, Vision Assistant can create LabVIEW VI diagrams that perform the prototype you created in Vision Assistant. You can then use LabVIEW to add functionality to the generated VI. IEEE 1394 ...
Page 11 - Start Conditions; Acquisition Window Control
Chapter 1 Introduction NI PCI-8254R User Manual 1-4 ni.com Figure 1-1. NI 8254R Block Diagram Start Conditions The NI 8254R can start acquisitions in the following ways: • Software control —The NI 8254R supports software control of acquisition start. You can configure the NI 8254R to capture a fixed...
Page 12 - Hardware Overview; RIO and The LabVIEW FPGA Module
© National Instruments Corporation 2-1 NI PCI-8254R User Manual 2 Hardware Overview Digital I/O The digital I/O functions on the NI 8254R are accessible through 2 TTL inputs, 10 TTL outputs, 13 isolated inputs, and 4 isolated outputs. You can use input signals as triggers, product selection ports, c...
Page 13 - TTL Inputs and Outputs
Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-2 ni.com 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 LabV...
Page 14 - Isolated Inputs and Outputs
Chapter 2 Hardware Overview © National Instruments Corporation 2-3 NI PCI-8254R User Manual Table 2-1 summarizes the TTL inputs and outputs available on the NI 8254R. Isolated Inputs and Outputs The isolated inputs and outputs on the NI 8254R have a separate ground reference from the main NI 8254R s...
Page 15 - I/O for Normal Operation
Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-4 ni.com Table 2-2 summarizes the isolated inputs and outputs available on the NI 8254R. I/O for Normal Operation The following sections describe I/O functions that are available on the NI 8254R during normal operation. Table 2-2. NI 8254R Isola...
Page 16 - Trigger Inputs; Timed Pulse Output
Chapter 2 Hardware Overview © National Instruments Corporation 2-5 NI PCI-8254R User Manual Trigger Inputs Trigger inputs are available from both TTL inputs and isolated inputs. You can use these trigger inputs to synchronize the NI 8254R with an external event, such as the assertion of a signal gen...
Page 17 - Pulse Modes
Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-6 ni.com If the trigger input is set to Immediate in LabVIEW or using a None status signal in C and Visual Basic, the pulse generation occurs as soon as the pulse mode is set to Start in LabVIEW or imaqIOPulseStart in C and Visual Basic. After g...
Page 18 - Pulse Width
Chapter 2 Hardware Overview © National Instruments Corporation 2-7 NI PCI-8254R User Manual Pulse Width Pulse width is the amount of time between the first (assertion) edge of a pulse and the second (deassertion) edge. Pulse width is configurable only in microseconds from 1 µs to 4,294,967,295 µs. T...
Page 19 - Trigger Change Detectors; Product Selection Port
Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-8 ni.com Trigger Change Detectors The NI 8254R is capable of detecting edges on various trigger lines and latching this information for future retrieval. This feature is useful for high-precision hardware-monitoring of the presence of external e...
Page 20 - Using ISO Input 5 as a Latch
Chapter 2 Hardware Overview © National Instruments Corporation 2-9 NI PCI-8254R User Manual Based on the input to the product selection port, you can configure the application software to run the appropriate inspection sequence. For example, an upstream NI 8254R programmed for part classification mi...
Page 21 - General-Purpose Inputs; I/O for Fault Conditions
Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-10 ni.com General-Purpose Inputs The primary difference between general-purpose inputs and trigger inputs is that you cannot use general-purpose inputs to initiate a timed pulse generator. In an application, use the general-purpose inputs to get...
Page 22 - Shutdown; Watchdog Timer
Chapter 2 Hardware Overview © National Instruments Corporation 2-11 NI PCI-8254R User Manual The following sections describe each fault condition. Shutdown Shutdown mode is a software-enabled feature that, when activated, allows an external device to halt the NI 8254R processing operations. Addition...
Page 23 - Considerations When Connecting the Digital I/O; Wiring an Isolated Input to a Sourcing Output Device
Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-12 ni.com Caution Use the Indicator Only option only to test the watchdog timer. If software becomes unresponsive, it cannot be relied upon to send notification to the host. • Indicator Only —This option sends the expiration signal back to the d...
Page 24 - Wiring an Isolated Output to an External Load
Chapter 2 Hardware Overview © National Instruments Corporation 2-13 NI PCI-8254R User Manual Figure 2-5. Connecting isolated input to a sourcing output device Wiring an Isolated Output to an External Load The digital output circuit sources current to external loads, as shown in Figure 2-6. Caution D...
Page 25 - Protecting Inductive Loads
Chapter 2 Hardware Overview NI PCI-8254R User Manual 2-14 ni.com Protecting Inductive Loads When an inductive load, such as a relay or solenoid, is connected to an output, a large counter-electromotive force may occur at switching time due to energy stored in the inductive load. This flyback voltage...
Page 26 - Transmission Line Effects
Chapter 2 Hardware Overview © National Instruments Corporation 2-15 NI PCI-8254R User Manual 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 impeda...
Page 27 - Signal Connections
© National Instruments Corporation 3-1 NI PCI-8254R User Manual 3 Signal Connections The following diagram shows the connectors on the NI 8254R. 1 IEEE 1394a Connector 2 IEEE 1394a Connector 3 2-Position Isolated Outputs Power Connector 4 Digital I/O Connector NI PCI-8254R IEEE-1394 V C 5–30V DIGIT ...
Page 28 - Connectors
Chapter 3 Signal Connections NI PCI-8254R User Manual 3-2 ni.com Table 3-1 summarizes the functions of the connectors on the NI 8254R. Connectors This section describes the connectors on the NI 8254R and includes pinouts and signal descriptions for each connector. 2-Position Isolated Outputs Power C...
Page 34 - Cabling
Chapter 3 Signal Connections NI PCI-8254R User Manual 3-8 ni.com Cabling IEEE 1394 Camera Cables 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. I/O Terminal Block National Instruments provides an I/O termin...
Page 35 - NI Vision I/O Terminal Block and Prototyping Accessory; Power Requirements; Isolated Outputs Power Connector
Chapter 3 Signal Connections © National Instruments Corporation 3-9 NI PCI-8254R User Manual Note TRIG 0, TRIG 1, and TRIG 2 signals are not accessible through the standard 44- to 37-pin cable and I/O terminal block. NI Vision I/O Terminal Block and Prototyping Accessory Use the NI Vision I/O Termin...
Page 41 - Index
© National Instruments Corporation I-1 NI PCI-8254R User Manual Index A acquisition window control, 1-4 C cabling, 3-8calibration certificate (NI resources), A-2connector functions, 3-2connectors, 3-2 2-position isolated output power, 3-2general-purpose digital I/O, 3-3IEEE 1394a, 3-3 conventions us...