HALCON Reference Manual 10.0.2
Name
tuple_str_bit_selecttuple_str_bit_selecttuple_str_bit_selectTupleStrBitSelectTupleStrBitSelect — Select single character or bit from a tuple.
tuple_str_bit_selecttuple_str_bit_selecttuple_str_bit_selectTupleStrBitSelectTupleStrBitSelect selects a single character or bit from
a tuple TupleTupleTupleTupletuple of integer numbers and/or strings.
The input parameter IndexIndexIndexIndexindex determines the character or bit
position to select. IndexIndexIndexIndexindex must contain a single number. If
IndexIndexIndexIndexindex contains a floating point number, this may only
represent an integer value (without fraction). The result tuple
SelectedSelectedSelectedSelectedselected contains a new element for each element of
TupleTupleTupleTupletuple. Let IndexIndexIndexIndexindex contain the number “n” then each
element of SelectedSelectedSelectedSelectedselected consists of the “n-th” character
(for strings) or “n-th” bit (for integers) of the corresponding
element of TupleTupleTupleTupletuple.
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
TupleTupleTupleTupletuple (input_control) number(-array) → HTupleHTupleVARIANTHtuple (string / integer) (string / int / long) (char* / Hlong) (BSTR / Hlong) (char* / Hlong)
Input tuple.
IndexIndexIndexIndexindex (input_control) number → HTupleHTupleVARIANTHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double) (Hlong / double)
Position of character or bit to select.
Tuple containing the selected characters and bits.
tuple_str_bit_selecttuple_str_bit_selecttuple_str_bit_selectTupleStrBitSelectTupleStrBitSelect,
tuple_selecttuple_selecttuple_selectTupleSelectTupleSelect,
tuple_first_ntuple_first_ntuple_first_nTupleFirstNTupleFirstN,
tuple_last_ntuple_last_ntuple_last_nTupleLastNTupleLastN,
tuple_concattuple_concattuple_concatTupleConcatTupleConcat,
tuple_strchrtuple_strchrtuple_strchrTupleStrchrTupleStrchr,
tuple_strrchrtuple_strrchrtuple_strrchrTupleStrrchrTupleStrrchr,
tuple_str_first_ntuple_str_first_ntuple_str_first_nTupleStrFirstNTupleStrFirstN,
tuple_str_last_ntuple_str_last_ntuple_str_last_nTupleStrLastNTupleStrLastN,
tuple_andtuple_andtuple_andTupleAndTupleAnd,
tuple_ortuple_ortuple_orTupleOrTupleOr,
tuple_xortuple_xortuple_xorTupleXorTupleXor,
tuple_nottuple_nottuple_notTupleNotTupleNot
tuple_removetuple_removetuple_removeTupleRemoveTupleRemove
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |