wannabecontroller Posted May 12, 2019 Report Share Posted May 12, 2019 So i have taken some items from an example and of course they work just fine When i try and recreate them myself they dont.... naturally I have created a bool type refnum However when i create a property node and select value on my version of it, it gives me "value" as a variant data type In the example the property node value has type bool so it works fine I dont understand why i cant change it bool type from variant Any help? Thanks Quote Link to comment
Neil Pate Posted May 13, 2019 Report Share Posted May 13, 2019 The difference in the Value output type can be caused by the mechanical switching mechanism that is configured on the boolean. I don't have LabVIEW on the PC I am on now and I can never remember their names properly, but only the top row of the mechanical switching mechanism will give you green boolean value. Quote Link to comment
ShaunR Posted May 13, 2019 Report Share Posted May 13, 2019 (edited) The FP control is set to "Include Data Type" if the property node is "strict" and will be a boolean output from the property node. You will see a red cross in the bottom left corner of the control in this state. If "Include Data Type" is unchecked, there will be no cross and the output of the node will be a variant as no type information is defined for the control.. Edited May 13, 2019 by ShaunR 1 Quote Link to comment
wannabecontroller Posted May 13, 2019 Author Report Share Posted May 13, 2019 Thank you both, the first post is valuable the second post is what did it Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.