LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plotting of the voltage

You will find two files attached. One is screen shot of the result I get on the front panel and second one is actual VI. I am controlling high voltage power supply and I am supposed to increment output voltage in steps of 100 V until I reach the desired value of the voltage (1000 V). I am plotting the whole process in parallel and I am obtaining the plot as shown in Figure FrontPanelShot.
My question how to optimize this plot so that:
- the second linear line does not appear only step graph and
- the slope in transition phase is not vertical (infinity) there is some time delay.

thanks,
Pedja
Download All
0 Kudos
Message 1 of 2
(2,366 Views)
Pedja,

I don't think I understand your questions; however I will try to answer them. If I misunderstood let me know and we will get this figured out.

1. "The second linear line does not appear only step graph"
a. I was not able to run the VI because I don�t have the SubVIs or the instrument; however I think the line is most likely due to a point at the end of your array. I imagine if you where to look at all the values in the Time array and the Output Voltage Array indicators you will see that the very last point is 0,100. You initialize the Time array to have a single point 0 and then insert values based off the counter. So loop iteration 0 will insert a value at index 0 so you will then have a Time Array of 2 elements [x,0].
2. �The slope in transition p
hase is not vertical (infinity) there is some time delay.�
a. Do you want it to be vertical or do you like the slight slope? Because I can�t run the VI I can�t see the actual arrays that are being plotted; however, the slight slope is due to some offset in the time array. So verify that the values in your time array are what you expect.

Evan
National Instruments
0 Kudos
Message 2 of 2
(2,366 Views)