LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what the data type of this variant? (in the following)

What's the datatype of the following variant (use probe and indicator):

 

value -> 1356.00

 

I want to tranfer it to numerical data. When I tranfer it using "variant to data" function (the datatype used is string or numerical), An error occured:

 

 ERROR 91 occured at Variant to Data. The data type is not compatible with the data type wired to the type input."

 

Thank you very much!

 

 

0 Kudos
Message 1 of 3
(2,780 Views)

You can investigate any Variant by using the 'Variant Probe' for download from LAVA.

It will tell you what the actual contents of the Variant were.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 3
(2,764 Views)

You can also right click on a Variant control and show the datatype it contains by selecting "Show Type" from the menu.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,750 Views)