LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer time stamp for changing of multiple Value of Array

Dear All,

 

I am facing one problem regrading the array. If I have around 30 element in a array, if there any two or more value change at a time, at that a moment I want to transfer time stamp to array at respective index no.

 

Please give me a solution of this  problem.

 

Thanx for help me.

 

Vinal Gandhi

Vinal Gandhi, CLA
0 Kudos
Message 1 of 5
(2,758 Views)

Please provide the max rate at which ur values can change at a time.

 

If the time required to compare previous value of 30 element to present value is greater than the "rate of change of value"; then you have to split the array into elemnts & run the parallel threads for checking individual elements.

 

Else u can easily do compare operation & with a good enough accuracy can store the timestamp; since each code has its own execution delays.Smiley Happy

0 Kudos
Message 2 of 5
(2,745 Views)

Hello Kekin,

 

Will give me one example, which you suggested me.

Vinal Gandhi, CLA
0 Kudos
Message 3 of 5
(2,729 Views)

I cannot give u an example if u don't tell me the exact rate at which the values are expected to change.

 

Please answer following questions:

 

1.Will two or more values will change at the same time or at the same rate?

2.Is the rate of change is asynchronous or random?

3.Whats the max time stamp error is acceptable for u?

 

Please be very specific while answering.

0 Kudos
Message 4 of 5
(2,724 Views)

Hi Vinal,

 

something like this should get you on track:

18713i1EE3B4E93A7C4D4F

"Timestamps in" and "data in" have to have the same array size...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(2,718 Views)