LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I compare dynamic data at two different time?

Hi

I am acquiring signals (dynamic data) from a pressure transducer and I want to compare the pressure at t1 with the pressure at t2 to show the pressure is stable, any possibility to  graph this differential pressure?

 

 

Thanks

Omid   

0 Kudos
Message 1 of 6
(3,206 Views)

Hi omid,

 

May be this is what you are trying to do.. Have a look at the attached vi.. 

 

Regards,

 

Nitz..

(Let me know if this was useful and kudos are welcome:))

0 Kudos
Message 2 of 6
(3,198 Views)

Hi thanks for the Vi I tried to fit in the Vi but it didnot work with the dynamic data that I am using, I've simulated the signal and I attached the VI please have a look

 

Thanks

Omid

0 Kudos
Message 3 of 6
(3,089 Views)

Hi omid82,

  I think you cannot compare two dynamic values ,probably  you will get error saying that a type mismatch if you give two dynamic values as input to any comparison function.So better use from ddt function and use as you like.

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 4 of 6
(3,075 Views)

Hi srikrishnaNF

thanks for your respond I've tried the ddt function but i could'nt built an array and compare the data, what I am trying to do is get the pressure data every five mintues and minus the previuos data like the data in  table below 

thanks

Omid

time pressure  pressure difference every 5 min
9:00:00 AM 1000.00
9:05:00 AM 1002.00 2.00
9:10:00 AM 1009.00 7.00
9:15:00 AM 1012.00 3.00
9:20:00 AM 1019.00 7.00
9:25:00 AM 1050.00 31.00
9:30:00 AM 1065.73 15.73
9:35:00 AM 1084.42 18.69
9:40:00 AM 1090.10 5.69
9:45:00 AM 1096.79

6.69

0 Kudos
Message 5 of 6
(3,021 Views)

Hi Omid82,

  You should use "from DDT" function and configure it for single channel.Please look at the attachment

                                         ...Example_VI_BD.pngand for configuration look at the attachment.After converting to array,it is as good as the difference between consecutive elements in the array.

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 6 of 6
(3,006 Views)