Chapter 2
Using Your NI 653X
©
National Instruments Corporation
2-33
Choosing DMA or Interrupt Transfers
When using DMA (default), the NI 6534 transfers data in 32-byte blocks,
and the NI 6533 transfers data in 4 byte blocks. Therefore, at any time
during a continuous operation, there may be up to 31 bytes (or 3 bytes for
the NI 6533) of data in an internal FIFO. You can use interrupt-driven
transfers if you need to retrieve data immediately as it is acquired.
Interrupt-driven transfers are slower and take more processing time from
the computer than DMA-driven transfers.
Connecting Signals
Connect digital input signals to the I/O connector using the pinout
diagrams, Figure C-1,
NI 653X I/O Connector 68-Pin Assignments
68-to-50-Pin Adapter Pin Assignments
If you are using external start and/or stop triggers, connect to the
appropriate pins—start trigger (ACK or STARTTRIG) and/or stop trigger
(STOPTRIG).
Creating a Program
Using the following flowcharts as a guide, create a program to perform
change detection. Figure 2-20 and Figure 2-21 display flowcharts for C
programming using NI-DAQ, and Figure 2-22 shows a LabVIEW
programming flowchart.
The boxes represent function names for the appropriate software, and the
diamonds represent decision points.