LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph plot with time stamp

Hello Gogineni,

 

Run the code and see the plot data as per the time or not.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 11 of 15
(597 Views)

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. 

 

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 12 of 15
(581 Views)

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.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 13 of 15
(568 Views)

@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

Jeffrey Zola
0 Kudos
Message 14 of 15
(555 Views)

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.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 15 of 15
(536 Views)