03-02-2007 10:07 AM
03-02-2007 10:16 AM
03-02-2007 10:29 AM
I am using a shift-register as below:
i have by the way put in the "line tool", just to show you that the sub_vi is drawing lines.
03-02-2007 10:42 AM - edited 03-02-2007 10:42 AM
Right, so if that while loop keeps running, the picture will grow without bounds and slow the program down considerably.
If that sub vi draws an entire picture, then you don't need to feed it the previous picture. It will create the whole thing from scratch each time and output it to the picture indicator. Try disconnecting the picture input and getting rid of the shift register.
Edit: Also, I would put a wait in there so that this isn't using the entire cpu. A 50 ms wait would give you 20 frames per second.
Message Edited by Marc A on 03-02-2007 11:43 AM
03-02-2007 10:47 AM
03-02-2007 10:55 AM
03-02-2007 10:59 AM
03-02-2007 11:00 AM
Thanks for so quick replay.
I tried to do on plug the shift-registers, buth then et only plot the last measurements, and do not the preauveus.
So the goal is to update the picture with new measurements on top of the preauvius., and not only plot with the last measurement.
03-02-2007 11:02 AM
Yes, right-click on your picture indicator and uncheck "erase first?" No shift register!
03-02-2007 11:08 AM
Ohh my god. So much trouble for suchs a little failure. I haven't seen the little "erase first".
Thank you so much all of you for so fast help.
Have a nice day!