Converts a database variant to a LabVIEW NXG data type you specify.
Variant data you want to convert to the data type specified in type.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Data type into which you want to convert variant data.
Cluster data retrieved from the Recordset.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
You can wire a variant, a 1D array of variants, or a 2D array of variants to the database variant input. Depending on the data type that you wire to the type and database variant inputs, this node performs the following different conversions:
Data Type Wired to database variant Input | Data Type Wired to type Input | ||||
Cluster | 1D Array of Non-Clusters | 1D Array of Clusters | 2D Array | Others | |
Variant | Converts the variant to the LabVIEW NXG data type specified by the type input. | Converts the variant to the LabVIEW NXG data type specified by the type input. | Converts the variant to the LabVIEW NXG data type specified by the type input. | Converts the variant to the LabVIEW NXG data type specified by the type input. | Converts the variant to the LabVIEW NXG data type specified by the type input. |
1D Array of Variants | Converts each element of the 1D array to a column in a sequence. | Converts each element of the 1D array to the data type specified by the type input. | Converts each element of the 1D array to a cluster. The output is a 1D array of clusters. | Results in a broken wire at the database variant input. | Results in a broken wire at the database variant input. |
2D Array of Variants | Results in a broken wire at the database variant input. | Results in a broken wire at the database variant input. | Converts each row of the 2D array to a cluster. The output is a 1D array of clusters. | Converts each element of the 2D array to the element data type specified by the type input. | Results in a broken wire at the database variant input. |
Others | Results in a broken wire at the database variant input. | Results in a broken wire at the database variant input. | Results in a broken wire at the database variant input. | Results in a broken wire at the database variant input. | Results in a broken wire at the database variant input. |
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application