Skip to content

Float32Seq

mtbeek32 edited this page Jan 2, 2023 · 5 revisions

Sequence functions float32Seq

syntax

  • float32Seq(a)

definition

float32Seq(a) results in a sequence of 32 bits floating points data item derived from string data item a.

The syntax for string argument a need to be: {10: 41 9999 42 10 600 1 7 116 0 110} .

In this string the curly brackets {..} indicate the start and end of the sequence.

The first number (10) indicates the number of elements of the sequence followed by a colon. The elements of the sequence follow this colon, separated by spaces.

applies to

since version

7.130

example

Elements/points Elements/SequenceNr Elements/ordinal
41 0 0
9999 0 1
42 0 2
10 0 3
600 0 4
1 0 5
7 0 6
116 0 7
0 0 8
110 0 9

domain Elements, nr of rows = 10

parameter  param                := '{10: 41 9999 42 10 600 1 7 116 0 110}';  parameter param_float32 (poly) := float32Seq(source/param);

unit posListUnit := range(uint32, 0, 1);  unit Elements    := sequence2points(union_data(posListUnit, param_uint8));

Clone this wiki locally