LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
tstanley

Ability to obtain the value of a numeric control as a string

Status: New

Hi,

 

It would be handy at times to be able to get a string of a numeric control which represents the value exactly as it is displayed in the numeric control.  For example if the control shows "123.456E+9" or then there would be some way to get that exact string (other than reading the value as a number then formatting it into a string, of course).  I envision this could either be a new function call, or perhaps a non-settable attribute that can be obtained with GetCtrlAttribute(...) (the latter would of course benefit from being able to use GetCtrlAttributeLimited(...) ).  Thanks.