MDSparameter¶
[SCDDS - Simulink Control Development & Deployment Suite] Copyright SPC-EPFL Lausanne 2022. Distributed under the terms of the GNU Lesser General Public License, LGPL-3.0-only.
Class hierarchy: parameter¶
- class SCDDSclass_MDSparameter¶
Bases:
SCDDSclass_parameterSuperclass for MDS+ parameters
- Constructor Summary
- SCDDSclass_MDSparameter(mdssrcnode, destparam, varargin)¶
- Property Summary
- MDSinterface¶
MDSplus inteface class
- actualizeshot¶
shot given via the actualize method
- cfgtdiexpr¶
TDI expression before Target dimension or Start/Stop index mangling
- clienttype¶
MDSplus client type (either ‘Thin’ or ‘Distributed’
- marte2dataori¶
data orientation for >1 D data
- mdshelp¶
MDS help string used in tree autopopulation
- mdsvalid¶
MDS validation string used in autopopulation
- overrideshot¶
shot number in case of overridden shot number
- ovrshotenable¶
=1 if instantiated with overridden shot number, in this case this shot number will be always used during actualization
- skipnotok¶
If true, not ok loading phase would not make MARTe2 fail but just invalidate the parameter
- srcsrv¶
The MDS+ server hosting the parameter
- srctdimodel¶
TDI expression to retrieve data when invoked with -1 shot
- srctdishot¶
TDI expression to retrieve data when invoked with a give shotno, if empty the -1 is used
- srctree¶
The MDS+ Tree hosting the parameter
- startidx¶
Start index for indexed fetching
- stopidx¶
Stop index for indexed fetching
- targetdim¶
Target dimension, if ~= 0, value is zero padded or trimmed to cope with this dimension.
- tdiexprlog¶
TDI expression logged
- tdiexprused¶
TDI expression actually used
- usedshot¶
shot used as source of the data
- verbose¶
Verbosity of the class
- Method Summary
- actualize(varargin)¶
- autopopulatemds(shot)¶
- bind(modelname, datadictname, exportedtp, load_permissivity)¶
- connect(shot)¶
- genMARTe2MDSsourcestr()¶
- genMARTe2MDStdiexpression()¶
- Duplicate first backslash
- if(obj.tdiexprused(1)==’' && not(obj.tdiexprused(2)==’'))
martetdi=[’' obj.tdiexprused];
- else
martetdi=obj.tdiexprused;
end
Duplicate backslashes
- genMARTe2entry(shot)¶
- genMARTe2entrypreamble(shot)¶
- genTDIpopulatecmd()¶
- getMDSserver()¶
- getMDStree()¶
- getdata(varargin)¶
- getmodelname()¶
- getparamtpstruct()¶
- gettargetparammarte()¶
convert model param list into version with marte separators
- populatemdsnode_param(shot, node, val, valsrc, help)¶
original TDI: _nodeval = _node//’.value’; _nodecom = _node//’.comment’; _nodevalid = _validity; _expr = ‘build_param(‘//_nodeval//’,’//_nodecom//’,’//_nodevalid//’)’; TreePut(_node,_expr); TreePut(_nodeval,’$’, _value); TreePut(_nodecom,’$’, _comment);
- printinfo()¶
- setdatadictionary(ddname)¶
- setloadpermissivity(permissivity)¶
- setmdsinterface(mdsinterface)¶
- setmodelname(modelname)¶