01-14-2009 10:18 PM
Hi, I am very new to LabView. I am using LV8.6 .
I want to do following things
1. The main aim is to plot hysteresis and deadband of my positioner.
2. I am using OPC to read the values.
3. Please see the attached vi .
Operator will enter signal coloum. I just want to get the position reading and place it in the corresponding cell in the table. I dont know how to address particular cell inside the table.
And also i want to draw graph for the same values. (please see the image)
Please help me.
01-15-2009 02:14 AM
Hi kaush,
you have to read the data from your table, replace the cell you want (use array function for it) and write it back to your table.
Sorry, i can't open your vi at the moment.
Mike
01-15-2009 02:37 AM
Thanks mike.
But sorry.. i am not clear with the explanation. 😞
01-15-2009 02:45 AM
Hi kaush,
what do you mean? You have a table, it is a 2d array of strings. To replace part of it, you can use the "replace array subset" function.
Mike
01-15-2009 04:32 AM
I can insert the new element. But how to increment the index of the array automatically. Can i create any property node for that ?
01-15-2009 04:36 AM
Hi kaush,
you have to store the value in your program, you can use a shift register for it.
Mike
01-15-2009 05:59 AM
Hello mike,
Thanks..
i wand to append element to the bottom. Please see the image..
01-15-2009 07:03 AM
Hi kaush,
you should initialize your array first, then you can use the replace function.
See the attached example please.
Hope it helps.
Mike
01-15-2009 09:05 AM
01-15-2009 09:46 PM
Thanks a lot for both.
I forgot to mention that there r two arrays. Please see the image.
Thanks mike for example. I am trying to modify that.