09-24-2012 11:21 AM
Hello Gogineni,
Run the code and see the plot data as per the time or not.
09-25-2012 04:55 AM - edited 09-25-2012 04:57 AM
Hello
I modified your code a bit, so that the timestamp on Waveform chart is correct. I have not yet touched the XY graph part.
To repeat what you want on the waveform chart also on the XY graph, let me know if what you expected is achieved. Then, i will see if i can change the plot on the XY graph also.
Edit: I used a time delay of 1 second in the loop, so that the x axis timestamp chagnes are noticble. When you change the loop delay back to 100ms, please note to set the 'dt' of the waveform as 0.01.
09-26-2012 09:42 AM
Hello,
As I mention earlier that chart is already done. Same I implement in code. Now if you can implement same in XY Graph. It would be great.
09-27-2012 12:49 PM
@Himanshu_Goyal wrote:
Hello,
As I mention earlier that chart is already done. Same I implement in code. Now if you can implement same in XY Graph. It would be great.
I played with this because I am interested in seeing how to have two different Y-scales on an XY Graph, which your code used. I was able to get the XY Graph in your code to plot identically to the Waveform Graph. 🙂
In my own VI, how can I set up an XY graph to use two different Y-scales? I can copy the items from this example to make it work, I believe, but would like to know how to do it from scratch. Thanks!
Jeff
10-29-2012 06:10 AM
Hello jeffrey,
You can plot multiple Y scales on any type of graph/chart. Just right click on any digit of y-scale and select duplicate scale. This step will create two y axis scale on you Graph/Chart. Now using swap function you can swap this scale to other side.