03-26-2018 09:05 AM
Here is my brand new enum:
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.
03-26-2018 09:30 AM - edited 03-26-2018 09:31 AM
03-26-2018 09:49 AM - edited 03-26-2018 09:50 AM
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.
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.
03-26-2018 09:56 AM
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.
03-26-2018 10:06 AM - edited 03-26-2018 10:08 AM
@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"
03-26-2018 10:07 AM
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.
03-26-2018 10:09 AM
Perhaps some update was installed, but a reboot has not happened. I will restart the computer.
03-26-2018 10:34 AM
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.
03-26-2018 10:46 AM
Is you program for a windows target or for something else (e.g. FPGA)? Just curious.
03-26-2018 10:51 AM
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.