LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot graph voltage Vs current

Solved!
Go to solution

I have plot voltage Vs current graph. In this graph if u want see your old graph so you select the time and date, so u get it old value. please tell me how do i log this value so i get that value when i select that date or time.

--
Thanks & Regard
Nitin Jain
0 Kudos
Message 1 of 9
(7,633 Views)

Use an XY-Graph to display the I_V data.

Use a ring control for the selection, populate this ring control with the filenames or timestamps of your logged data.

Use the value change of the ring control to write new data to your grapg.

 

Felix

0 Kudos
Message 2 of 9
(7,619 Views)

sir,

   Thanks for your solution, and ring control is very useful.

But sir when i click when i click radio button 1 to 2 so previous graph is also show can please give me solution of this ploblem.

and i also want save all voltage and current in data base and I select the time so i will see the value of current and voltage of that time.

--
Thanks & Regard
Nitin Jain
0 Kudos
Message 3 of 9
(7,594 Views)

sir,

   Thanks for your solution, and ring control is very useful.

But sir when i click when i click radio button 1 to 2 so previous graph is also show can please give me solution of this ploblem.

and i also want save all voltage and current in data base and I select the time so i will see the value of current and voltage of that time.

--
Thanks & Regard
Nitin Jain
0 Kudos
Message 4 of 9
(7,593 Views)

Without "xy chart buffer.vi", everything is just a guess, and that guess would be that you are using an uninitialized shift register in the buffer.  The solution would probably be a method to initialize the buffer when the input is switched, but since I am unsure of the overall purpose of your program, it is hard to recommend the 'best' solution.


Paul
0 Kudos
Message 5 of 9
(7,587 Views)

I am not uderstant what do yau say. Please give me some example.

--
Thanks & Regard
Nitin Jain
0 Kudos
Message 6 of 9
(7,575 Views)
Solution
Accepted by topic author nitinjainitm@yahoo.co.in

It would be much easier if you posted the missing VI so we can see what it is that you are doing.


Paul
0 Kudos
Message 7 of 9
(7,564 Views)

i think buffer vi is missing in this vi so i attach it in this vi please find attachment.

--
Thanks & Regard
Nitin Jain
0 Kudos
Message 8 of 9
(7,557 Views)

Now we see what's going on.

So you juast add points to the curve each time. This is done by using the indicator of the 'buffer' as 'variable' via a local. Is this desired by design?

My advice to you is to learn/understand the usage of shift registers.

The second major issue is the handling of the UI, I would suggest to use an event structure.

 

Felix

0 Kudos
Message 9 of 9
(7,551 Views)