I guess that you are retrieving values from PI Tags. I think it is good to check PI Data Archive connection. Open "About PI SDK" which is "PI SDK Utility" and check the PI Data Archive server name in the connection.
Could you connect PI Data Archive correctly?
We have a KB for this error message.
KB00232 - -10722: RPC Timeout on PI RPC or System Call
Thanks for the reply, it turned out to be a network related issue.