Hello,
You should be able to accomplish this, however, you will not be able to use the digital lines to do so. The reason is that the digital lines on the board are static digital lines. They are only settable through software calls, and unless you are using a real-time OS, we cannot accurately time our digital outputs.
You have two options here. The first way, I would suggest programming the digital pulse as a synchronized analog output. The second way that you could do this is by using a counter. In DAQmx, you can specify a digital start trigger for an output pulse train, and all you have to do is specify the digital start trigger as the analog update signal. This way the first analog output will start the counter operation. Just program the counter pu
lse train to have a frequency that is 1/250th of your acquisition rate.
I understand this is a lot of new information. Just let us know which method you would prefer and what questions you have about accomplishing this.
Best regards,
Justin T.
National Instruments