LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

variant type conversion to boolean

Solved!
Go to solution

@ThiCop wrote:

Thank you for elaborating on this with relation to integers so that they will always try to wire the type input.


Then where's my Kudos?Smiley Wink


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
Message 11 of 31
(2,347 Views)

My Kudos-wallet has been recharged and the deserving have been rewarded 🙂

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 12 of 31
(2,332 Views)

Hello,

When I want to create a constant to that input (right click, create) an empty square appears and then I could not find any way to put a value in there !

I read accross the help file and didn't find any explanation how to do this either !

Thanks for your help.

0 Kudos
Message 13 of 31
(2,327 Views)

Hello pgo,

 

You probably read over a part of my post consisting out of 2 parts:

 

1)  "create a new true constant from the function palette ..." (this is not right click create)
2) "... and wire it to your type input (so that you are not depending  on any autoresolving things)?"

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
Message 14 of 31
(2,323 Views)

And the same can be done for a numeric constant.
Just grab/take it from your Function Palette.

The function palette can be accessed as shown in attachment.
And if you don't find it, then use
either the search bar of the Function palette (search for "numeric constant" or "true constant")

or the Quick search (CTRL+spacebar)

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 15 of 31
(2,321 Views)

Ok, Sorry.

I just did it but get the same error: incompatible data

0 Kudos
Message 16 of 31
(2,317 Views)

This seems to work.

Thanks for your help

 

How do we trigger that Kudo thing? 😉

 

Best regards.

0 Kudos
Message 17 of 31
(2,310 Views)

This seems to work.

Thanks for your help

 

Best regards.

0 Kudos
Message 18 of 31
(2,309 Views)

Hello pgo1,

 

Below the name of another user you can click on the symbol I indicated in attachment.

 

You cannot give Kudos to yourself... 😉

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
Message 19 of 31
(2,303 Views)

You really should also mark this post as the soltion since it is the one that got you there:http://forums.ni.com/t5/LabVIEW/variant-type-conversion-to-boolean/m-p/2376482#M738961

The person who started a thread can mark any post in the thread as the solution.  Just go to the message.  There's an options drop down on the right and select "Mark as Solution" (or something along those lines).  Glad to see you got it working.


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 20 of 31
(2,292 Views)