LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent the user from changing the time values????

Hi
I have attached my program.
While the program runs , the user can enter the time and temperature values and look into the graph.
But there is chance for the user to enter incorrect time values say T2<T1 , T3<T2 etc.So i need to protect the datas such a way that always T1 >T0 , T2>T1 , T3>T2 etc.....
 
I am not sure how to do that.
Anybody there to help me..................
 
Thanks & regards,
radhika
0 Kudos
Message 1 of 3
(2,200 Views)
I'll suggest you to use an array of cluster where the 1st element in the cluster is time. After this before updating, sort the array. Automatically the array will be sorted in ascending order. See attached VI
BR
Message 2 of 3
(2,188 Views)
Hi Kallis,
 
Thanks.I am using labview 7.1 , so i was not able to open your file but sorting array have helped me solve my problem.
 
Thanks & regards,
radhika
0 Kudos
Message 3 of 3
(2,156 Views)