LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create a new chart scale using VI Scripting?

I had an idea for a tool that would create chart scales programmatically, but found that the property nodes only allow you to manipulate scales that already exist.  Can VI scripting be used to create new scales?  I tried, but have not been able to figure out how yet.

0 Kudos
Message 1 of 4
(4,997 Views)

Apparently, there is still no way to create more scales on a graph programmatically, so I don't know how to add scales and set their properties (get error 1077).  Does anyone know how to do this, either with standard LV nodes, or with scripting?

0 Kudos
Message 2 of 4
(3,460 Views)

My workaround is to have 6 scales on each axis (3 on each side, even and odd).  I then toggle the visibility.

0 Kudos
Message 3 of 4
(3,460 Views)

I need more Y-scales, like maybe 10 or 50.

Anyone aware of problems if graphs have lots of scales (each plot has its own)?

I could have one 0-100 Y-scale and convert each plot's data to fit, but that has lots of other headaches, and I can't show a nice Y-scale (I only show a couple at a time, not all!).

0 Kudos
Message 4 of 4
(3,460 Views)