NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Service has not responded - error using HPVee functions

Hello

I'm calling HPVee functions with teststand. I use the method shown in example (TestStand\Examples\VEE\). When a HPVee function last's like 2 minutes or more TestStand gives an errormessage that "servicemanager has not responded".

I tried to make a simple HPVee function and put a delay in it and nothing else. When this delay is about 120 seconds or more the error occurs.

I have some testfunctions that take more than 2 minutes. What can I do about this?

Thanks, Antti
0 Kudos
Message 1 of 3
(3,136 Views)
Hi Antti,

The problem lies with the timeout that is set when the VEE RPC Service is created. The source code is provided with the example (built in CVI). Open VEE.c and search for vrpcCreateService. The fourth parameter of this function is the timeout value , currently set to 120 seconds (2 minutes). Change this value to a desired number and rebuild the DLL. This should fix the problem. Note that there are several places in the code in which the vrpcCreateService function is called. You should change all of them. Hope this helps!

Bob
0 Kudos
Message 2 of 3
(3,136 Views)
Thank you, Bob. Problem solved.
0 Kudos
Message 3 of 3
(3,136 Views)