LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to edit costants in Diagram Block

Hi, in a   .vi , when I try to add a new costant, it's placed on DB but it's impossible to edit it to change default value  (??!!)

to do this I have to raplace this costant with a control, open FP, modify the value of control, then fom DB replace-back the control in
a costant that, at this time has the value I need.

 

LV version: 7.1.

 

Many thanks for reply.

 

Valerio

0 Kudos
Message 1 of 19
(3,497 Views)

That does not sound right. Have you tried repairing the LabVIEW installation?

0 Kudos
Message 2 of 19
(3,495 Views)

At this time I do not have repair installation, but pls. consider that in all others .vi I have no problems.

0 Kudos
Message 3 of 19
(3,468 Views)

Maybe you have the cursor set to "Operate Value" in the tools palette?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 19
(3,459 Views)

@billko wrote:

Maybe you have the cursor set to "Operate Value" in the tools palette?


and not have auto tool on?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 19
(3,452 Views)

@crossrulz wrote:

@billko wrote:

Maybe you have the cursor set to "Operate Value" in the tools palette?


and not have auto tool on?


Thanks for completing the thought.  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 19
(3,442 Views)

@effevalerio wrote:

At this time I do not have repair installation, but pls. consider that in all others .vi I have no problems.


OK, that seems like important information!

If is not a tool problem, maybe the via is corrupt. Try to copy the code to a new vi to see if things improve.

0 Kudos
Message 7 of 19
(3,441 Views)

I am going to set aside pilot error for the moment since I do not believe there is any tool you could select with autotool off that would not drop the constant with the value selected and ready for editing.  Well, maybe the paintbrush, but I do not think that is the problem.

 

I suspect corruption of this VI as well.  LV has an interesting way of "sharing" memory for constants on the BD.  Multiple constants with the same value are often linked under the hood.  If there is a corrupt constant somewhere on the BD, perhaps all new ones are being corrupted as a result.  Copying the code would likely copy the corruption as well so I would avoid copying any constants.

 

I used to be curious about these little oddities in LV VIs.  I used to play with them to try to isolate the corruption.  Then I found that they are a bit infectious and it is best to get rid of them before their effects spread.  It sounds like it is isolated to this one VI.

0 Kudos
Message 8 of 19
(3,427 Views)

Hi Valerio,

 

What is the default value of the constants?

 

Thank you so much

0 Kudos
Message 9 of 19
(3,382 Views)

Hi, default value of constant is 0 with numeric constant and is blank string with string constant, when I put it on DB,
but when I try to modify double click inside the box
(in tools palette I have Automatic Tools selection ON of course) nothing happen and

after few seconds of idle with the constsnt box selected LV deselect the constnat box whitoput give me the cursor inside the box to modify

the default value, pls. consider that boolean constants work fine , I can put them on DB and modify defalut value with a simple click

as usual.

0 Kudos
Message 10 of 19
(3,365 Views)