write_tuple — Write a tuple to a file.
write_tuple writes the contents of
Tuple to a
file. The data is written in an ASCII format. Therefore, the file can be
exchanged between different architectures (see also
Tuple / String Operations). The default HALCON
file extension for the tuple is 'tup'.
write_tuple does not support handles, since binary data
is not supported by the underlying ASCII format.
An exception is raised when passing a tuple that contains handles.
To write a tuple that contains handles, use
→(real / integer / string)
Tuple with any kind of data.
Name of the file to be written.
File extension: .
If the parameters are correct the operator
returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.