This function returns whether or not the cache build has been set to complete.

C format

PIBOOL picm_iscachebuildcomplete( void );



Cache build complete


Cache does not exist or not complete



Usage Notes

The caller of this function must have previously called picm_opencache to open the cache file and piut_setservernode to set the PI Server if a call to piut_setservernode had been made since the initial call to picm_opencache.

The cache is marked complete by calling picm_setcachebuildcomplete.

Note: Marking the cache as complete is necessary to obtain the maximum benefit of the caching configuration. If the cache is not marked as complete, then calls to pipt_nextptwsource and pipt_nextptwsourcelong will always make a network call to the PI Server to retrieve the next point. Call picm_setcachebuildcomplete to allow calls pipt_nextptwsource and pipt_nextptwsourcelong to retrieve the next point from the cache files.

Enabling Operational Intelligence