Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
ParameterCacheConfig Struct Reference

"parameterCache" block — the on-disk cache of CoE parameter definitions. More...

#include <config.h>

Collaboration diagram for ParameterCacheConfig:
[legend]

Public Attributes

bool enabled = true
 
bool cacheAllVendors = false
 
std::string directory
 "" = a standard per-user cache directory; set to override.
 

Detailed Description

"parameterCache" block — the on-disk cache of CoE parameter definitions.

Enumerating a drive's object dictionary over SDO is hundreds of round-trips; the result (the parameter definitions — not live values) is identical for every device of the same vendor, product, and revision, so it is cached to disk and reused on a later scan of the same hardware. Only definitions are cached — live values are always read from the device.

Member Data Documentation

◆ cacheAllVendors

bool ParameterCacheConfig::cacheAllVendors = false

false: cache only Synapticon devices (vendor 0x22D2), whose object dictionary is uniquely determined by product + revision. true: cache every vendor — only safe when a vendor bumps its revision whenever the dictionary changes (Motion Master cannot verify that for you).

◆ directory

std::string ParameterCacheConfig::directory

"" = a standard per-user cache directory; set to override.

◆ enabled

bool ParameterCacheConfig::enabled = true

Master switch for the whole cache.


The documentation for this struct was generated from the following file: