LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Variant path to string

Hi there,

I get from a control property value node variant data some of data are strings but the most of them are paths,
Labview have different ways to store strings and path in memory.
Flatten Variant Data to a simple string works without troubles but i dont found a way to convert
variant data to a labview path. Someone knows what i have to do ?
Happy for every hint.

greez
0 Kudos
Message 1 of 2
(2,588 Views)
On the ActiveX palette there is a variant data type conversion where you can input your variant and cast it to a path type to convert it to a path.

You might be able to do the same to convert it to a string first and then use LabVIEW's string to path function. It depends what the variant type really is from the control.
0 Kudos
Message 2 of 2
(2,582 Views)