write_tuple — Write a tuple to a file.
The operator 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'.
Tuple with any kind of data.
Name of the file to be written.
File extension: .tup
If the parameters are correct the operator write_tuple returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.
read_tuple, write_image, write_region, open_file