Hey Adrian,
As it turns out, the 653x cards (DIO-32HS included) support burst mode pattern generation. However, what you want to do does not seem to fit burst mode pattern generation. The difference comes from wanting the ACK line to be deasserted after a set number of samples. The way that burst mode works, is that ACK is asserted if the 6533 is capable of accepting more data and deasserted if it is not. It is not the responsibility of the 6533 to let the external device know how many samples it has taken. If the external device does not have more samples available, then it should deassert the REQ signal until it has more samples to transfer.
Since this does not seem to fit your application, the best solution would be to see if you can modify your device
to deassert the REQ line if it does not have more data. If this is not possible you could try continuously acquiring and making your REQ signal an input. You could then analyze your data and determine whether or not a sample if valid based on the REQ line.
Another alternative would be to use a counter/timer board or an STC counter from an E Series board to create your REQ signal, if your device is not capable of making one.
One other solution that may work well for you is actually doing continuous acquisition, but clock the data in one finite set at a time. If your device can create a digital trigger, then you could use counters to produce a finite pulse train upon a digital trigger, which is retriggerable in hardware, making it really fast and effective.
Please look
here for more information on Digital I/O Applications including handshaking.
Just let us know any thoughts or que
stions on this explanation.
Justin T.
National Instruments