05-25-2016 06:49 AM
Is it possible to get information about data type of inports/outports/parameters of simulation models (I need to know if it is boolean signal). I have tried to look for some information using system definition api and model class but i cannot find anything useful there.
05-30-2016 02:17 AM
Dear thel,
since VeriStand stores all internal data including model inports/outports/parameters (if configured as scalar channels) as numeric (I64) scalars there is no way how to identify original datatype of a model input or output. I belůieve the only option you have is to "encode" datatype of your model I/O item name (for example define a specific prefixes for Boolean / Integer / Double).
BR,
Ondřej K.
NIEE AE