Variant下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 2 分鐘LabVIEWAPI 參考LabVIEW G Use the Variant VIs and functions to add, retrieve, and delete attributes in LabVIEW variants, manipulate variants, and retrieve data types of variants. To Variant FunctionConverts any LabVIEW data to variant data. You also can use this function to convert ActiveX data to variant data.Variant To Data FunctionConverts variant data to a LabVIEW data type so LabVIEW can display or process the data. You also can use this function to convert variant data to ActiveX data.Variant ConstantUse the variant constant to pass an empty variant to the block diagram. You cannot set a value for the variant constant.Flattened String To Variant FunctionConverts flattened data into variant data.Variant To Flattened String FunctionConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.Get Variant Attribute FunctionRetrieves the names and values of all attributes or the value of a single attribute, depending on whether you wire the name parameter.Set Variant Attribute FunctionAllows you to change or create an attribute and value for variant data.Delete Variant Attribute FunctionDeletes an attribute(s) and value(s) in variant data.Data Type ParsingUse the Data Type Parsing VIs to retrieve and compare the data type stored in a variant to other data types.Parent topic: Cluster, Class, & Variant
Use the Variant VIs and functions to add, retrieve, and delete attributes in LabVIEW variants, manipulate variants, and retrieve data types of variants. To Variant FunctionConverts any LabVIEW data to variant data. You also can use this function to convert ActiveX data to variant data.Variant To Data FunctionConverts variant data to a LabVIEW data type so LabVIEW can display or process the data. You also can use this function to convert variant data to ActiveX data.Variant ConstantUse the variant constant to pass an empty variant to the block diagram. You cannot set a value for the variant constant.Flattened String To Variant FunctionConverts flattened data into variant data.Variant To Flattened String FunctionConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.Get Variant Attribute FunctionRetrieves the names and values of all attributes or the value of a single attribute, depending on whether you wire the name parameter.Set Variant Attribute FunctionAllows you to change or create an attribute and value for variant data.Delete Variant Attribute FunctionDeletes an attribute(s) and value(s) in variant data.Data Type ParsingUse the Data Type Parsing VIs to retrieve and compare the data type stored in a variant to other data types.Parent topic: Cluster, Class, & Variant
Use the Variant VIs and functions to add, retrieve, and delete attributes in LabVIEW variants, manipulate variants, and retrieve data types of variants. To Variant FunctionConverts any LabVIEW data to variant data. You also can use this function to convert ActiveX data to variant data.Variant To Data FunctionConverts variant data to a LabVIEW data type so LabVIEW can display or process the data. You also can use this function to convert variant data to ActiveX data.Variant ConstantUse the variant constant to pass an empty variant to the block diagram. You cannot set a value for the variant constant.Flattened String To Variant FunctionConverts flattened data into variant data.Variant To Flattened String FunctionConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.Get Variant Attribute FunctionRetrieves the names and values of all attributes or the value of a single attribute, depending on whether you wire the name parameter.Set Variant Attribute FunctionAllows you to change or create an attribute and value for variant data.Delete Variant Attribute FunctionDeletes an attribute(s) and value(s) in variant data.Data Type ParsingUse the Data Type Parsing VIs to retrieve and compare the data type stored in a variant to other data types.Parent topic: Cluster, Class, & Variant