This question is the continuation from this thread:
http://forums.ni.com/ni/board/message?board.id=170&thread.id=343662&view=by_date_ascending&page=2
Since the problem described in that thread was solved and new ones arouse, a new thread was necessary for archives purposes.
Anyways, everything in my VI works so far except for two plotting issues. First, I am trying to plot the incoming signal from the DAQ along with a sine wave generated by the PID controller. Theoretically they should match, but I want to plot them together to verify this and keep an eye on things.
Second, how do you format a plot so that it starts at zero and not the date from the DAQ waveform? I have tried setting plot history attribute nodes to zero and this doesn't work in or out of the while loop. Making the waveform into an array doesn't work because of the PID controller. I also tried modifying the waveform by setting the t0 value to zero, but then the chart only display 0.1seconds of data. Any suggestions?
Message Edited by bjohnson on
07-30-2008 05:03 PM