Lenny,
       I have attached a couple of files of an example of the setup I 
described a couple of days ago.

Very briefly:
    there is a bit of confusion ( in hindsight - I wrote these in 2001 
and I may have had a different view then ;-)  ) about some of the 
nomenclature of server and client but ignoring that:

open and start the client

press 'Show subpanel' button

this opens and runs the server file of the pair

there is some communication between the pair using a socket

I think it worth reiterating that the client should control the process 
flow in that typically it will send a command and possibly wait for a 
reply or ask for an update of a value etc.  In this case it also starts 
the server which might not be the normal mode for a 'server' but we're 
trying to partition a single application.

In answer to your other question regarding CPU usage, what's perhaps 
interesting is that the PC use meter can be at 100 % but other VEE 
programs run fine... non-VEE programs struggle though.  I would 
recommend the route suggested by Shawn: put a [Kernel] sleep call in the 
loop.  I haven't played with VEE 9 multithreading yet but for previous 
versions all VEE loops are run in the same thread, so even if you have 
several Until Break loops you only normally need one Thread.sleep() call 
- usually in the one going the fastest.

I have attached a simple example of that for you too.  Note that the 
number to use is 10 ( ms ) which is some Windowsy thing that I'm sure 
Shawn has explained some time in the past.  As a slightly off-thread ( 
pun not intended ) note, I tried a similar tactic in another language ( 
Java, but still running on Windows ) waiting for a spectrometer to 
complete... initially I put 1 ms in the loop thinking 10 was too long to 
wait but I had some very weird results looking like the spectrometer had 
a huge variation in the time it took to return the data.  After changing 
  to 10 ms the 'spectrometer' suddenly behaved properly 8-)

HTH,

Mike

_______________________________________________________________________

   Michael J. Watts Consultant                                 Suite 2
   on the web: www.PreciselySo.Co.UK                    4 Clifton Road
   e-mail: Michael.Watts@PreciselySo.Co.UK               Exeter, Devon
   tel: +44 1392 479 062                                       England
   mob: +44 7714 339 729                                       EX1 2BR

        Solving your electronic systems engineering problems...
        "Where  hardware meets software"
_______________________________________________________________________
