01-08-2020 04:39 AM
I'm trying to create a custom waveform chart which starts at a negative value, I think I've managed to get that bit figured out but I'm now having issues with how the Y values are spaced out, here is my issue;
I have two arrays, one is a set of "limit" values (which has 350 as array position zero) and an array of positions (which is the array with -12 as array position zero) - the last part of this I've managed to get working - I can start my Y data from the -12 point, but as you can see from screenshots, my "limit" array is only populating a small area of the Y data (I know logically this is because there are only 5 elements and are essentially filling -12 to -7) - how would I space this out so 350 starts at -12, 1350 starts from -3, 2750 at position zero, 1350 starts from 3 and finally 350 ends at 12.
Here is my basic diagram, the "limit" array will ultimately by a dynamic array fed in from another VI.
Solved! Go to Solution.
01-08-2020 05:13 AM - edited 01-08-2020 05:14 AM
Hi Jason,
after all it's just a chart!
(A chart doesn't have a "real" X axis, but plots just one sample after the other while incrementing a sample counter used for X axis…)
Why don't you use a XYGraph when you want to plot XY data?
01-08-2020 05:48 AM
Yep, after a brief re-do of my diagram with an XY chart.. it's now ridiculously simple and works as I need it to! I'm going to chalk this one down to lack of sleep from last night.
Many thanks!
01-08-2020 06:29 AM