Jump to content

RT Remote panel indicator refresh stalls


Recommended Posts

I understand that an RT application is headless (i.e. does not have a front panel) for that reason it makes sense to check when a client connection is made and then enable writing to any front panel indicators. What is mysterious to me is that if you do update a some indicator values before any remote connection is made, then that indicator may 'stall'. In other words subsequent updates, even if forced via property value nodes or local variables does not visually update on the remote panel. Could anyone offer a theory to explain this? I have observed this in LV 8.2.1

Thanks,

Mike Sachs

Intelligent Systems

Link to post
Share on other sites

QUOTE(sachsm @ Nov 5 2007, 12:57 PM)

In other words subsequent updates, even if forced via property value nodes or local variables does not visually update on the remote panel. Could anyone offer a theory to explain this? I have observed this in LV 8.2.1

Thanks,

Mike Sachs

Intelligent Systems

I don't think value property or local variables (as relating to updating the front panel) works with RT. In general I try to avoid property nodes when working with RT.

I usually just keep updating the indicators even if there is no client connection; when there is one, everything updates normally.

Are you using any exotic indicators (IMAQ image display)?

Neville.

Link to post
Share on other sites

QUOTE(sachsm @ Nov 5 2007, 12:57 PM)

.....subsequent updates, even if forced via property value nodes or local variables does not visually update on the remote panel...

I experienced problem with Property Node on RT system. But, Local Variables worked for me!

I wonder if you are running any kind of "Timed" loop. Did you try running the loop slower (~500 milli sec) interval?

--- Ashish

Link to post
Share on other sites

QUOTE(sachsm @ Nov 5 2007, 02:37 PM)

Viewing the IMAQ image display has always been immensely problematic.. it seems with every upgrade of Vision, the remote display either works or if it had been working previously, stops working.

What version of IMAQ/Vision are you using?

I think with 8.2.1 and Vision 8.5 the display didn't seem to work, but with Vision 8.5 and LV 8.5 it works fine. I use it without bothering to check the value changed stuff. It seems to work without causing any serious performance issues. I did notice that if the images update rapidly, the remote display might miss updating (since this might be handled by the lower priority Web Server task on the remote machine).

Prior to that, with older versions of Vision the bug re-appeared.

LV 8.2.1 + Vision 8.2.1 ->bug

As far as I can remember, with Vision 7.1. and LV 7.1.1 it worked.. but I could be wrong.

If you really want bullet proof image display, you will have to compress the image using JPEG Encode and Decode VI's (found on NI's website), transmit it using either your own TCP IP routines or shared variable, and display on the Host (Client) side using additional code.

Note that the JPEG Decode VI has a memory leak bug, but that is a story for another day.

Neville.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.