07-29-2009 04:00 PM
Solved! Go to Solution.
07-29-2009 04:04 PM
07-29-2009 04:45 PM
OK, so it's with a constant, and not a control? Is it that the option is not in the menu at all, or is it that it's grayed out? (If it's grayed out it means the Control Editor window is already open, and you can't open another instance of the editor.) How are you creating the constant on the block diagram? Are you right-clicking on the block diagram, selecting "Select a VI", navigating to the control and placing it? Or, do you have the Control Editor window open and you're dragging and dropping. And if you're dragging and dropping, are you dragging and dropping the control from the front panel of the Control Editor (incorrect) or are you dragging and dropping the icon in the in the top-right of the window (correct)?
What version of LabVIEW are you using?
I can't say that I've seen this.
07-29-2009 07:22 PM
smercurio_fc wrote:... Control Editor window open and you're dragging and dropping. And if you're dragging and dropping, are you dragging and dropping the control from the front panel of the Control Editor (incorrect) or are you dragging and dropping the icon in the in the top-right of the window (correct)?
Indeed. I am doing this the "incorrect" way. But why should it be "incorrect"? I save it as a typedef before I drag and drop. I will check this in the morning and get back to you.
07-29-2009 07:42 PM
07-30-2009 08:58 AM
PaulG. wrote:Indeed. I am doing this the "incorrect" way. But why should it be "incorrect"? I save it as a typedef before I drag and drop. I will check this in the morning and get back to you.
Because the control on the front panel of the Control Editor is not the typedef. The entire container is the typedef, and you don't get that unless you drag and drop from the icon in the top-right of the window. Note that this is IF you drag and drop from the Control Editor. If you drag and drop an instance of the typedef from another VI, then it's fine, since you are "grabbing" the typedef.
07-30-2009 03:28 PM
smercurio_fc wrote:
PaulG. wrote:Indeed. I am doing this the "incorrect" way. But why should it be "incorrect"? I save it as a typedef before I drag and drop. I will check this in the morning and get back to you.
Because the control on the front panel of the Control Editor is not the typedef. The entire container is the typedef, and you don't get that unless you drag and drop from the icon in the top-right of the window. Note that this is IF you drag and drop from the Control Editor. If you drag and drop an instance of the typedef from another VI, then it's fine, since you are "grabbing" the typedef.
I duplicated doing it my way and it did not work. Doing it your way works fine. Your explanation makes sense. Thanks.
07-30-2009 03:28 PM
07-30-2009 04:01 PM