LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying an Array in Real Time

Is there a way to display an array in real time as it updates ? What I mean is I am changing an array as the program is run and to see the changes teh user now needs to manually change the index number in the box to view the most recent entry. Can this be done automatically? Thanks.
Intern NSWCCD Carderock.
0 Kudos
Message 1 of 10
(4,042 Views)
Hi,

You can adjust the index value programtically with the property node index values…
0 Kudos
Message 2 of 10
(4,034 Views)
How would I go about doing this, i'm not sure how to control that index scroller.
Intern NSWCCD Carderock.
0 Kudos
Message 3 of 10
(4,028 Views)
Euh,

Right click, create property and select index values...

But please read the LV manual.
0 Kudos
Message 4 of 10
(4,022 Views)

Hi, I have a similar situation. I have posted my piece of code and would like a bit of assistance. So I have a boolean array entering the VI from a network stream and I have each element entering a comparison function for a sting value. The string elements are then built into an array. I have set up the property node to link to the Monitor System Indicator array but I'm not sure how to implement this into a display.  

 

I want to display the latest changing element in the string array. 

0 Kudos
Message 5 of 10
(3,644 Views)

Here is a sample vi that will do what you are asking.  Not sure that it is the most elegant of solutions, but should work for your small array size.

 

Index Array to Value Change.png

Message 6 of 10
(3,624 Views)

to add what was said.....I would change your multiple function code to an array form using a for loop

 Example_VI_BD.png

 

much cleaner and if a change happened on the False select all you would get is "System OK' on your end and would not know what it was associated to, so I changed it to what would be an example...."VFD1 Alarm System OK"

Message 7 of 10
(3,601 Views)

Thank you guys for the input! I'm going to attempt some of these ideas. 

0 Kudos
Message 8 of 10
(3,585 Views)

Here is the solution to my problem. It is used to show a image of a highlighted door which is open. I added a Elapsed Time VI to pulse the highlighted image with the normal image to show a flashing motion. I don't think using a Timer is the best way to pulse between two images but it works. I want to expand this and flash between images if more than one door is open.



Thanks for the help.

0 Kudos
Message 9 of 10
(3,546 Views)

Why do you think a timer won't be the best way?

 

PS:  You do know that something =False is the same thing as using a Not function.  And something = True is completely pointless and should just be eliminated.

 

Rube Goldberg Code

0 Kudos
Message 10 of 10
(3,541 Views)