LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong result after convert variant to double

Hello,

my activeX returns a variant that is a double. With the function variant to data i convert the variant into a double.

But the value of variant is wrong interprated.

variant: Value -> +4.99937400E+00

double: 4,99937E+8

 

How can i solve this? Do i have to manually change point to comma?

 

thanks for help

0 Kudos
Message 1 of 3
(3,436 Views)

Please save your variant as the default value in the control and repost your VI.

 

What VI do you have that generated the variant to begin with?

0 Kudos
Message 2 of 3
(3,428 Views)

I cant save the vi. After i select "Make current values default" i get the attached error.

 

The variant is returned from an ActiveX-call.

0 Kudos
Message 3 of 3
(3,415 Views)