LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

ATTR_DFLT_VALUE_LENGTH

ATTR_DFLT_VALUE_LENGTH

Type: Control attribute
Description: The length of the default value for the control.

The default value is the value to which the control is set when the panel is loaded or when you call DefaultCtrl or DefaultPanel.

For controls of data type VAL_STRING, use this attribute to determine the size of the buffer to pass when you call GetCtrlAttribute and specify the ATTR_DFLT_VALUE attribute. The length does not include the terminating NUL byte.
Control Types: Binary switches, list boxes, picture rings, rings, ring slides, strings, text boxes, text messages, trees.
Restrictions: Not settable.
Data Type: integer
LabWindows/CVI
Compatibility:
LabWindows/CVI 7.0 and later
Was this information helpful?

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit