Please enable JavaScript to view this site.

DigiView Plug-in Guide

Navigation: Plug-in Framework > Source Files > <yourplugincode.cpp>

void SetCfgItem(unsigned char ID, unsigned char subID, int value)

Scroll Prev Top Next More

Called after all SetInitItem calls and before the StartData call.  Called multiple times before each parse run to set the user selected parameters for this signal.  'ID' identifies which cfg items is being set.  It is an index into the configurations strings you provided in the GetStrList call (the first item listed is ID=0.)  VALUE is a single INT32. Each type of configuration object defines what the return values mean.  If the object requires more than a single INT32 to define it settings, your plug-in will receive multiple calls, with increasing subIDs. See the section on Configuration Option Syntax for the return values from each option.  See the SIMPLESTATE example plug-in for typical handling.