/
[Data types] How to handle different data types
[Data types] How to handle different data types
Issue
I am receiving the data type Curve, BitStream, ByteStream, Map, Matrix or Vector as return value.
How do I handle these data types?
Solution
You can have a look at the ecu.test help.
Under the point Use special objects used in ecu.test (Doc > Use special objects used in ecu.test) find the entry Advanced operations of package variable types (Doc > Advanced operations of package variable types) which gives an overview of existing methods of each data type.
Examples
Diagnostics job returns a ByteStream and value gets saved in x → x.
HexString
()Application read step returns a Vector and value gets saved in y → y.
GetDimension
()
, multiple selections available,
Related content
[test.guide] Tips on attributes and constants handling
[test.guide] Tips on attributes and constants handling
More like this
[Vector: XL API] How to connect multiple Vector hardware
[Vector: XL API] How to connect multiple Vector hardware
More like this
[Timestamp] Which timestamps are used in trace files
[Timestamp] Which timestamps are used in trace files
More like this
[General] General advice regarding ecu.test error messages
[General] General advice regarding ecu.test error messages
More like this
[SOME/IP] General Troubleshooting
[SOME/IP] General Troubleshooting
More like this
[JOB-Steps] Result ERROR is shown twice
[JOB-Steps] Result ERROR is shown twice
More like this