Set下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 2 分鐘LabVIEWAPI 參考LabVIEW G Use the Set VIs and functions to create and manipulate sets. Build SetCreates a set from the input elements. Duplicate elements appear only once in the resulting set.Insert Into Set FunctionInserts an element into a set.Remove From Set FunctionRemoves an element from a set.Element of Set? FunctionReturns whether an element is a member of a set.Read Set Max & Min FunctionReturns the maximum and minimum elements in a set.Set ConstantRepresents a set on the block diagram. You cannot modify the embedded data in a set interactively or programmatically. You can update set data only as a whole through operations such as writing to the set front panel terminal or right-clicking the set and selecting Data Operations>>Copy Data or Data Operations>>Paste Data.Convert Set To ArrayPlaces the code that you can use to convert a set to an array.Set Union VIComputes the union of two sets. The union is all elements that belong to either of the two sets.Set Intersection VIComputes the intersection of two sets. The intersection is all the elements that belong to both sets.Set Cartesian Product VIComputes the Cartesian product of two sets. The Cartesian product is a set of 2-element clusters which covers all possible combinations of elements from the two sets.Set Difference VIComputes the difference of two sets. The difference is the elements from the first set that are not included in the second set.Set Symmetric Difference VIComputes the symmetric difference of two sets.Collection Size FunctionReturns the number of elements or entries in a collection.Empty Collection? FunctionReturns TRUE if the input collection contains zero elements or entries.Parent topic: Collection
Use the Set VIs and functions to create and manipulate sets. Build SetCreates a set from the input elements. Duplicate elements appear only once in the resulting set.Insert Into Set FunctionInserts an element into a set.Remove From Set FunctionRemoves an element from a set.Element of Set? FunctionReturns whether an element is a member of a set.Read Set Max & Min FunctionReturns the maximum and minimum elements in a set.Set ConstantRepresents a set on the block diagram. You cannot modify the embedded data in a set interactively or programmatically. You can update set data only as a whole through operations such as writing to the set front panel terminal or right-clicking the set and selecting Data Operations>>Copy Data or Data Operations>>Paste Data.Convert Set To ArrayPlaces the code that you can use to convert a set to an array.Set Union VIComputes the union of two sets. The union is all elements that belong to either of the two sets.Set Intersection VIComputes the intersection of two sets. The intersection is all the elements that belong to both sets.Set Cartesian Product VIComputes the Cartesian product of two sets. The Cartesian product is a set of 2-element clusters which covers all possible combinations of elements from the two sets.Set Difference VIComputes the difference of two sets. The difference is the elements from the first set that are not included in the second set.Set Symmetric Difference VIComputes the symmetric difference of two sets.Collection Size FunctionReturns the number of elements or entries in a collection.Empty Collection? FunctionReturns TRUE if the input collection contains zero elements or entries.Parent topic: Collection
Use the Set VIs and functions to create and manipulate sets. Build SetCreates a set from the input elements. Duplicate elements appear only once in the resulting set.Insert Into Set FunctionInserts an element into a set.Remove From Set FunctionRemoves an element from a set.Element of Set? FunctionReturns whether an element is a member of a set.Read Set Max & Min FunctionReturns the maximum and minimum elements in a set.Set ConstantRepresents a set on the block diagram. You cannot modify the embedded data in a set interactively or programmatically. You can update set data only as a whole through operations such as writing to the set front panel terminal or right-clicking the set and selecting Data Operations>>Copy Data or Data Operations>>Paste Data.Convert Set To ArrayPlaces the code that you can use to convert a set to an array.Set Union VIComputes the union of two sets. The union is all elements that belong to either of the two sets.Set Intersection VIComputes the intersection of two sets. The intersection is all the elements that belong to both sets.Set Cartesian Product VIComputes the Cartesian product of two sets. The Cartesian product is a set of 2-element clusters which covers all possible combinations of elements from the two sets.Set Difference VIComputes the difference of two sets. The difference is the elements from the first set that are not included in the second set.Set Symmetric Difference VIComputes the symmetric difference of two sets.Collection Size FunctionReturns the number of elements or entries in a collection.Empty Collection? FunctionReturns TRUE if the input collection contains zero elements or entries.Parent topic: Collection