write_tuplewrite_tupleWriteTuplewrite_tupleWriteTupleWriteTuple — Write a tuple to a file.
The operator write_tuplewrite_tupleWriteTuplewrite_tupleWriteTupleWriteTuple writes the contents of TupleTupleTupleTupleTupletuple to a
file. The data is written in an ASCII format. Therefore, the file can be
exchanged between different architectures.
The default HALCON file extension for the tuple is 'tup'.
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
TupleTupleTupleTupleTupletuple (input_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*) (double / Hlong / BSTR) (double / Hlong / char*)
Tuple with any kind of data.
Name of the file to be written.
File extension: .tup
If the parameters are correct the operator write_tuplewrite_tupleWriteTuplewrite_tupleWriteTupleWriteTuple
returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.