11-16-2010 03:11 AM - edited 11-16-2010 03:18 AM
Hello there again! I have another problem here.. As seen from the attached photo below, ive circled two spots in the image. (two orange round) ..
My first problem is .. On the bottom of the picture is the graph where Current curve and Voltage curve are plot together in one single graph. As you can see, there are two cursors on the graph. How do I make , when I drag one cursor to the right, the other cursor also move to the right and when i drag the cursor down, the other cursor also move down and vice versa.
Another problem i have is, as seen on the left hand side of my screen shot, is the image of a table, where it consists of 3 colums.. Time (Zeit) , Voltage ( Spannung) and Current (Strom).. These data are imported from .lvm data ... this file also is attached below.. However, The data are imported wrongly to false column.. The numbers in the first column should be in the second column, and the numbers in the second column should be in the third column.. How do i fix this??
My last question is, how to make, when i move the cursor on the 3rd graph (Voltage-Current Time graph), i want the table to automatically bring me to the corresponding row where it shows the current and voltage read on the graph... Is it possible?
Thanks so much in advanced!
11-16-2010 03:21 AM
@apapa wrote:
How do I make , when I drag one cursor to the right, the other cursor also move to the right and when i drag the cursor down, the other cursor also move down and vice versa.
Use a cursor move event. It will tell you the cursor index of the moved cursor and the new coordinates. update the coordinates of the "other" cursor accordingly. See how far you get.
apapa wrote:Another problem i have is, as seen on the left hand side of my screen shot, is the image of a table, where it consists of 3 colums.. Time (Zeit) , Voltage ( Spannung) and Current (Strom).. These data are imported from .lvm data ... this file also is attached below..
You did not attach the data file. Please attach the data file AND a simple VI showing how you read the file. We cannot help unless we see what you are doing.
@apapa wrote:
My last question is, how to make, when i move the cursor on the 3rd graph (Voltage-Current Time graph), i want the table to automatically bring me to the corresponding row where it shows the current and voltage read on the graph... Is it possible?
Again use a cursor move event and get the cursor index from the event terminal. Use it to index into your data array or to select the desired row in your table.
11-16-2010 03:31 AM
Hello thanks for the reply. Will get back to you after i try the solution given.
Attached below is the sample of my .lvm data .. how ever i cannot post any .lvm data format here.. but given below is the .txt data..
11-16-2010 03:33 AM
I still cannot find the code where you read the lvm file. Can you attach that?
11-16-2010 03:36 AM
Sorry i am really a newbie in this.. When u say u need the code where it reads the lvm data, does that mean u want me to attach the .vi file of my block diagram? :-s
11-16-2010 03:47 AM - edited 11-16-2010 03:48 AM
@apapa wrote:
does that mean u want me to attach the .vi file of my block diagram? :-s
A VI includes the front panel and the block diagram. Just attach the VI that contains the code that reads the file.
11-16-2010 03:48 AM
I made a screen shot of the code u need in.. Is this the one u need?
The first screen shot is how to read the data and import the lvm data..
The second screen shot is to form a table based on the data..
11-16-2010 03:52 AM
Here this is.. The .vi file--
11-16-2010 04:16 AM
Please save your VI in LV 8.6 and post
11-16-2010 04:28 AM
OOkay how do i save it in LV8.6.. im using it in LV version 10.. I have in another compiter LV version 8.6, but when i want to open the file in this version LV 8.6 i cannot open it.. :-s