LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

swap x axis in xy graph around

Hi, I'm using an XY graph. The x axis is speed. It has to start from the max speed (first data value received) and not from 0 or fixed value.

I would also like the x axis to stay autoscale to keep the graph as large as possible on the screen. How can I do this? Any help will be much appreciated! And an example would be great!

Thanks,
Madri
0 Kudos
Message 1 of 7
(3,203 Views)
Make sure the x axis is set to autoscale.

Then simply change the max label to 0. So if it originally went from 0 to 10, click on the 10 and type 0. Notice it should have now swapped your data. You can send it new data and it will autoscale reversed.

See the attached
Message 2 of 7
(3,203 Views)
Hai,


 I am Avinash. I need to do one project using Labview. It is an Electronic project




1)   we need to read the ASCII data from Excel file using LABVIEW


2)    The Data contains 9 rows,  we need to draw graph between first column(time) and  8th (pressure) ,9th(pressure) columns. starting of that file       contains some unwanted data upto 23 rows So, we need to draw graph from 23th row onwards.


-> From this we will get two waveforms one is between 1st column and 8th column,  the other waveform is between 1st column and 9th column. we need to draw separate graphs for each and including both waveforms.


3) Now we have to count the number of pulses present in the waveform ; maximum and minimum values of the pulses present in the waveform.


4)The data is practical one. So, using filters we have to make that as normal waveform. we need both formats before modification and after modification ( which we modified using filters)


5)Completing the above task, At the end, If we keep the cursor on the filtered wave pulse, It should represent the maximum and minimum values of that particular pulse..




I am attaching one file with this mail, That will be an example






Thanks ans Regards,
Avinash Gogineni.
0 Kudos
Message 3 of 7
(2,876 Views)

Dear Evan,

 

Is there a way to do it programatically?

 

With regards

Shourya

 

 

0 Kudos
Message 4 of 7
(2,865 Views)

Hi ssingh,

 

yes!

 

Do you need some more details? Smiley Wink

 

Well, look into the create->property node->X axis->... details when right-clicking the graph's terminal...Hint: you want to flip the scale...

Message Edited by GerdW on 03-06-2010 11:42 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 7
(2,859 Views)

Hi Avinash,

 

please stick with your original thread with the same topic or create a completely new thread, when the topic changes!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(2,857 Views)
Thanks GerdW Smiley Happy
0 Kudos
Message 7 of 7
(2,839 Views)