ConfigSetCache

long ConfigSetCache (Long DeviceOrCache);

 

Available (from release):

 

stTabular History OCX (V3-02), stTabular History Automation (V3-02)

 

Return Value:

 

Nonzero if successful otherwise 0.

 

Parameters:

 

Name:

Description:

DeviceOrCache

Defines whether the data is read from a Cache or directly from the underlying Device

 

0 - Cache

1 - Device

 

Note:  This parameter is only applicable when connected to a DA OPCServer.

 

Remarks:

 

Call this method to set the cache on or off when connecting directly to a data source.

 

Note:  This method is not applicable when connected to a Sapphire Collector, since in that scenario it is the collector than defines the data collection characteristics