write_ncc_modelT_write_ncc_modelWriteNccModelWriteNccModel (Operator)
Name
write_ncc_modelT_write_ncc_modelWriteNccModelWriteNccModel
— Write an NCC model to a file.
Signature
Description
The operator write_ncc_modelwrite_ncc_modelWriteNccModelWriteNccModelWriteNccModel
writes an NCC model to the file
FileNameFileNameFileNameFileNamefileName
. The model can be read again with
read_ncc_modelread_ncc_modelReadNccModelReadNccModelReadNccModel
. The default HALCON file extension for
the NCC model is 'ncm'.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ModelIDModelIDModelIDModelIDmodelID
(input_control) ncc_model →
HNCCModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the model.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.write →
HTupleHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension: .ncm
Result
If the file name is valid (write permission), the operator
write_ncc_modelwrite_ncc_modelWriteNccModelWriteNccModelWriteNccModel
returns the value 2 (H_MSG_TRUE). If necessary an
exception is raised.
Possible Predecessors
create_ncc_modelcreate_ncc_modelCreateNccModelCreateNccModelCreateNccModel
Module
Matching