NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout of VEE modules called from TestStand using RPC.

I am calling VEE modules from TestStand Vers. 3.0 using RPC.
I find that when the VEE module is (say) waiting for user intervention that takes over approx. 2 minutes, I get a Run-Time Error message from step saying VEE service has not responded.
Is there any way I can increase the timeout of the RPC call, so that I don't get this error ?
0 Kudos
Message 1 of 2
(2,730 Views)
Hi,
I'm not entirely sure how you're linking to VEE through RPC. I thought Version 6.0 and above of HP VEE is ActiveX????
The best I can find on RPC and vee and timeouts is the following document :
http://ftp.agilent.com/pub/mpusup/pc/vee/veenotes/v23_call.html
There's an api call
* UTILITY FUNCTIONS: Other utility functions in the VEE RPC API include:


long VEEAPI vrpcSetTimeout( VRPC_SERVICE aService,
double aTimeoutInSeconds );

This function allows you to change the timeout. You specify a server handle and the timeout in seconds. You get back a zero if all is OK, and an error code if all is not OK.

Does that help at all?

Thanks

Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 2
(2,730 Views)