Hi BSamuelson,
It looks like you are trying to do synchronized reading and writing on a PCI-6533 device. You mentioned that you are using LabVIEW, so I went ahead and attached an example VI.
Essentially what has to be done to synchronize the input with the output is to take the clock from one operation and route that to the clock for the other. That can be done with the DAQmx Export Signal.vi.
Below is the documentation for the VI:
I. Description:
This example demonstrates how to generate a finite amount of digital data (Waveform) using a digital start trigger.
II. Instructions for Running:
1. Select the Physical Channel to correspond to where your signal is output on the DAQ device.
2. Select how many samples to generate on each channel.
3. Set the Rate of the Generation.
4. Select the Source and Edge of the Digital Start Trigger for the generation.
III. Block Diagram Steps:
1. Create a digital output channel.
2. Define the parameters for an Internal Clock Source. Additionally, define the sample mode to be Finite.
3. Define the parameters for a Digital Edge Start Trigger.
4. Write the waveform to the output buffer.
5. Call the Start VI to begin the acquisition.
6. Call the Wait Until Done VI with a timeout of 10 seconds
7. Call the Clear Task VI to clear the Task.
8. Use the popup dialog box to display an error if any.
IV. I/O Connections Overview:
Make sure your signal output terminal matches the Physical Channel I/O Control. Also, make sure your digital trigger terminal matches the Trigger Source Control. For further connection information, refer to your hardware reference manual.
Hope this helps!
Regards,