LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

setting the fixed-point type

How is the fixed-point type set on the "To Fixed-point Function" without manually opening the output configuration? There is input to this function, but LabVIEW Help does not indicate what value/s or format of the value/s to wire to this terminal to get a specific data type as the output. Any help would be greatly appreciated. Even a simple example would be wonderful. Thank you.

0 Kudos
Message 1 of 4
(2,755 Views)

Hi John,

 

well, the help mentions 2 inputs and one output of that function. Use the upper input to set the FXP type...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,751 Views)

I understand that the upper input is used to define the output data type. My problem is that the Help section does not indicate how to define the parameters of this input to get a particular output.

0 Kudos
Message 3 of 4
(2,744 Views)

Not too much to understand.  The output type is determined from the fixed-point type connection and the value from the number connection.

input     FXP output

U8        U8

I16        I16

U32      U32

etc

Or, if you prefer, you can set the same settings from the properties right click menu.

0 Kudos
Message 4 of 4
(2,726 Views)