‎04-19-2018 03:59 AM
I have a real-time application running on cRIO 9030. I have enabled the Embedded UI option to see the front panel. In Embedded UI, all the font sizes of the controls what I have used is very large. So I need a method to programmatically change the font size of controls. In a normal executable, we can change font sizes by writing to the ini file which comes along with the build. In real-time applications, I have no such ini files. Is there a way to change font sizes of controls for a real-time application?
‎04-19-2018 06:25 AM
Hi,
You can have a text file, with the font and size details for all the controls saved in the CRIO folder. Call the text file in the RT code and apply to the property node of the Control where you want to change the font.
You can FTP the file whenever you want to change the font from a HOST PC.
Also see the below link,
Regards
Abraham Kurien
‎04-19-2018 07:17 AM
Hello Kovelil,
Thanks for the response. Using property nodes in one good idea. But I was looking for any other means(like we have in the normal executables by just changing the font size in ini file which comes from the build) through which we can change the font size. Anyways I think I have to go with the property node functionality if I don't get a simpler solution than that.
‎04-19-2018 07:42 AM
Hi Prasanna,
Also see if you can copy and paste the LabVIEW ini (found in the LabVIEW.exe folder) file and keep only the Application font details in the ini file and check the result. Paste the ini file in the system rt folder.
Regards
Abraham Kurien