LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting a double data type to a signed integer

    The attached VI reads analog data from a spreadsheet.  I would like to use a type cast to convert the double precision data into a signed 16 bit integer.  What constant should be wired to the "type" wire of the type cast for an I16.
0 Kudos
Message 1 of 3
(4,691 Views)

Why don't you use the "To Word Integer" conversion which converts any other numeric datatype to I16? You will find it in the functionspalette under Numeric>Conversions

Christian

0 Kudos
Message 2 of 3
(4,689 Views)
Continue discussion here
0 Kudos
Message 3 of 3
(4,678 Views)