09-10-2010 02:33 AM
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.
Solved! Go to Solution.
09-10-2010 04:56 AM
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
09-11-2010 12:40 AM
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.
09-11-2010 12:41 AM
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.
09-11-2010 01:48 AM
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.
09-11-2010 04:37 AM
I am not uderstant what do yau say. Please give me some example.
09-11-2010 07:18 AM
It would be much easier if you posted the missing VI so we can see what it is that you are doing.
09-11-2010 07:54 AM
i think buffer vi is missing in this vi so i attach it in this vi please find attachment.
09-11-2010 08:58 AM
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