From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-06-2006 03:01 PM
05-07-2006 02:08 AM
05-07-2006 03:15 AM
I've set it to synchronous display hoping this will solve the problem.
There are five local variables for that control.
I'm attaching the LLB.
You will have to declare a PCI-6224 board in MAX.
When you are adding channels by pressing the small LEDs on the right, the value of the control specifying the scan rate (Rata de esantionare) has to decrease, see Picture 1. Removing a channel will not modify the scan rate.
The VI is working fine.
In the builded application, the new value is reaching the local variable but this new value is not displayed in the control on the front panel, see Picture 2.
Tom
05-08-2006 02:45 PM
Hello,
I think what altenbach was saying about timing differences in the exe vs. the dev environment could be to blame here. Of course the problems likely result from what I’ll call a “race-like condition” meaning that through all these property nodes and events the value of your control is being written in unusual ways. Unfortunately troubleshooting here might not be an exact science. I recommend taking your existing program and removing as many components as you can until you get to the smallest portion of code that can reproduce the problem. I suspect that the problem may surface somewhere along the way. You could also add some code to your program that would ‘trace’ all activity to the control or its variables. Just create a small sub-VI which appends a line such as “writing X to variable” or “read Y from control” each time the control/variable is accessed. You could then open the trace file and see if you are overwriting the value somewhere or if the panel just isn’t updating properly. Hopefully these suggestions help, please let us know if you have any additional information/questions!