01-20-2021 08:30 PM
01-20-2021 09:51 PM - edited 01-20-2021 09:52 PM
Especially how to use the last one
01-25-2021 02:08 AM
The templates with "Class", will only modify the static class attibutes and do not have any reference in or out.
The "Read Attribute Front Panel In Memory" will add a frontpanel control reference to the reference in and place as a "dummy" in the error case. This little trick prevents the frontpanel to always be in memory and also never be removed during a build. Can be useful sometimes.
The None Modifying is just a blank template without any attribute modification.
01-27-2021 08:43 AM
I create write attribute template and Read Attribute Front Panel In Memory Template, but I don't find any differences between them, could you show me how to use Read Attribute Front Panel In Memory Template,thank you!
01-27-2021 09:40 AM
The Control is in the error-case.
You don't need to care about this template or use it. I have made thousands of methods and never used that template. However, at a few occasions, it may help. Mattias may have an example, but really you should just start to code and don't bother about that template for now.
01-27-2021 09:44 AM
Hi,
One example is when you are using a background demon process and if frontpanel is not in memory, it will not run. This is never a problem in development environment, but may be in a built exe, since LabVIEW build removes unused frontpanels unless you don't have a reference to any object on the frontpanel.
Mattias