VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Data type of compiled simulation model's channels

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.

0 Kudos
Message 1 of 2
(3,233 Views)

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

CLA, CTA, CLED
0 Kudos
Message 2 of 2
(3,188 Views)