From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure the time difference between a digital output and a responding analog input

Solved!
Go to solution

Hallo,

 

I use the following system:

  • NI PXI-1044 with NI PXI-8109 controller
  • NI PXI-2564 switch module to turn the power of my tested device on
  • NI PXI-6259 multifunction DAQ to measure the responding signal jump

Both cards are at the same PXI-trigger-bus. For both, PXI-2564 and PXI-6259 I use DAQmx to program reading and writing the channels.

Now I want to measure the time delay between the digital output, that switches my device on and the analog input, that measures the reaction of my system.

 

I can't get it to work by myself, please help me!

 

Thank Ludwig.

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

Hi Ludwig,

 

what have you tested so far?

Do you have any VIs which you can upload for us?

 

Best regards,

Abduelkerim

Sales
NI Germany
0 Kudos
Message 2 of 7
(5,059 Views)

The M-Series synchronisation mechanism dosn't work.

 

I don't know if a could address the PXI-trigger-bus directly?

 

0 Kudos
Message 3 of 7
(5,052 Views)

I did understand your problem.

 

But you said: "I can't get it to work by myself"

 

Therefore, you definitely have build some VIs. I would like to see them

Abduelkerim

Sales
NI Germany
0 Kudos
Message 4 of 7
(5,049 Views)

I have not any VIs. I had one but with every error I changed it to try other things. Because of no usable result I didn't saved anything.

0 Kudos
Message 5 of 7
(5,043 Views)
Solution
Accepted by Ludwig72

Hi Ludwig,

 

if you can't give us any VI we have difficulties with helping you.

Because I donÄt know how your programm is build up it is not easy to tell where you should grip signals.

 

Here is a similar question to yours:

http://forums.ni.com/t5/LabVIEW/Best-way-to-measure-time/td-p/178704

 

and 2 external links:

 

http://www.ehow.com/how_8698983_measure-time-labview.html

 

http://objectmix.com/labview/385152-how-can-i-use-labview-measure-time-between-analog-pulses.html

Abduelkerim

Sales
NI Germany
0 Kudos
Message 6 of 7
(5,027 Views)

Hi Abduelkerim,

 

thank you for your help.

I wish, there was a function to use the PXI trigger bus to synchronize measurements.

Timer and Timestamps are not the exactest but an usable way.

 

Ludwig.

0 Kudos
Message 7 of 7
(5,018 Views)