LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Property node options changed, and I can't get them back (enum, enable/disable)

Here is my brand new enum:

Capture.JPG

 

When I try to make a property node that enables it, my menu no longer contains that as an option.  It did a few minutes ago.  I copied and pasted, confirmed "link", changed to "write" and went to properties to set back to "disabled" and "value", and the "disabled" wasn't there.  I don't know what I did wrong.

 

 

 

I suspect this is related to "strict" but I don't know.

0 Kudos
Message 1 of 12
(4,024 Views)

Hi Engr,

 

please attach a VI and your enum typedef to explain the problem!

I can create "disabled" and "value" properties even for a strict-typed enum…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 12
(4,014 Views)

GerdW,

 

If you could make this say "b" and be "disabled and grayed out" that would be great!

 

When I look in the properties, I have no "disabled".  I don't know what I did that made this happen.

Untitled.png

 

If you could tell me what I was doing wrong, and how to not do that, or how to fix it, then I would also be grateful.  

 

Thank you.

0 Kudos
Message 3 of 12
(4,001 Views)

Have you tried exiting and restarting LabVIEW?

 

When I open your VI, I can set the property to Disabled.  See attached.

 

Perhaps something in LabVIEW memory is corrupted and a restart will fix it.

If something in the LabVIEW installation itself is corrupted, you'd have bigger problems, but I don't know how you would have caused that.

0 Kudos
Message 4 of 12
(3,993 Views)

@RavensFan

Your code doesn't work for me.  when I open it there is no "disabled".  

 

I restarted twice.  I can reboot my computer if you think that will help.

 

I'm wondering if there is something in the project or in the settings for my interface that are hurting me.

 

Here is my "about"

Untitled.png

0 Kudos
Message 5 of 12
(3,988 Views)

When I open your VI, I can get the disabled property OK.

But I noticed on your property list, the item "All Project Items".  That is not a property of an enum.  The property list that is displayed in your image is not for an enum.  Ordinarily, I would suspect that your VI is corrupted, but it works OK for me.  Possibly your LabVIEW installation is corrupt.

 

"If you weren't supposed to push it, it wouldn't be a button."
Message 6 of 12
(3,986 Views)

Perhaps some update was installed, but a reboot has not happened.  I will restart the computer. 

0 Kudos
Message 7 of 12
(3,984 Views)

There are more oddities than that looking at your image.

 

You have Has Caption highlighted.  That is a VI scripting property, and it is a boolean type.  But your context help says it is an enum.  And the enum items are (Unbound, Bound to PSP URL, Bound to Variable  ...... which are the items for the property Data Binding >  Binding Type.

 

So something is definitely corrupt.  If a reboot doesn't fix it.  I would consider doing a repair of your LabVIEW installation.

0 Kudos
Message 8 of 12
(3,975 Views)

Is you program for a windows target or for something else (e.g. FPGA)? Just curious.

0 Kudos
Message 9 of 12
(3,970 Views)

I have seen this issue happen before, where the property/method/event lists get messed up. The only fix I know of is a repair/reinstall of LabVIEW.

Message 10 of 12
(3,968 Views)