Hi,
Can you help me, how can I use UaClient_Session_BeginWrite function with setting timeout.
I know I have to set UaClient_ServiceSettings, but there are variables I don't know how to use, eg. the RequestHandle.
An example program would be great!
Thanks
UaClient_Session_BeginWrite with Timeout
Moderator: uasdkc
-
- Sr. Member
- Posts: 10
- Joined: 14 Mar 2017, 09:10
- Support Team
- Hero Member
- Posts: 3064
- Joined: 18 Mar 2011, 15:09
Re: UaClient_Session_BeginWrite with Timeout
Hello nemethz,
by default, the CallTimeout of the session is used for all service calls. If you want to set a different CallTimeout, simply create a UaClient_ServiceSettings structure, initialize it with UaClient_ServiceSettings_Initialize, set the desired CallTimeout and pass it to UaClient_Session_BeginWrite. All other members of the UaClient_ServiceSettings structure are ignored if you don't modify them after UaClient_ServiceSettings_Initialize.
by default, the CallTimeout of the session is used for all service calls. If you want to set a different CallTimeout, simply create a UaClient_ServiceSettings structure, initialize it with UaClient_ServiceSettings_Initialize, set the desired CallTimeout and pass it to UaClient_Session_BeginWrite. All other members of the UaClient_ServiceSettings structure are ignored if you don't modify them after UaClient_ServiceSettings_Initialize.
Best regards
Unified Automation Support Team
Unified Automation Support Team