LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display latest value to table

Hi All, I would like to list the values to my table and the latest value must be always on the top. Below attached what i currently did. But there's no value listing, yet there's only 1value and is always the latest value. What's the problem with my circuit? or is there missing constant value to my array subset? Thanks & Regards, Isa
0 Kudos
Message 11 of 15
(976 Views)

Your loop only runs once because there is a true value wired to the stop terminal of the loop.  The next time the loop runs, the array is reinitialized.

 

Look back at my reply #4 for deja vu.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
0 Kudos
Message 12 of 15
(974 Views)

Hi,

I did change control button for stop, the values are listing down on the table but when i put it into the main program, the program will hang there because of the control button. and if i put as true false to the button, the main program's table only display one value not listing. So i don't think is the true false value that matters.

Is there problems with the program i did?

 

Regards,

Isa

0 Kudos
Message 13 of 15
(966 Views)
If this is just a piece of code dropped into a larger program, then you need to get rid of the loop here and make the shift registers a part of your main program's while loop.
0 Kudos
Message 14 of 15
(952 Views)

Hi,

 

I dont know if you fixed the timestamp issue, but as i understood it you wanted timestamp to show how long the program had been running, right?

 

If so, make T0 as a variable with the time of the program start (through date/time functions).

 

Let T1 (or wire directly) the time of measurement.

 

Store T1-T0 in table.

 

If you simply want to store the timestamp in the table, use "Replace Array Subset" and connect your time through that.

 

/Y

Message Edited by Yamaeda on 01-14-2009 06:26 AM
Message Edited by Yamaeda on 01-14-2009 06:26 AM
G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 15 of 15
(942 Views)