04-30-2007 06:37 AM
04-30-2007 09:05 AM
Hei Toni,
first it seems you use the "defer panel update" in the wrong way: set to true, make operations, then to false. btw, this is usefull only if you have a lot of graphical operations in between.
second, i see you make profusion use of global variables. look at this nugget form tst:
http://forums.ni.com/ni/board/message?board.id=170&message.id=243235#M243235
three, you should use the main subvi in reentrant execution, otherwise it will reupdate all info about the graph all the time.
Why not avoid this alltogether (panel update, global variable, reentrant exec), and simply use Graphicoxygen as your main vi. make changes in there!
somehow i could not find yet where do you input real data to it, except via this crtlgraphicoxygen, but this is just demo data.
easier as i said, update the graph in a while loop with some wait inside, in your main vi.
Did i understood correctly what you are trying to do?
04-30-2007 11:00 AM
05-05-2007 06:57 AM
05-05-2007 07:39 AM