From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to create a UInt16 (Custom Data Types) in TS?

Solved!
Go to solution

Hello,

I am a newbie in TestStand, someone knows if it is possible to create a UInt16 custom Data Types?

 

I try to go in:

View --> Types --> Custom Data Types --> Right click to insert Type -->  ...and then?

 

This need sorts cause I have a .NET invocation that returns a UInt16 type and I would save this result in a variable for reusing it in TS (such as for other invocations).

 

PS. I have not LABVIEW.

 

Thank you

0 Kudos
Message 1 of 3
(2,279 Views)
Solution
Accepted by NicoGare

Hi,

as you can read in the helpTestStand stored all numeric values, including integers, in a double-precision, floating-point format.

Thus, you cannot create a custom data type or a numeric variable of type UInt16 since only 64-bit representation is available. If you right-click your custom numeric data type or your local numeric variable, you can select a representation between Float64, Int64, UInt64.

I hope this helps!

Bye

 

Licia

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

Thank you,

I found Object Reference as a solution.

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