User | Kudos |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
Hello,
I have recently an application in which i had to get the image of VI front panels, in order to insert in a report.
(This front panels contained XY graphs)
Just one more information : The VIs from which i get the images are called in a loop. I don't get the image of an already shown front panel !
(Getting an image of a shown VI on a button click event works fine ! but it is not my need. My need is to view many VI's to get their front panel.)
Ex :
The problem is that sometime (more often in executable) the front panel image was not completely updated.
Or i get the image of the preceeding VI call ! The Graph update works asynchronously !
(Even if i checked the "synchronous update" property of the graph )
I think the problem is because i am calling the VI to rapidly ... without any wait ... My need is to generate the report as rapidly as possible.
I tryed to add a wait in the VI ... but the wait delay depends of the amount of data inserted in the graph ???
I tryed also, an event loop, defer panel update ... any many other features ... but with the same bad behaviour.
It would be nice to had an event which could tell us that the graph is updated ! So i could wait on this event !
Or, it would be nice to had a method node on front panels which could "force update" !
After the method call return, we would be sure that all graphical objects of the front panel are up to date, synchronously.
Thanks for help.
Sorry for my bad english.
Manu.net
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.