Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

convert Data type single to double

I am trying to save the measured data from a Keithley24xxReadSingle.vi in an external file like for example a log file or something similar.
For that purpose I am looking for an icon that converts the following data types:
 
from a 
 
(single [32-bit real (~6 digit precision)])   
 
into a 
 
(double [64-bit real (~15 digit precision)])       
0 Kudos
Message 1 of 2
(3,390 Views)
You've got the To Double Precision Float on the Numeric>conversion palette but what would be the point? Is the Keithley capable of reporting more than 6 decimal places? If it is, then you need to modify the driver. I'm not sure why you would need to do the conversion anyway for saving data. In the later versions of LabVIEW, internally the data type is DBL so the conversion is done for you. You do have the option of changing the number of decimal places but again, I don't see why you would need to.
0 Kudos
Message 2 of 2
(3,386 Views)