chris.de.souza

UpdateValues() Performance

Discussion created by chris.de.souza on Sep 9, 2013
Latest reply on Sep 10, 2013 by Marcos Vainer Loeff

I am using the PI SDK (v1.4.2.445) UpdateValues() method. I am sometimes experiencing a delay of 15ms or 16ms inside the function. This is causing a performance problem for my application. Some of the method calls take less than 1ms to complete. Normally there are only 2 values passed into the function. I have 2 worker threads, each thread has its own instance of the PI SDK IPISDKPtr object and each thread is connected to a different PI Server. I am only getting about 100 calls to the UpdateValues() per seconds. I would like about double that. Is this a known problem/limitation? Is there a way of getting better performance?

Outcomes