LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

do not get the correct x axis

I need to have the correct x axis in order to get the right peak or max for a portion.

Basically, I need to have the same x axis with the one above for the left bottom graph.

Help me to modify my graphs. I haven't tried aligning the axis for such graphs in LV so far.

Thanks
0 Kudos
Message 1 of 2
(2,469 Views)
Hi Mike,

If I understand your question right, you are trying to set the x-axis of the Graph programmatically.

You should use Property Nodes for this purpose. Right-click on the Graph that you want to change and choose "Create > Property Node". On the Property Node, use the 'Operate' tool (the finger) and choose "X-scale > Range > All elements". By right clicking, choose to "Change to Write". Do the same for the graph that you want to copy the x-axis from, but choose to read instead. Then wire the two Property Nodes together, and when running, you will see the x-axis being updated (see te attached example).

Best regards,
Philip C.
National Instruments
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 2
(2,469 Views)