Also, I notice clicks on boolean button in a Reference Configurable Custom Control takes significantly longer to get registered. I need to click and intentionally hold on for about 1sec before the click is recognised by the VeriStand, which is rather annoying. A boolean button NOT using the Reference Configurable Custom Control takes only less than 0.5s (ie. a light click will do) to register, which is much more natural (ie. i don't need to intentionally hold the mouse click). What is causing this delayed response? Is there any way to reduce the response time for Reference Configurable Custom Control?
I am running on Intel Core2 Duo CPU T7250 @ 2.00GHz, 4GB RAM and Windows XP Professional version 2002 SP3. I usually only have Lotus Notes, Labview and VeriStand running at the same time. My Reference Configurable Custom Control do have many controls/indicators. I have tried reducing to 2 controls and 1 indicator on one page and the problem still clearly persists, though perhaps just a little less often.
I have attached the relevant files to see if you can to reproduce the problem on your system.
I have been looking at the files that you send in. I see waht you mean about the delay. My guess it is slower because of the large number of channels that we have, but I am not sure. I will need a bit more time to look at this and consult with some others at NI. More to come soon!
It looks like the Right Click framework takes a certain amout of time to response to the mouse down event, update the value to the channel (about 200 ms), and then take another amount of time to pass that value through the VeriStand Engine's channel mappings. I will run some benckmarks to highlight where we are taking the most time by modifying the Right Click framework's VIs.
Thanks for looking into this.
Yes I think the Right Click Configurable Custom Control is not very efficient in dealing with a large number of channels.
Looking at the block diagram, it seems that the controls (not just indicators) on the front panel are updated with values from corresponding channels in VeriStand. Is there a good reason for doing so?
Yes reducing the timeout to 50ms does make control response quicker. However, I am still having trouble with the buttons remaining in depressed position instead of springing back up automatically after I release the mouse click. In fact, reducing timeout to 50ms seems to make this problem worse. Any ideas? Thanks.