09-26-2011 11:12 AM
We have a medium sized application running on our target hardware. We have enabled the VI Server so we can control the software from a remote computer running our testing software. Our application is made up of many different menus and we make use of subpanels as we navigate through our menu system.
When we connect the two machine together via an ethernet cable and establish a VI server connection, we are experiencing some significant slowdown and in some cases it lockes up alltogether.
Any ideas?
09-26-2011 11:21 AM
monitor the erro code returned by the VI Server calls.
You can also bump down the time out seetings if it is locking up.
A gready loop on the target will also inhibit the performance.
Ben
09-26-2011 03:52 PM
I inherited this code so forgive me.
No errors being seen from VI Server Nodes (Open Application Reference and Open VI Reference).
The remote app basically reads and writes data to the target applications sub-panels.
We are not using a web server and I do not see any timeout settings on the VI Server options menu.
I am looking into greedy loops on the target.
09-27-2011 07:43 AM
@ottomatic wrote:
I inherited this code so forgive me.
No errors being seen from VI Server Nodes (Open Application Reference and Open VI Reference).
The remote app basically reads and writes data to the target applications sub-panels.
We are not using a web server and I do not see any timeout settings on the VI Server options menu.
I am looking into greedy loops on the target.
"There's the rub" (Hamlet, I don't remeber which scene).
I don't know the exact method you are using to get at the sub-panel but that may be the bottle-neck if you are using property nodes and the like.
Virually all of my RT apps serve an Action Engine designed specificaly for the app. They rival queues for speed, can be set as "sub-routine" to pick-up a "skip if busy" option on the diagram.
Take care,
Ben
09-27-2011 04:17 PM
It appears that when my client app encounters a wait (or even an event structure waiting for user input), it bogs down the target app (vi server).
09-28-2011 07:38 AM
If the CPU is up it could just be crunching.
If CPU is not up check if you have events set as "Lock FP ..."
If the GUI is using a lot property nodes you may be fighting over the UI thread (see the first post in this thread. Warning Dut tape required. Forget the rest in that thread. It seems people did follow instruction about the duct tape so the thread broke down into forum madness.)
Ben