03-08-2016 10:18 AM
I changed the XControl Data typedef to a cluster. This was working. Then it became clear that I had to change it another time. I replaced the structure by an INT. Now LabView tells me that it cannot update from the new type definition without incorrectly preserving default values.
Usually you go to the control, right click it and select "Review and Update..." Unfortunately Data in and Data out on the Facade VI are grayed out and are not accessible. Even if I activate "Show Control/Indicator" on the block diagram I cannot right click the control.
What to do now???
Thanks,
Ingo
Solved! Go to Solution.
03-08-2016 10:24 AM
I think I've seen this glitch before. The window for the Review and Update might be hidden somewhere on a different monitor or sized down to zero. Try tabbing through windows until you find it. Or share you code and I can take a crack at it.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
03-08-2016 10:34 AM
Hi James,
The problem is not the window. It is absolutely impossible to right click the control. I can click whereever I want but no right click menu appears! So no chance to call the review and update window...
I think it has to do with the fact that you should not be able to delete the Data in/out controls in the facade VI. But since LabView is no longer auto-updating changed typedefs it seems to cause a problem here.
03-08-2016 10:44 AM
Can you share your code?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
03-09-2016 02:17 AM
Thanks James,
I ended up creating the XControl anew. It was in an early state, so not too much work. With the new one I was able to replace the data type inside the "Data" control back and forth without LabView asking me to review and update. So probably something was mixed up inside LabView in my first Facade VI.
03-10-2016 01:00 PM
I've had trouble with that from time to time so I created a tool to fix it.
Copy the attached VI to C:\ ... \National Instruments\LabVIEW 2015\project\
If LV is running, exit & restart.
With the troublesome VI frontmost, select from the menu Tools -> ReApply TypeDef Changes to All Ctls on FP
Note: This VI is set to Run when opened.
03-11-2016 01:13 AM
Thanks Paul, this is great!
You did not only help fixing my problem but also motivated me to have a closer look at LabView's scripting functions. I was not aware that it is that simple to get access to all of these interesting functions!