06-08-2009 10:24 AM
Hi,
So i created a ramp function using a for loop that takes the difference between an initial and final voltage value , divides it by an integer (labeled time on VI) and then increments the initial value by the result until the final value is attained.The initial+ increment values are stored in an array, which i then write to the NI9263 channel.
The question that i have is that how do i know that the write function writes each of the values in an array, for each piezo to the piezo. i.e so that if my initial voltage is 1V, the increment is 0.5V and the final value is 3V, how do i check that all the values [1,1.5,2.0,2.5,3.0] are written to the channel individually.
The current result that i am getting seems to indicate that the write function just looks at the initial and final values and jump between the 2.
I have attached a copy of the VI(pardon the clutter) and a graph of the results i am getting, which is a smooth curve (as oppsed to a staircase-like graph that one might expect with a ramp function, showing the discrete steps]
I look forward to any help that you could give me.
Solved! Go to Solution.
06-09-2009 04:06 AM