Jump to content

Help with refnum

Recommended Posts

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?



Link to comment

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.

Link to comment

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 by ShaunR
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.