Hello Matt,
Well, I'm sorry for the fact of being confusing. I'll try to clarify:
> ... Are you saying that you want to acquire on one port and then
> generate data on another port based on matching a pattern on the
> acquisition? ...
Yes, this is what I want to do. Also, sample clock is a external
signal (20MHz) connected to 'STROBE' pin. Generation and acquisition
sessions both use the same sample clock. Acquisition port has 2 lines/
inputs (dio28, dio29) and generation one has 28 outputs
(dio0..dio27).
Well, I have to do the following process (let's cross fingers):
1. When one '0' is detected in dio28 line, then device must wait until
dio28 is '1' and dio29 is '1'. There's no generation between these
events.
2. After that, a generation of a certain waveform is performed at
once, up to a certain number of samples in lines <dio0..dio27>. then,
dio29 is '0'.
3. Finally, pseudocoded: 'wait until dio28=1 and dio29=1. Then, go to
step 2 with another waveform parttern.' Device ends when 288 diferent
waveforms are written.
> ... I also wanted to know what version of the NI-6541 you are using? PCI or
> PXI? ...
PXI.
I hope to be more accurate.
Many Thanks In Advance