Chapter 2 Using Your NI 653XNI 653X User Manual 2-6 ni.com• LabVIEW—Use the Easy Digital I/O VI from the following list that isappropriate for your task:– Read from Digital Line VI to read from a single line– Write to Digital Line VI to write to a single line– Read from Digital Port VI to read from a digital port– Write to Digital Port VI to write to a digital portSet digital channel to 4 and port width to 4.If one control/timing line is used or reserved, and you wish to use some orall of the remaining lines for I/O, use the Advanced Digital I/O VIsDIO Port Read VI or DIO Port Write VI. Set the bits in the line maskparameter to the lines to use for I/O.Generating and Receiving Digital Patterns andWaveforms—Pattern I/OUsing pattern I/O, you can acquire or generate patterns on every rising orfalling edge of a clock signal. The clock signal can be generated internallyby an onboard 32-bit counter set to a user-specified frequency, or the clocksignal can be received from the REQ pin in the I/O connector.Note Feed external clocking signals into the PCLK pin for burst-mode handshaking andinto the REQ pin when performing pattern I/O.Deciding the Width of Data to TransferYou can choose between a width of 8, 16, or 32 bits. Use the followingtable to find the valid combinations of ports and timing controllers basedon the width of data you want to transfer.Table 2-2. Port and Timing Controller CombinationsTransferWidthPossible PortCombinationsTiming ControllersThat Can Be Used8 bits Port 0 (DIOA<0..7>) Group 1Port 2 (DIOC<0..7>) Group 2