LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

custom data for x-axis

I am facing a problem with ploting a desire graph. I am acquiring data (in Volt) from peripheral and have to plot it against a calculated data in X-axis.

the X-axis data will be calculated from time. means like that--

                                                                                                          x=t*5000*15

the problem is -

                                 1. i have to access the time duration "t".  

                                 2. i have to plot X vs Y where Y is a real time data. 

 

is it possible to access the computer clock for this purpose or I have to do somthing else? which one will be more convenient?

Should I use XY graph or somthing else? 

0 Kudos
Message 1 of 2
(2,720 Views)

Hello Sukhiray,

 

Thank you for contacting National Instruments!  It sounds like you are trying to just scale the X-axis by a multiplier.  Is that correct?  If so there is a property node that you can use that will do just that.  I have attached a screenshot that shows you how to get to the property for the X-axis multiplier. If you place a Waveform Graph on the Front Panel and then go to the Block Diagram and right click on the Waveform Graph you should be able to navigate to the property and place it on your Block Diagram.  From the formula that you have I believe you will just need to set your multiplier to 75000 and you will get the X-Axis that you desire.  I hope this helps!

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,661 Views)