02-14-2008 06:00 AM
02-14-2008 06:18 AM
02-14-2008 07:30 AM
02-14-2008 07:38 AM
Yes, that is correct - at least most of the time 🙂
Seems like it works like this:
- Local variables and shift registers can be used to store data, but updating a local variable
will NOT update its front panel on web interface.
- Writing to property value will update front panel on web interface, but if web interface is not present
then you CANNOT read this value back into the program.
02-14-2008 08:03 AM
My usual approach is to use no local variables or property nodes when building an RT Target vi for a cFP. Since all my stuff is state machine based I use shift registers to pass info around inside the vi. You could also use an action engine for this. I have had no problem writing directly to the indicator when using remote panels.
Starting to wonder if something else about your app is causing the problem. As part of your benchmark, did you try deploying a cut down vi? How big/complex is your target vi?
02-14-2008 08:22 AM
02-14-2008 08:56 AM
02-14-2008 09:48 AM
Well, I've tried some test vi's, which show that updating the front panel via value property takes a long time.
I'm not sure what else I should try - principally I'm just reading the front panel objects, do a couple of tests then write a bit of data to the front panel, at least when "idle" - and it's this "idle time" that is 500ms. When I'm doing something it can take 2-4s to finish one round.
02-14-2008 09:50 AM
02-15-2008 02:08 AM
Yes, that's a lot faster, and we used to do that earlier.
However... then sometimes the web interface doesn't update at all... The whole point is to be able to read the web interface, so...
But, now I've changed the vi so that it only updates the web interface when a change has occurred. Still, the "idle" execution time is too high at 200-500ms, so I'm wondering if I have some other problems as well.