10-15-2022 09:21 AM
Hello everyone. I am trying to plot the accuracy of an instrument and I want to plot his accuracy range. I already plotted the accuracy characteristic line in a X-Y graph so I was wandering if there was a way to just plot the range only by offsetting the line that I already have on top and bottom but keeping the first one plotted. The only way I was capable of is in the attached VI but I was wondering if there was a simpler way so the VI can be smaller and more understandable. Data on VI are random so I can try this VI later on the instrument. Thank you for your help!
10-15-2022 03:42 PM
Your VI has two xy graphs and a waveform graph and some crazy spaghetti code. Can you point out the xy graph under discussion? There is no top-level while loop, so the entire VI is one shot and you need to produce all data to be plotted right there.
Can you take a step back and explain what the code is supposed to do? What values do you enter, and what results you expect after running it.
You forgot to attach your subVI, so please attach it. What does it do? If it just create a linear ramp, there are probably better ways. Also place typical default values in all controls, for example a value of 0 for (Campioni) is probably not reasonable.