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.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Vertical line in a 2DAxisSystem in Report by using a script

I would like to display a vertical line for the y-value where is a difference > 1 of the y-value. This should be done by using a script.

 

Thank you for your help.

 

Greetings

Alexander

0 Kudos
Message 1 of 4
(776 Views)

Hello Alexander,

 

Do you mean that you want to calculate the difference from value to value in a channel and if this value is > 1, then you want to draw a vertical line?

 

Greetings

Walter

0 Kudos
Message 2 of 4
(738 Views)

Hello Walter,

 

That's correct. I compare each value with the one before and if the difference is > 1, a verticle line should be displayed at this position. I have already determined how to determine the position and now need help on how to display the line at this position.

 

Maybe you know, how i can do this?

 

Thank's a lot.

 

Greetings

Alexander

0 Kudos
Message 3 of 4
(731 Views)

Hello Alexander,

 

Please find attached one option to solve this problem.

 

Greetings

Walter

 

0 Kudos
Message 4 of 4
(727 Views)