03-31-2011 10:12 AM
Hi,
following problem:
1. I place a simple Control (Button 1) and connect it to an Indicator (Indicator 1) -> OK
2. I place a Button as Typedef. (Button 2) and connect it to an Indicator (Indicator 2) -> Coercion dot on Indicator 2 (I don't see the point of a boolean coercion, but OK)
3. I create a property node for Indicator 1 (Value) and try to connect a constant (right-click>Create>Constant -> the constant is grayed out and the error message is 'type definition not found or contains error'
Details: The master copy for this type definition could not be found or the master copy has errors. You must find and fix the master copy, or right-click this type definition and select Disconnect.
4. I remove Button 2 and repeat step 3 -> the same thing happens
If I connect an existing boolean constant to the property node there is a coercion dot. As a matter of fact for using one Typedef. Control in a VI all other control property nodes suddenly have coercion dots even if I remove the Typedef. control. Does it mean either all controls and indicators better are typedef. or none at all?
Thanks in advance.
P.S.: the problem occurred originally in a VI with much more than two buttons...
03-31-2011 12:10 PM
I'm not getting the error on the value property node. Is this what you were doing?
03-31-2011 12:52 PM
If you switch to the wire tool and show your help then float over your wires you should see that the wire is strict.
That coercion dot only show that is going from strict to non-strict. No data copies etc.
its labVIEW's way of giving you an "FYI".
Ben
03-31-2011 01:23 PM
...you also can not write to the value node of a boolean with latch action.
Ben
03-31-2011 04:10 PM - edited 03-31-2011 04:12 PM
Well, everything you've said is supposed to be right but this is what happened: everything like in Ben's picture except the 'false' constant is like grayed out, the 'run'-arrow broken and the error message as posted above.
The behavior remains the same after deleting Control 2. I've tried and I've tried and finally (why not right away?) I restarted LabView and it doesn't happen anymore. Even in my application all 'weird' coercion dots disappeared out of a sudden. I'd call that a bug...
But thank you anyway for your time.
Something else: did you realize that the spell-checker for this forum does not know the word 'LabView'?
03-31-2011 05:21 PM
@benMyer wrote:
Something else: did you realize that the spell-checker for this forum does not know the word 'LabView'?
Because you are spelling it wrong. try LabVIEW instead. 😄
03-31-2011 05:52 PM
Altenbach,
I thought you were just joking a bit, but actually if you do spell it as LabVIEW and spellcheck, it does not show up as a spelling error.
What is interesting is that if you spell it as LabView like the original poster did, the forum spellcheck marks it as wrong, but the correct spelling of LabVIEW doesn't appear in the list as a choice of suggested correctly spelled words.
04-01-2011 02:52 AM
It's true, written with capital letters
At least I've learned something.
Nevertheless I can't seem to reproduce the problem. Don't know what I have been doing different yesterday.
04-01-2011 07:59 AM
@benMyer wrote:
It's true, written with capital letters
At least I've learned something.
Nevertheless I can't seem to reproduce the problem. Don't know what I have been doing different yesterday.
When resumes are processed where I work, the ones that don't know how to spell LabVIEW get tossed. I can't explain how I got it right.
Ben
04-01-2011 11:01 AM
I'll write it 100 times now just to be sure and to keep all options open for my career...but in another thread, OK?
bm