LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous analog and digital inter channel delay

Solved!
Go to solution

I need a simultaneous 1 channel analog input and 1 channel digital input intending to do maximum speed acquisition possible. Of course I expect no inter channel delay if sampled both inputs at the same sample clock edge. But this example demonstrates an unexpected behavior. Restarting the acquisition regularly shows different inter channel delays. I hope there is someone out there to help me out. See example included.

0 Kudos
Message 1 of 7
(3,078 Views)

Working example.

0 Kudos
Message 2 of 7
(3,060 Views)
0 Kudos
Message 3 of 7
(3,057 Views)

Hello PMH,

 

One question before providing feedback:

What hardware are you using?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 7
(2,995 Views)

Thierry,

 

Thanks for your reply.

I use the NI USB-6251 BNC https://www.ni.com/en-us/support/model.usb-6251.html

Labview 32 bit version 13.0f2 with latest DAQmx

Computer Optiplex 7010 (I7 processor)

 

Kind Regards,

0 Kudos
Message 5 of 7
(2,978 Views)
Solution
Accepted by topic author PMH01

I asked support from National Instruments and they came with an adequate solution.

The time stamp t(0) in the waveform is NOT the acquisition start time but it is the time the buffer is read.

To demonstrate this apply the same 'pulse train' to both channels and set t(0) of the waveforms to the same start time. Observe that the edges of both signals match exactly. Because one channel is a digital input we have to take the logic voltage levels in account.

 
Thanks to Henk Talsma
National Instruments
Applications Engineering

0 Kudos
Message 6 of 7
(2,865 Views)

Hello PMH01,

 

My apologies for not being able to reply earlier. (I have been Out of Office due to sickness for several weeks.

I'm happy to see that Henk was able to help you in the meanwhile.

 

This explanation is indeed correct.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 7 of 7
(2,837 Views)