Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

combine analog acquisition and digital output

I have to start analog acquisition (2 channels), starting with external trigger, and every 250 sampling data must to generate single digital pulse at one digital output. Analog sampling must flow continuously to the disc during all the measuring time. I have E-series DAQ card (16XE-10).

Please, anyone can help me on that problem?
0 Kudos
Message 1 of 2
(5,723 Views)
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
0 Kudos
Message 2 of 2
(5,723 Views)