LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

legend length < 30

I am using labwindwindows 7.1 and can only have 30 charters in the legend discription at 31 I get a runtime error -90 "The Attribute Value Passes is not Valid".
0 Kudos
Message 1 of 4
(3,090 Views)
>I am using labwindwindows 7.1 and can only have 30 charters in the legend
>discription
> at 31 I get a runtime error -90 &quot;The Attribute Value Passes is not
> Valid&quot;.

The help of the SetCtrlAttribute will tell you what the limits are for some
attributes such as ATTR_LABEL_TEXT
--
Guillaume Dargaud
http://www.gdargaud.net/


0 Kudos
Message 2 of 4
(3,080 Views)
The function I am haveing trouble with is SetPlotAttribute() ATTR_PLOT_LG_TEXT only allowing 30 charters, not the lable size attribute.
0 Kudos
Message 3 of 4
(3,075 Views)

The help for ATTR_PLOT_LG_TEXT  states, "The length of this string cannot be greater than 30 bytes."  You can find this and the rest of the CVI help online by simply searching ni.com. 

According to this, the length of 30 characters is hardcoded into CVI. Does this help file answer your question? 

0 Kudos
Message 4 of 4
(3,043 Views)