Monitoring Line State-Change Detection; Deciding The Width Of Data To Acquire - National Instruments 653 Series User Manual

For traditional ni-daq. high-speed digital i/o devices for pci, pxi, compactpci, at, eisa, and pcmcia bus systems
Hide thumbs Also See for 653 Series:
Table of Contents

Advertisement

Chapter 2
Using Your NI 653X
Because output data is preloaded to the NI 6534 buffer, you cannot use DAQ events
Note
(called progress events in the CWDO object of Measurement Studio) to monitor the
progress of a handshaking output operation. A DAQEvent is fired when data is preloaded
into the NI 6534 onboard memory from the PC memory, so the event indicates a data
transfer from the PC memory, not the progress of data output from the NI 6534 to an
external device.
Monitoring Line State—Change Detection
When you use the NI 653X alone, it detects whether a change occurred, but when you
Tip
use the NI 653X and an NI 660X counter/timer device (using a RTSI line), the relative time
between changes can be acquired by the NI 660X.

Deciding the Width of Data to Acquire

NI 653X User Manual
The preloading process causes a small delay between the start command in
software and the actual start of data transfer. If this delay is a concern, you
may disable the preloading by calling the following function/VI before the
software start command:
NI-DAQ C interface—In the
the ND_FIFO_Transfer_COUNT to ND_NONE.
LabVIEW—In the DIO Parameter VI, set the Scarabs Preload Enable
attribute to None.
You can configure your NI 653X to acquire data whenever the state of one
or more data lines change. Once the NI 653X detects a change in one of the
selected lines, it captures data within 50–150 ns and outputs a pulse on the
REQ pin. This mode increases CPU and bus efficiency because you can
monitor activity on input lines without continuously polling or transferring
unnecessary data during periods of inactivity.
You can choose between a width of 8, 16, or 32 bits. Use the following
table to find the valid combinations of ports and timing controllers you can
use based on the width of data you want to acquire.
Table 2-4. Port and Timing Controller Combinations
Transfer
Possible Port
Width
Combinations
8 bits
Port 0 (DIOA<0..7>)
Port 2 (DIOC<0..7>)
Set_DAQ_Device_Info
2-28
function, set
Timing Controllers
That Can Be Used
Group 1
Group 2
ni.com

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

65346533

Table of Contents