10-31-2012 08:57 AM
i would like to display the first element in the numeric indicator, and the next second, display the second element in the numeric indicator and so on.
how do i come around doing tat?
Solved! Go to Solution.
10-31-2012 09:17 AM
What you want is index array. One more simple way is read the file and pass the array into a for loop and keep the numeric indicator inside and wire it.
good luck
10-31-2012 09:24 AM
the loop only runs 3 times. y is tat so?
and the first result for indicator 1 and indicator 2 is 12, but in text is suppose to be 0
10-31-2012 09:29 AM
i did this way - refer to attached VI*
10-31-2012 09:35 AM
Try this:
10-31-2012 11:40 AM
I believe you have to set the transpose terminal to True in the Read from spreadsheet file vi.
10-31-2012 08:24 PM
where can i get this icon in the pallette?
10-31-2012 08:26 PM
Its okay, found it 🙂 im gonna go try the program now.
10-31-2012 08:33 PM
The result that i get, the date displayed in the front panel is not the same as the date in my text file.
and the values of my wind speed and gust speed is not displayed in the numeric indicators. is it because they are decimals?
10-31-2012 08:54 PM
You don't have any date information in your text file. Just a time. So when you show the date/time in an indicator, LabVIEW will assume it is the 0th day which is Jan 1, 1904. Exactly what you are seeing in your indicator.
The first several rows of your text file have 0 data. It isn't until the 8th row that has any data with a decimal value. Your front panel arrays are only showing the first three. When I run your VI, the decimals show up just fine for me when it gets to be able to show that data row.