From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-05-2011 03:57 AM
hi
how to program my requirement.
i.e. get the two x-axis values automatically from the graph.
please give an idea to this.
i attached my requirement as image
Regards,
Hari
04-05-2011 04:37 AM
04-05-2011 04:37 AM
First of all.. Your attachement is not visible..
Second.. as a general understanding.. You can create two cursors and read their corresponding positions programmatically..
Mirash
04-05-2011 05:21 AM - edited 04-05-2011 05:22 AM
Hi Mirash,
I attached again, from the below graph i like to get the X-axis values of both cursors programmatically.
when ever the two spikes occured i want the time occurence between them.
From the i can able to get X-axis value statically.
Thank you
Regards,
Hari
04-05-2011 08:10 AM
Hari,
You can follow the same method as GITA mentioned in the above post.
The attached VI has the same implementation.
Mirash
04-05-2011 11:42 PM
Hi Mirash
I did the same, I got the values by manualy moving the cursors.
But i want it by automaticaly, when ever the signals acquired cursors should point it automaticaly
and get the values without moving the cursors manually.
Regards,
Hari
06-29-2011 06:30 AM - edited 06-29-2011 06:33 AM
.
01-28-2013 05:07 AM
thankyou so much..Your image of the implementation was so perfect!
02-02-2022 09:41 AM - edited 02-02-2022 09:42 AM
I have the same desire to put two vertical cursors on a graph and then choose to expand the X axis between the two cursors. Obviously, there would also need to be a 'reset' to go back to full X axis scale. I want to do this programmatically. I know the tools already do this.. Thanks in advance.
Ron Brook
02-02-2022 10:00 AM