Xcontrol Freez display

This is a discussion on Xcontrol Freez display within the labview forums in Programming Languages category; I'm using Xcontrol in my application.  They are updated at a rate of 20 ms from data coming from an other system.  In this application many controls are dynamically registered to send value to the other system.  If I leave the control unchanged, no value change generated, there is no problem.  But when I change these control value, aggressively, the display freeze.  The owl LabVIEW environment is feezed, there is nothing I can do anymore.  Then surprisingly if I click any where else, such as in the task manager, an explorer window or in the wallpaper the LabVIEW interface come ...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-09-2008, 12:40 PM
Nitrof
Guest
 
Default Xcontrol Freez display

I'm using
Xcontrol in my application.  They are updated at a rate of 20 ms from data
coming from an other system.  In this application many controls are dynamically
registered to send value to the other system.  If I leave the control
unchanged, no value change generated, there is no problem.  But when I
change these control value, aggressively, the display freeze.  The owl
LabVIEW environment is feezed, there is nothing I can do anymore.  Then surprisingly
if I click any where else, such as in the task manager, an explorer window or
in the wallpaper the LabVIEW interface come back to life.

Any ideas?

Nitrof
Reply With Quote
  #2  
Old 07-09-2008, 02:10 PM
Phillip Brooks
Guest
 
Default Re: Xcontrol Freez display

20 ms (or 50 Hz) is probably a bit fast for updating anythiny other than the simplest XControls (string or numeric). Charts will be CPU intensive. I'm now only working on LV 7.x (8.x not available) so I can't give you an example or look at your code :smileysad:Try collecting small groups of the data in an array, deferring panel updates, write the array values to the XControl / turn off defer panel updates. try to keep your front panel updates to 10 -20 Hz (100 -50 ms intervals). You won't be able to perceive much over 30 Hz.Message Edited by Phillip Brooks on 07-09-2008 01:56 PM
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:50 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.