LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Highlight some points in a strip chart

Hi,

is it possible to highlight 1 or 2 points in a strip chart (that already has data in it) after the program has finished to write to it.

 

Lets say I would like to put a cross or a red dot to position  x,y  ;  x being time=5 seconds, and y = whatever value I have on the Y scale.

 

Thank you.

 

0 Kudos
Message 1 of 6
(2,801 Views)

I posted some examples using anotations in this thread.

 

Both this

 

 

 

 

And this

 

 

 are shown in that thread.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 6
(2,797 Views)

Thank you.

That seems to work fine for a graph, but I'm using a strip chart because of the autoscaling features.

 

0 Kudos
Message 3 of 6
(2,787 Views)

@MikeD wrote:

Thank you.

That seems to work fine for a graph, but I'm using a strip chart because of the autoscaling features.

 


 

In your original post you wrote "after the program has finished to write to it.".

 

So copy the data from the chart to a graph and use the techniques described in the previously linked thread.

 

Alternatively you could maintain your history in a shift register and just use a graph all the way through.

 

To the best of my knowlege the functions for annotating a display are only available for graph type objects without resortting to developing your own code based on a LV Pciture control where you have to implmeent the scaling, buffering etc.

 

It's your choice. I am only trying to help.

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 6
(2,783 Views)

Hi Mike,

 

which "autoscaling features" do you use that aren't available in a graph?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(2,781 Views)

Thank you Ben and GerdW.

I appreciate your help.  I did more testing, and I modified my program to use a Waveform Graph instead of chart. It does have the autoscale option, so that works.

 

For the annotation, I have strange behaviors.

Just for test, I created a graph with an annotation, and sent the annotation data to a cluster display. I can see my X-Y position changing while I drag the annotation.

If I keep that cluster as a base to build a new cluster and only change the X-Y position using a control on the FP and write to a new graph, the position of the annotation is not correct. It may stay at 0,0 or be close to the location I want, but not on it.  I do have a multiplier of 0.25 on the X scale if that makes a difference?

All the rest of the cluster is the same as what I was reading from my previous test.  Index needs to be 14 (default was 0), I don't know what that index is for though.

 

I will continu to work on it tomorrow.

Thanks again.

 

0 Kudos
Message 6 of 6
(2,774 Views)