Using conversion specifications – Echelon NodeBuilder Resource Editor User Manual
Page 68

=
=
= '('
= '('
= 'time' '(' < field spec string > ',' < field spec string >
[',' < field spec string >]
[',' < field spec string >] ')'
= 'date' '('
= '(' operator> = '!=' = modifiers> adder> = = = Using Conversion Specifications You can use a conversion specification within a format string to specify how the value of a after the format string. Include one field name for each conversion specification in the can specify the following conversion specifications %c A single character. The base type in Neuron C must be char, int, or enum. %d A signed or unsigned decimal number (based on the signedness defined in the %f A floating point number. The base type must be a Neuron C char, int, long, %m An enumeration. The base type must be an enumerated list. If an it were %d. %s A null-terminated string. The base type must be an array of 8-bit data. %x An unsigned hexadecimal integer. The size is determined from the type file. The data are always treated as unsigned. The base type must be char, int, 60 Creating and Modifying Resources
=
=
=
=
field should be formatted. To format a field, append the field name in the text format list
list. The conversion specifications are applied to the field names from left to right. You
type file). The base type must be a Neuron C char, int, long, bitfield, or enum.
float, or enum.
enumeration does not exist for the value, the format string is processed as if
String data must be null terminated.