LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay in remote panel chart

Hi,

 

I am currently developing a scope that displays live data from a test rig. The scope is accessible via remote panels. Tests normally run for many hours at a time, when monitoring the scope after several hours of running I notice that the data on the chart displayed via the remote panel is not in sync with what can be seen on the actual 'server' vi. The delay also seems to be getting bigger as time goes on. I also display the current data points in an indicator; however these seem to be in sync and 'current'.

 

The scope is part of a built application and I am using labVIEW 2012 f3 to develop it.

 

I know that there is an issue with synchronizing front panel appearances when using remote panels in built applications but I think I have got around that by re-applying panel changes when a new client connects. Also on every execution of the VI, I defer panel updates make all my updates to controls including the chart in question, force draw the chart and then re-enable panel updates.

 

I would really appreciate if anyone that has experienced this sort of issue could share a possible solution/work around.

 

Thanks in advance.

 

0 Kudos
Message 1 of 11
(4,523 Views)

How do you transfer the data from the remote system to your work station? Can you show us the code if possible to get a better view of the issue.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 11
(4,518 Views)

Hi,

 

Unfortunatley i do not have the code to hand at the moment.

 

A little more information on the system itself. The computer running the 'server' application acquires all the data via various instruments on the test rig.

 

The client connections are done via a web browser so the data is transfered via labview web server protocol im assuming. I have also tried connecting labview remote panel connection tool also and i still have the same issue.

 

I hope this answers your question.

 

Thanks.

0 Kudos
Message 3 of 11
(4,511 Views)

@andypy wrote:

 

 

The client connections are done via a web browser so the data is transfered via labview web server protocol im assuming.


I don't think so. BTW what do you mean server vi, how are you running the server vi. The remote system you said is it running in sync with RT and you are monitoring through web server? Or is that remote system running on it own, meaning without any RT the data acquisition happens in that system itself? I am trying to understand what is happening

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 11
(4,485 Views)

Hi,

 

There is no RT involved. The application that collects the data is running on a windows 7 system. Clients connect to the remote panel over the network.

0 Kudos
Message 5 of 11
(4,472 Views)
Looks like you have to dig into the code and see whether you are running the data acquisition and display loop out of sync. Try to get the code and see how things are handled otherwise its very difficult to come to a conclusion.
-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 11
(4,463 Views)

The data on the actual scope on the running application is in sync, no problem there. However when i view the same scope via a browser remote panel and compare them side by side, plots on the remote panel are delayed. This delay get s bigger and bigger the longer the application is being run. Does that make sense?

0 Kudos
Message 7 of 11
(4,450 Views)

I believe the rate at which the data is uploaded to the web service is not equal to the rate at which you are seeing the data real time in the remote syste. Since I am not good with web service you may check the resource available in NI website to nail down the issue. 

-----

The best solution is the one you find it by yourself
0 Kudos
Message 8 of 11
(4,447 Views)

That sounds like whats going on. Ill try digging around to see if i can find anything. Ill post back here if i find anything.

 

Thanks for your help

 

0 Kudos
Message 9 of 11
(4,423 Views)

Just for understanding, Do you have a runtime engine on the client PC from where you are monitoring the system using browser?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 10 of 11
(4,415 Views)